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#mapFeatures
Documentation
We invite you to try the mongodb library immediately, and report any issues to the NODE project.