v6.6.1
版本发布时间: 2024-05-07 05:29:57
mongodb/node-mongodb-native最新发布版本:v6.9.0(2024-09-13 01:12:41)
6.6.1 (2024-05-06)
The MongoDB Node.js team is pleased to announce version 6.6.1 of the mongodb
package!
Release Notes
ref()
-ed timer keeps event loop running until client.connect()
resolves
When the MongoClient
is first starting up (client.connect()
) monitoring connections begin the process of discovering servers to make them selectable. The ref()
-ed serverSelectionTimeoutMS
timer keeps Node.js' event loop running as the monitoring connections are created. In the last release we inadvertently unref()
-ed this initial timer which would allow Node.js to close before the monitors could create connections.
Bug Fixes
Documentation
We invite you to try the mongodb
library immediately, and report any issues to the NODE project.