Skip to content

Releases: typegoose/typegoose

v7.0.0-0

14 Apr 13:07
v7.0.0-0
895904c
Compare
Choose a tag to compare
v7.0.0-0 Pre-release
Pre-release
Set Version to 7.0.0-0

Release 6.4.0

23 Feb 17:44
v6.4.0
2c1181d
Compare
Choose a tag to compare
  • Update Dependencies
    • mongoose to 5.9.2
    • @types/mongoose to 5.7.1
    • semver to 7.1.3
    • loglevel to 1.6.7
    • tslib to 1.11.0
  • Completly remove __uniqueID, because it was not used internally anymore

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

Release 6.3.2

07 Feb 21:13
v6.3.2
c5a6904
Compare
Choose a tag to compare
  • Indexes: clone array instead of re-using it (fixes #194)

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

Release 6.3.1

06 Feb 18:13
v6.3.1
10a705f
Compare
Choose a tag to compare
  • Hopefully fix the Strictmode error of the new Ref-Type

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

Release 6.3.0

06 Feb 02:55
v6.3.0
bfa8847
Compare
Choose a tag to compare
  • Update Dependencies
    • mongoose to 5.8.11
    • @types/mongoose to 5.7.0
    • semver to 7.1.2
  • Add @types/mongoose to peerDependencies
  • Add generic type to @plugin to set the type for the options
  • Use a modified Ref-Type to automaticly get the type (if the Ref'd type has string as _id, it automaticly sets the RefType to string)

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

Release 6.2.2

24 Jan 22:50
v6.2.2
8ba7498
Compare
Choose a tag to compare
  • Fix use of "rawOptions.type" after deletion (fixes #178)

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

Release 6.2.1

04 Jan 15:11
v6.2.1
70a6516
Compare
Choose a tag to compare
  • Fix functions isString and isNumber to check against their mongoose.Schema.Types.*.name equivalent (fixes #149 )

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

Release 6.2.0

25 Dec 09:59
v6.2.0
8bcbb3b
Compare
Choose a tag to compare

This Update may break some code (mongoose upgrade, inline _id change, enum changes)

  • Update Dependencies
    • Upgrade mongoose from 5.7.7 to 5.8.3
    • Upgrade @types/mongoose from 5.5.30 to 5.5.35
    • [IC] Upgrade Typescript from 3.7.2 to 3.7.4
    • [IC] Upgrade NYC from 14.1.1 to 15.0.0
  • The option useNewEnum (and TG_USE_NEW_ENUM) got removed, because it would interfer with the number-enums
  • Added the ability to use number-enums on number-type props
  • Changed behaviour of string-enums to only work on string-type props
  • Fix PropOptions type for autopopulate
  • [IC] When the type is a Schema, it is now handled by mapOptions & mapArrayOptions
  • [IC] fix tests not exiting after completion
  • [IC] add tslint-plugin tslint-consistent-codestyle

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

Release 6.1.8

16 Dec 22:56
v6.1.8
cd45b07
Compare
Choose a tag to compare
  • backport for:
    • fixes #160
    • [IC] mapArrayOptions now uses mapOptions
    • [IC] adding function mapOptions

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

Release 6.1.7

06 Dec 18:35
v6.1.7
39ebc2a
Compare
Choose a tag to compare
  • add support for environment variables here the new documentation
  • [IC] warnMixed now uses the right target
  • [IC] add function utils.getRightTarget

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