MongoDB Node.js Driver v6.21.0

v6.21.0
Deprecated 4
  • MongoCredentials.authMechanismProperties.AWS_SESSION_TOKEN will be removed in v7.0.0
  • CommandOptions.noResponse will be removed in v7.0.0
  • ConnectionOptions.cancellationToken will be removed in v7.0.0
  • CursorStreamOptions will be removed in v7.0.0

From MongoDB Node.js Driver

6.21.0 (2025-11-05)

The MongoDB Node.js team is pleased to announce version 6.21.0 of the mongodb package!

Release Notes
Deprecated items to be removed in 7.0.0

The following items have been deprecated and will be removed in 7.0.0:

MongoCredentials.authMechanismProperties.AWS_SESSION_TOKEN // URI & client options for AWS variables will no longer be respected
CommandOptions.noResponse // Unused
ConnectionOptions.cancellationToken // Unused
CursorStreamOptions // Only option, transform, removed in favor of Stream#map
Features
  • NODE-7230: add deprecations of items to be removed in v7 (#4774) (5104c0f)
Documentation

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

View original

Upgraded? How did it go?

Discussion