Skip to content

Releases: typegoose/typegoose

Release 6.0.4

16 Oct 21:07
v6.0.4
1f094d3
Compare
Choose a tag to compare

This Release didnt change anything on the code, it was mostly tests & github-page

  • Update Dependencies
    • Upgrade mongoose from 5.7.1 to 5.7.4
  • Added soft warning when using "ref" in an "arrayProp"
  • Added soft warning when using "refPath" in an "arrayProp"
  • Add missing ")" to a deprecation message
  • [IC] Fixed some Test's types
  • [IC] internal variable renames to better reflect what they are for

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

Release 6.0.3

16 Oct 21:00
v6.0.3
580c2b0
Compare
Choose a tag to compare
  • when using @plugin, options are now checked if they are an object, when not: make them an object
  • Added many debug logs for _buildSchema
  • Added Prop Option autopopulate, only has an effect if mongoose-autopopulate is used
  • Added default class FindOrCreate which has the types for mongoose-findorcreate

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

Release 6.0.2

16 Oct 21:00
v6.0.2
796a1e0
Compare
Choose a tag to compare
  • actually allow overwriting "_id" of "Base"
  • [IC] add npm version script

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

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