- Update Dependencies
mongoose
to 5.9.10@types/mongoose
to 5.7.12
- Minimal NodeJS version is now 10.15
- Minimal Typescript version is now 3.8.3
- Typegoose class got completly removed
- All Deprecated
arrayProp
options got removeitemsRef
replaced with plainref
itemsRefPath
replaced with plainrefPath
itemsRefType
replaced with plainrefType
- All enums got moved from
src/types
tosrc/internal/constants
- All things from
src/types
now get exported astype
- All Errors now get exported as
errors
- All non-essentail types get exported as
types
utils
'sgetName
function now gets exported- Add PropOption
addNullToEnum
- Remove Deprecated value
overwrite
forVirtualOptions
- Remove instance properties from Model type (remove
& T
fromModelType
) - Add class decorator
queryMethod
- [IC] rename file
optionsProp
tomodelOptions
- [IC] Replace mocha & chai with jest
- [IC] Completly remove
TG_USE_NEW_ENUM
from documentation & code - [IC] Replace almost all if-throw with the internal
assertion
function - [IC] Move VirtualPopulate cache to Reflection
- [IC] Move Plugins cache to Reflection
- [IC] Move Hooks cache to Reflection
- [IC] All remaining test's models now get exported with an name (not being exported as
model
anymore)