Skip to content

Commit 0984c82

Browse files
committed
docs: add version requirements to v7 migration docs
1 parent bb59d94 commit 0984c82

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/migrating_to_7.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ you should be aware of when migrating from Mongoose 6.x to Mongoose 7.x.
1111

1212
If you're still on Mongoose 5.x, please read the [Mongoose 5.x to 6.x migration guide](migrating_to_6.html) and upgrade to Mongoose 6.x first.
1313

14+
* [Version Requirements](#version-requirements)
1415
* [`strictQuery`](#strictquery)
1516
* [Removed `remove()`](#removed-remove)
1617
* [Dropped callback support](#dropped-callback-support)
@@ -28,6 +29,12 @@ If you're still on Mongoose 5.x, please read the [Mongoose 5.x to 6.x migration
2829
* [Removed `LeanDocument` and support for `extends Document`](#removed-leandocument-and-support-for-extends-document)
2930
* [New parameters for `HydratedDocument`](#new-parameters-for-hydrateddocument)
3031

32+
## Version Requirements {#version-requirements}
33+
34+
Mongoose now requires Node.js >= 14.0.0 and MongoDB >= 5.0.0.
35+
36+
See [the MongoDB Node drivers migration guide](https://github.com/mongodb/node-mongodb-native/blob/main/etc/notes/CHANGES_5.0.0.md) for detailed info.
37+
3138
## `strictQuery` {#strictquery}
3239

3340
`strictQuery` is now false by default.

0 commit comments

Comments
 (0)