Skip to content

Commit 3884f41

Browse files
SethFalcovkarpov15
authored andcommitted
cherry pick #15360 to 7.x
1 parent 95bae44 commit 3884f41

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+
<h2 id="version-requirements"><a href="#version-requirements">Version Requirements</a></h2>
33+
34+
Mongoose now requires Node.js >= 14.0.0 and MongoDB Node Driver >= 5.0.0.
35+
36+
See [the MongoDB Node Driver migration guide](https://github.com/mongodb/node-mongodb-native/blob/main/etc/notes/CHANGES_5.0.0.md) for detailed info.
37+
3138
<h2 id="strictquery"><a href="#strictquery"><code>strictQuery</code></a></h2>
3239

3340
`strictQuery` is now false by default.

0 commit comments

Comments
 (0)