These are the changes made for 9.0.0 that are breaking or just important to know
Important, Read this first
This Guide is written for migration from version
9.0.0, for versions
>9.0.0 <10.0.0, please consult the CHANGELOG
6.0.7or higher is now required
4.4is now suggested to be used
Mongoose 6.0 is now supported
6.0.7 (and possibly higher) is now supported, for mongoose specific migration, look at the 6.0 migration guide
Class-transformer transform of "ObjectId" became broken
Build order for Class-to-Schema changed
The build order for Class-to-Schema (
buildSchema) changed from "top-down" to "bottom-up"
Error "E007" got removed
E007 got removed, because
set options can be defined independently of eachother.