7.7.0 (2026-09-28)
The MongoDB Node.js team is pleased to announce version 7.7.0 of the mongodb package!
Release Notes
OIDC authentication recovers from a failed token fetch
A single failed OIDC token fetch, such as a cloud metadata endpoint timing out, used to leave the driver's token-fetch mutex holding that failure. Every later operation on the affected MongoClient then failed with the original error without attempting a new token fetch, and only restarting the process restored authentication. A failed token fetch now affects only the operation that triggered it.
Driver dependencies updates
Dependency version changes:
bson: 7.2.0 -> 7.3.2mongodb-connection-string-url: 7.0.1 -> 7.0.2mongodb-js/saslprep: 1.4.11 -> 1.5.0
Features
Bug Fixes
Documentation
We invite you to try the mongodb library immediately, and report any issues to the NODE project.