MongoDB NodeJS Driver 7.7.0 Released

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.2
  • mongodb-connection-string-url: 7.0.1 → 7.0.2
  • mongodb-js/saslprep: 1.4.11 → 1.5.0

Features

  • NODE-7670: update dependencies, including next BSON minor (#5034) (995edbf)

Bug Fixes

  • NODE-7858: re-arm OIDC callback lock after a rejection (#5056) (7e953ed)

Documentation

We invite you to try the mongodb library immediately, and report any issues to the NODE project.