@typegoose/typegoose
Advanced tools
Changelog
7.0.0
To Migrate, please look at the migration guide
mongoose
to 5.9.10@types/mongoose
to 5.7.12arrayProp
options got remove
itemsRef
replaced with plain ref
itemsRefPath
replaced with plain refPath
itemsRefType
replaced with plain refType
src/types
to src/internal/constants
src/types
now get exported as type
errors
types
utils
's getName
function now gets exportedaddNullToEnum
overwrite
for VirtualOptions
& T
from ModelType
)queryMethod
optionsProp
to modelOptions
TG_USE_NEW_ENUM
from documentation & codeassertion
functionmodel
anymore)Changelog
6.5.0
semver
to 7.3.2tslib
to 1.11.1loglevel
to 1.6.8useNewEnum
type from types
Mixed
(fixes typegoose#152)language_override
to IndexOptions
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
)