The MongoDB Node.js team is pleased to announce version 3.6.6 of the driver
Release Highlights
This patch addresses a number of bugs listed below.
Most notably, for client side encryption users upgrading to this version of the driver along with the new version of mongodb-client-encryption@1.2.3 will alleviate the potential deadlock case if your connection pool was fully utilized. There will now be an internal MongoClient that will be used for metadata look ups (e.g, listCollections
) when the pool size is under certain constraints. The events generated from this client are forwarded to the client instance you initialize so it is possible to monitor all events.
Bug
- [NODE-2995] - Sharing a MongoClient for metadata lookup can lead to deadlock in drivers using automatic encryption
- [NODE-3050] - Infinite loop on Windows due to a bug in require_optional package
- [NODE-3120] - TypeError: Cannot read property 'roundTripTime' of undefined
- [NODE-3122] - Pipelining an upload stream of GridFSBucket never finishes on Node v14
- [NODE-3129] - Collection () .. .setReadPreference() not routing query to secondaries
- [NODE-3133] - autoEncryption produces serverHeartbeatFailed - with MongoError typemismatch
Improvement
- [NODE-3070] - Define error handling behavior of writeErrors and writeConcernError on Mongos
Documentation
- Reference: http://mongodb.github.io/node-mongodb-native/3.6
- API: http://mongodb.github.io/node-mongodb-native/3.6/api
- Changelog: https://github.com/mongodb/node-mongodb-native/blob/3.6/HISTORY.md
We invite you to try the driver immediately, and report any issues to the NODE project.
Thanks very much to all the community members who contributed to this release!