Releases: typegoose/typegoose
Releases · typegoose/typegoose
v7.0.0-0
Release 6.4.0
- Update Dependencies
mongoose
to 5.9.2@types/mongoose
to 5.7.1semver
to 7.1.3loglevel
to 1.6.7tslib
to 1.11.0
- Completly remove
__uniqueID
, because it was not used internally anymore
Release 6.3.2
- Indexes: clone array instead of re-using it (fixes #194)
Release 6.3.1
- Hopefully fix the Strictmode error of the new Ref-Type
Release 6.3.0
- Update Dependencies
mongoose
to 5.8.11@types/mongoose
to 5.7.0semver
to 7.1.2
- Add
@types/mongoose
topeerDependencies
- 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 hasstring
as_id
, it automaticly sets theRefType
tostring
)
Release 6.2.2
- Fix use of "rawOptions.type" after deletion (fixes #178)
Release 6.2.1
- Fix functions
isString
andisNumber
to check against theirmongoose.Schema.Types.*.name
equivalent (fixes #149 )
Release 6.2.0
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
(andTG_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 forautopopulate
- [IC] When the type is a
Schema
, it is now handled bymapOptions
&mapArrayOptions
- [IC] fix tests not exiting after completion
- [IC] add tslint-plugin
tslint-consistent-codestyle
Release 6.1.8
- backport for:
- fixes #160
- [IC]
mapArrayOptions
now usesmapOptions
- [IC] adding function
mapOptions
Release 6.1.7
- add support for environment variables here the new documentation
- [IC]
warnMixed
now uses the righttarget
- [IC] add function
utils.getRightTarget