@typegoose/typegoose
Advanced tools
Changelog
6.4.0
mongoose
to 5.9.2@types/mongoose
to 5.7.1semver
to 7.1.3loglevel
to 1.6.7tslib
to 1.11.0__uniqueID
, because it was not used internally anymoreChangelog
6.3.0
mongoose
to 5.8.11@types/mongoose
to 5.7.0semver
to 7.1.2@types/mongoose
to peerDependencies
@plugin
to set the type for the optionsRef
-Type to automatically get the type (if the Ref'd type has string
as _id
, it automatically sets the RefType
to string
)Changelog
6.2.1
isString
and isNumber
to check against their mongoose.Schema.Types.*.name
equivalent (fixes typegoose#149)Changelog
6.2.0
This Update may break some code (mongoose upgrade, inline _id
change, enum
changes)
useNewEnum
(and TG_USE_NEW_ENUM
) got removed, because it would interfere with the number-enumsPropOptions
type for autopopulate
Schema
, it is now handled by mapOptions
& mapArrayOptions
tslint-consistent-codestyle
Changelog
6.1.8
mapArrayOptions
now uses mapOptions
mapOptions
Changelog
6.1.7
warnMixed
now uses the right target
utils.getRightTarget