# MongoDB Node.js Driver v6.21.0 - Product: MongoDB Node.js Driver (https://whatsnew.fyi/product/mongodb-node-driver) - Vendor: MongoDB - Date: 2025-11-05 - Version: v6.21.0 - Original notes: https://github.com/mongodb/node-mongodb-native/releases/tag/v6.21.0 - Permalink: https://whatsnew.fyi/product/mongodb-node-driver/releases/v6.21.0 What's New is an index, not a publisher: every entry below links to the vendor's own release notes, which are the authoritative source. Entries are labelled where they are hand-curated sample data, pre-releases, or drawn from a secondary source such as a developer blog. Reuse: the summaries, labels and curation here are © What's New. Quote freely with attribution and a link back; wholesale republication of the corpus is not permitted — terms: https://whatsnew.fyi/terms. The vendors' own release notes remain their publishers'. --- - **deprecated** — MongoCredentials.authMechanismProperties.AWS_SESSION_TOKEN will be removed in v7.0.0 - **deprecated** — CommandOptions.noResponse will be removed in v7.0.0 - **deprecated** — ConnectionOptions.cancellationToken will be removed in v7.0.0 - **deprecated** — CursorStreamOptions will be removed in v7.0.0 ##### [6.21.0](https://github.com/mongodb/node-mongodb-native/compare/v6.20.0...v6.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: ```ts 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](https://github.com/mongodb/node-mongodb-native/issues/4774)) ([5104c0f](https://github.com/mongodb/node-mongodb-native/commit/5104c0fc9a931d778e9741cce8bdbf7f998499fa)) ##### Documentation * [Reference](https://docs.mongodb.com/drivers/node/current/) * [API](https://mongodb.github.io/node-mongodb-native/6.21/) * [Changelog](https://github.com/mongodb/node-mongodb-native/blob/v6.21.0/HISTORY.md) We invite you to try the `mongodb` library immediately, and report any issues to the [NODE project](https://jira.mongodb.org/projects/NODE).