github typegoose/typegoose v7.1.1
Release 7.1.1

latest releases: v12.4.0, v12.4.0-beta.2, v12.3.1...
3 years ago
  • Remove empty interface PropOptions
  • Remove type PropOptionsWithValidate
  • Rename type PropOptionsWithNumberValidate to PropOptionsForNumber
  • Rename type PropOptionsWithStringValidate to PropOptionsForString
  • Add options options & match for VirtualOptions
  • Add option enum for ValidateNumberOptions
  • arrayProp & mapProp are now just an alias for prop
  • Set TSDoc option @deprecated for arrayProp and mapProp
  • Detect mongoose.Types.Array & mongoose.Schema.Types.Array as Array in @prop
  • Detect mongoose.Types.Map & mongoose.Schema.Types.Map as Map in @prop
  • Add Overloads to @prop
  • PascalCased decorators now have the TSDoc of the original function
  • Default class Base's __v & __t are now optional (with ?)
  • Fix mentioned bug from #181, to allow mongoose.Schema.Types.String & mongoose.Schema.Types.Number as valid enum types
  • Options of & items are now mapped to type and get called when buildSchema is called
  • [IC] DeDuplicate code in prop.ts

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

Don't miss a new typegoose release

NewReleases is sending notifications on new releases.