github typegoose/typegoose v7.0.0
Release 7.0.0

latest releases: v12.4.0, v12.4.0-beta.2, v12.3.1...
4 years ago
  • Update Dependencies
    • mongoose to 5.9.10
    • @types/mongoose to 5.7.12
  • Minimal NodeJS version is now 10.15
  • Minimal Typescript version is now 3.8.3
  • Typegoose class got completly removed
  • All Deprecated arrayProp options got remove
    • itemsRef replaced with plain ref
    • itemsRefPath replaced with plain refPath
    • itemsRefType replaced with plain refType
  • All enums got moved from src/types to src/internal/constants
  • All things from src/types now get exported as type
  • All Errors now get exported as errors
  • All non-essentail types get exported as types
  • utils's getName function now gets exported
  • Add PropOption addNullToEnum
  • Remove Deprecated value overwrite for VirtualOptions
  • Remove instance properties from Model type (remove & T from ModelType)
  • Add class decorator queryMethod
  • [IC] rename file optionsProp to modelOptions
  • [IC] Replace mocha & chai with jest
  • [IC] Completly remove TG_USE_NEW_ENUM from documentation & code
  • [IC] Replace almost all if-throw with the internal assertion function
  • [IC] Move VirtualPopulate cache to Reflection
  • [IC] Move Plugins cache to Reflection
  • [IC] Move Hooks cache to Reflection
  • [IC] All remaining test's models now get exported with an name (not being exported as model anymore)

https://typegoose.github.io/typegoose/changelog#700

Don't miss a new typegoose release

NewReleases is sending notifications on new releases.