7.0.0-rc0 / 2023-02-23
- BREAKING CHANGE: remove support for callbacks #11431
- BREAKING CHANGE: upgrade to MongoDB node driver 5.x, bson 5.x #12955
- BREAKING CHANGE: make
strictQuery: false
by default #11861 #11807 #11514 - BREAKING CHANGE: remove support for setting schema path definitions to primitives, except
_id: false
#12832 #7558 lpizzinidev - BREAKING CHANGE: discriminator schemas now inherit base schema options by default #12928 #12135
- BREAKING CHANGE: orFail() now throws on updateOne() and updateMany() if matchedCount === 0, not modifiedCount === 0 #11620
- BREAKING CHANGE: remove support for custom promise libraries #12878 #12872 lpizzinidev
- BREAKING CHANGE: select('name -path') behaves as select('name') if path has schema-level select: true #11694
- BREAKING CHANGE(types): remove support for document interfaces that extends Document #11615
- BREAKING CHANGE: pluralize 'human' as 'humans', not 'humen' #13037
- BREAKING CHANGE: renamed schema option supressReservedKeysWarning -> suppressReservedKeysWarning #11495
- BREAKING CHANGE: remove unused DisconnectedError #13028 lpizzinidev
- BREAKING CHANGE: remove unsupported query options maxScan and snapshot #13023 #13022 hasezoey