Skip to content

Releases: typegoose/typegoose

Release 6.0.1

02 Oct 17:48
fa779ca
Compare
Choose a tag to compare
  • Add TSDoc for refType on PropOptions
  • refPath now uses the right type (new uses refType instead of itemsType)
  • Fix decorator options (rawOptions) mutating thanks to #60
  • Pre hook's function's next is now not marked as "optional" anymore, which caused next() to be EmptyVoidFn | undefined

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

Release 6.0.0

30 Sep 11:47
c004da2
Compare
Choose a tag to compare

Release 5.9.2

12 Sep 13:58
d79e0a8
Compare
Choose a tag to compare
  • Change README examples & badges to the new repo

  • use new travis.yml (from version 6.0.0)

  • use new style of package.json (from version 6.0.0)

  • Tags got deleted and added, please remove all local tags and re-download them

This Release did not change anything in the code, it is just there to update the NPM front

Release 5.9.1

06 Sep 10:45
cf56e93
Compare
Choose a tag to compare
  • fix accidentally added typeguards
  • add a note that typegoose uses mongoose's strict by default
  • add note that typegoose dosnt work with classes with the same name (at least in 5.x, working on it in 6.x)
  • implemented a hack for ObjectId / ObjectID (mongoose some version fixed this)

Release 5.9.0

02 Aug 17:03
c538ed4
Compare
Choose a tag to compare
  • This should not be a breaking release
  • Hooks now support Regular Expression for names, like mongoose
  • Tests are splitted into their own files
  • Fixing itemsRefPath & adding tests
  • itemsRef now supports to be used with a string as model
  • @prop({ alias }) is now supported
  • Index weights are now supported
  • isDocument & isDocumentArray typeguards are now implemented
  • Updated Dependencies
    Note worthy are:
    • mongoose 5.6 is now required instead of 5.5
    • this project should be used with typescript 3.5+
  • @mapProp() is now implemented
  • Fix for @prop({ select })
  • A public version of buildSchema is now available
  • Added more Documentation to README
  • Added TSDOC to many functions and properties
  • build target is now ES6 instead of ES5