🚢 4.0.0 / 2024-10-29
No changes since 4.0.0-rc.3, just marking the API as stable 🗿
Version 3 -> 4 migration guide
💥 Breaking Changes
-
Convert package to ESM
Migration Guide:
This relases changes the package from a Common JS module to an EcmaScript module, and drops support for older versions of Node.
- The minimum version of Node.js supported is now:
12.20.0,14.13.1, and16.0.0 - The package must now be imported using the native
importsyntax instead of withrequire
- The minimum version of Node.js supported is now:
-
Upgrade to MongoDB Node.js driver 4.x
Migration Guide:
-
Legacy options have been removed:
awaitdata(useawaitDatainstead)fields(useprojectioninstead)maxScanoplogReplaypartial(useallowPartialResultsinstead)returnOriginal(usereturnDocumentinstead)showDiskLocsnapshot
-
The automatic MD5 hashing has been removed from the
uploadfunction.Read more here: https://github.com/mongodb/node-mongodb-native/blob/4.0/docs/CHANGES_4.0.0.md#hashing-an-upload
-