github typegoose/typegoose v9.4.0-beta.1

latest releases: v12.4.0, v12.4.0-beta.2, v12.3.1...
pre-release2 years ago

9.4.0-beta.1 (2021-12-14)

Features

  • errors: add custom Error "ExpectedTypeError" (506d145)
  • errors: add Error "OptionDoesNotSupportOptionError", merge E020 and E021 into E027 (04491ad)
  • errors: move Error E014 into custom Error "ResolveTypegooseNameError" (3ca1a67)
  • errors::NoValidClassError: add Error Code to Error and change message (32db334)
  • globalOptions: change to use custom Error "ExpectedTypeError" (c6540a5)
  • hooks::addToHooks: change to use "ExpectedTypeError" 1 (b8d630f)
  • hooks::addToHooks: change to use "ExpectedTypeError" 2 (4769658)
  • processProp: use custom Error "InvalidEnumTypeError" (83f131b)
  • schema: use custom Error "NoDiscriminatorFunctionError" (00de1cf)
  • schema: use custom Error "PathNotInSchemaError" (a897e0c)
  • typegoose::deleteModel: change to use custom Error "ExpectedTypeError" (90268b9)
  • typegoose::getModelWithString: change to use custom Error "ExpectedTypeError" (ebcab71)
  • typegoose:deleteModel: change to not error when not existing (fc30052)
  • utils::getName: throw Error when "cl" cannot be resolved to a constructor (7800289)
  • utils::mapOptions: use custom Error "InvalidOptionsConstructor" (8199f2f)

Style

  • add more Error REFACTOR and TODO comments (108301e)

Dependencies

  • @types/lodsash: upgrade to 4.14.178 (ea8ff31)
  • @typescript-eslint/*: upgrade to 5.7.0 (0197ffe)
  • eslint: upgrade to 8.4.1 (aff4c54)
  • jest: upgrade to 27.4.5 (980f89c)
  • ts-jest: upgrade to 27.1.1 (6f537b5)

Don't miss a new typegoose release

NewReleases is sending notifications on new releases.