github typegoose/typegoose v7.3.0
Release 7.3.0

latest releases: v12.4.0, v12.4.0-beta.2, v12.3.1...
3 years ago
  • Update Dependencies
    • mongoose to 5.9.22
    • lodash to 4.17.19
    • @types/mongoose to 5.7.30
    • @types/lodash to 4.14.157
    • @types/semver to 7.3.1
    • typescript to 3.9.6
  • TimeStamps's (Default Class) properties are not marked as Readonly anymore
  • All Typeguards now accept undefined as the first parameter too (if an type was OR with undefined, the function would give an type-error)
  • Add option discriminators for embedded Discriminators [#248]
  • Set correct Decorator Return type (ClassDecorator & PropertyDecorator)
  • Change warning message for warnMixed
  • If an SchemaType dosnt extend SchemaTypeOptions, the options are now defaulted to the outer-layer
  • innerOptions and outerOptions can now be used for Maps too
  • Custom Validators now support message being an function
  • Automatically convert mongoose.Types.Buffer to mongoose.Schema.Types.Buffer
  • Fix Types when extending default class Base with other than ObjectId [#316]
  • [IC] mapOptions now always errors if the given type dosnt extend mongoose.SchemaTypeOptions
  • [IC] Moved function _buildPropMetadata to its own file (processProp) and renamed it to processProp [#286]
  • [IC] Moved pre-processing in function prop into processProp [#286]
  • [IC] Removed error NoMetadataError
  • [IC] Removed check that Type needs to be defined in prop / processProp

https://typegoose.github.io/typegoose/docs/changelog#730

Don't miss a new typegoose release

NewReleases is sending notifications on new releases.