Repository navigation
Releases
v7.9.1
7.9.1 (2026-11-19)
The MongoDB Node.js team is pleased to announce version 7.9.1 of the mongodb package!
Release Notes
Warning
Node Driver versions before 7.9.1 are affected by a security issue related to NUL characters in PLAIN authentication credentials changing the identity that the server authenticates (CVE-2026-129929). Users are encouraged to upgrade to the fixed version or mitigate as soon as possible.
Applications that use PLAIN authentication in affected versions can avoid this issue by rejecting any credentials that contains a NUL character (\0, or %00 in a connection string) before passing it to MongoClient.
Warning
Node Driver versions from 4.0.0 before 7.9.1 are affected by a security issue where credentials and other values from the connection string can appear in cleartext in error messages and in logged representations of the client (CVE-2026-129930). Users are encouraged to upgrade to the fixed version or mitigate as soon as possible.
Applications on affected versions can reduce their exposure by passing the username and password through the auth option instead of the connection string, and by not writing errors thrown by MongoClient, or the client and its options, to logs.
MongoClient now throws when the credentials for PLAIN authentication contains a NUL character
A NUL character separates the fields of the PLAIN message (RFC 4616), so it cannot be part of a username or password.
Now, credentials that contains a NUL character, whether they come from the connection string or from the options object, make the MongoClient constructor throw before any authentication command is sent to the server. Other authentication mechanisms are not affected.
// Now fails:
// throws!
const client = new MongoClient('mongodb://ldap.example.com', {
authMechanism: 'PLAIN',
auth: {
username: 'user\0name',
password: process.env.PASSWORD
}
});
// also throws:
// 'mongodb://user%00name:[password@ldap.example.com](mailto:password@ldap.example.com)/?authMechanism=PLAIN'Errors and logged representations no longer include values from the connection string
A note on previous behavior
Connection string components that the driver rejected from bad connection strings are often written to an application log along with the error.
Example #1: A connection string which is malformed, but has a host which is indistinguishable from credentials (e.g: mongodb://user1:12345). In this case, connection string parsing would pass, but the connection would fail.
Example #2: A credential may be malformed, but fail parsing entirely (e.g: mongodb://user:MyS3cr3t). This would fail parsing, and would throw an error with the user input.
New behavior
A specification change for preventing credential disclosure (which the driver now enforces) has been added to define rules which governs logging and displaying in errors, connection string related values. This change applies a limited-trust policy for how the driver treats logging connection string components and user input. This enforces logging redactions, omissions of values from errors and favours internally-known option keys when logging.
Now, errors raised while parsing the connection string do not contain text taken from it:
-
An invalid value for an option is no longer included in the error. The option is still named, using the driver's own internal spelling.
// Before: MongoInvalidArgumentError: URI opton "MAXPOOLSIZE" cannot appear more than once in the connection string // After: MongoInvalidArgumentError: URI option "maxPoolSize" cannot appear more than once in the connection string new MongoClient('mongodb://localhost/?MAXPOOLSIZE=1&MAXPOOLSIZE=2') // Before: MongoParseError: Expected maxPoolSize to be stringified int value, got: hello // After: MongoParseError: Expected maxPoolSize to be stringified int value new MongoClient('mongodb://localhost/?MAXPOOLSIZE=hello')
-
An unsupported option in the connection string is reported by its position among the options instead of by name.
// Before: MongoParseError: option notanoption is not supported // Now: MongoParseError: connection string contains unsupported options, at position: 2 new MongoClient('mongodb://localhost/?tls=true¬AnOption=1');
-
A host that cannot be parsed is no longer included in the error or in its
cause.// Before: MongoRuntimeError: Unable to parse user:pa55word with URL // Now: MongoRuntimeError: Unable to parse host with URL new MongoClient('mongodb://user:pa55word');
Note
Applications that match on the text of these errors need to be updated.
The following are also replaced with <redacted> when the client, its options, or its credentials are passed to console.log, util.inspect or JSON.stringify. The values themselves are unchanged and can still be read from client.options.
- username
- password
proxyUsernameproxyPasswordauthMechanismProperties.AWS_SESSION_TOKENtlsCertificateKeyFilePassword
Bug Fixes
- NODE-7799: keep credential values out of errors and option output (74ac2bb)
- NODE-7828: reject NUL characters in PLAIN credentials (9796332)
Documentation
We invite you to try the mongodb library immediately, and report any issues to the NODE project.
v7.9.0
7.9.0 (2026-11-12)
The MongoDB Node.js team is pleased to announce version 7.9.0 of the mongodb package!
Release Notes
Warning
Node Driver versions from 6.7.0 before 7.9.0 (this release) are affected by a security issue related to OIDC bearer tokens being inappropriately shared to domains outside those allowlisted by the application (CVE-2026-126835). Users are encouraged to upgrade to the fixed version or mitigate as soon as possible.
Applications that use OIDC_CALLBACK or OIDC_HUMAN_CALLBACK in affected versions can avoid this bearer token leak by refusing connection strings whose authMechanismProperties include ENVIRONMENT.
MongoClient now throws when both ENVIRONMENT and OIDC_CALLBACK / OIDC_HUMAN_CALLBACK are passed to its constructor
When constructing a MongoClient:
ENVIRONMENTcan be specified in either the connection string or the options object provided to theMongoClientconstructor.OIDC_CALLBACKandOIDC_HUMAN_CALLBACKcan be specified only in the options object.
Now, providing an environment and a callback (in any combination of options and connection string) fails.
// Now fails:
// connection string:
// 'mongodb://example.com/?authMechanism=MONGODB-OIDC&authMechanismProperties=ENVIRONMENT:azure,TOKEN_RESOURCE:x'
const uri = process.env.MONGODB_URI;
// throws!
const client = new MongoClient(uri, {
authMechanismProperties: {
...
// get a token for the user (e.g. browser login)
OIDC_HUMAN_CALLBACK: async params => {
return { accessToken: await getUserToken(params) };
},
...
}
});dropIndexes no longer swallows all errors
Previously, dropIndexes swallowed almost all errors. With this change, dropIndexes will only swallow NamespaceNotFound server errors, and all other errors will be thrown as expected.
Node's autoSelectFamily process default is now respected
When autoSelectFamily is not set on the MongoClient, the driver no longer forces true, so --no-network-family-autoselection and net.setDefaultAutoSelectFamily(false) now apply to its sockets. Explicit driver options still take precedence.
Warning
Runtimes other than Node.js may have a different default for autoSelectFamily. Because the driver no longer sets true itself, that runtime default now applies. There is no change on Node.js 20 and later, where the default is true.
Thanks to @aniruddhaadak80 for the initial implementation!
Undeprecate single-parameter overload of createIndex
Recent work accidentally marked db.collection(collection).createIndex({ a: 1, b: 1 }); as deprecated.
The correct deprecation status of overloads is:
// not deprecated
db.collection(collection).createIndex({ a: 1, b: 1 });
// deprecated, removed in an upcoming major version
db.collection(collection).createIndex(
{ a: 1, b: 1 },
{/* mixed command and index options */});
// new, not deprecated
db.collection(collection).createIndex(
{ a: 1, b: 1 },
{/* index-related options */},
{/* command-related options */});Deprecated SelectServerOptions
SelectServerOptions is not intended for public use and will be made internal in the next major release.
Features
- NODE-7743: deprecate SelectServerOptions (#5108) (b22b432)
- NODE-7968: un-deprecate single parameter overload of
createIndex(#5106) (18f21e5)
Bug Fixes
- NODE-6517: drop indexes swallowing errors (#5100) (035bffb)
- NODE-7848: honor Node's process-level autoSelectFamily default (#5107) (7d64ea2)
Documentation
We invite you to try the mongodb library immediately, and report any issues to the NODE project.
v6.22.0
6.22.0 (2026-11-02)
The MongoDB Node.js team is pleased to announce version 6.22.0 of the mongodb package!
Release Notes
Warning
Node Driver versions from v6.11.0 before v6.22.0 (this release) and from v7.0.0 before v7.8.0 are affected by a security issue related to the use of the experimental timeoutMS feature where connection pool desynchronization after operation timeout can expose other users' data (CVE-2026-119179). Users are encouraged to discontinue the use of timeoutMS as soon as possible.
timeoutMS is deprecated and now a no-op
Warning
timeoutMS and timeoutMode are deprecated and have no effect starting in this release. They are still accepted and will not throw, but operations will no longer time out because of them. They are slated for removal in a future release.
Use the per-stage timeouts instead: serverSelectionTimeoutMS, waitQueueTimeoutMS, socketTimeoutMS, and maxTimeMS for server-side execution.
Features
Documentation
We invite you to try the mongodb library immediately, and report any issues to the NODE project.
v7.8.0
7.8.0 (2026-10-30)
The MongoDB Node.js team is pleased to announce version 7.8.0 of the mongodb package!
Release Notes
Warning
Node Driver versions from v6.11.0 and from v7.0.0 before v7.8.0 (this release) are affected by a security issue related to the use of the experimental timeoutMS feature where connection pool desynchronization after operation timeout can expose other users' data (CVE-2026-119179). Users are encouraged to discontinue the use of timeoutMS as soon as possible.
Warning
Node Driver versions from v3.3.3 before v7.8.0 (this release) are affected by a security issue concerning the verification of host names returned by SRV lookups, which could allow an attacker in control of the DNS response to redirect the driver to a host outside the user's domain (CVE-2026-126837). Users using SRV records are encouraged to upgrade to v7.8.0 as soon as possible.
timeoutMS is deprecated and now a no-op
Warning
timeoutMS and timeoutMode are deprecated and have no effect starting in this release. They are still accepted and will not throw, but operations will no longer time out because of them. They are slated for removal in a future release.
Use the per-stage timeouts instead: serverSelectionTimeoutMS, waitQueueTimeoutMS, socketTimeoutMS, and maxTimeMS for server-side execution.
Configurable SRV host validation
This release adds two new methods of validating DNS:
srvAllowedHostsSuffix- A host name suffix that every host returned by the SRV lookup must end with. This option can be configured on the client or the connection string.srvHostValidator- A synchronous function that decides whether a host returned by the SRV lookup may be used. This option can only be configured on the client. This function must accept a string and has to return a boolean; returning anything else, including the Promise returned by anasyncfunction, will result in an error.
Warning
Modifying the default SRV domain name validation can create vulnerabilities.
SRV host names are now compared in a normalized form (case-insensitively, without a trailing dot, and with internationalized names in xn-- form). Connection strings whose SRV host name differs in case from the host names returned by DNS, such as mongodb+srv://TEST1.TEST.BUILD.10GEN.CC, previously failed SRV verification and now connect.
zstd compression no longer requires @mongodb-js/zstd on Node.js 22.15.0+
The driver now uses Node.js' built-in zstd implementation when it is available. On older Node.js versions it continues to use @mongodb-js/zstd, so no changes are needed for existing setups.
Thanks to @axelonet for the original contribution!
Distinguish between command-level options and index-level options when creating indexes
Before:
// Index options and command options were on the same object
await collection.createIndex(
{ email: 1 },
{
// index options
unique: true,
name: 'email_unique',
// command options
commitQuorum: 'majority',
maxTimeMS: 5000
}
);After:
await collection.createIndex(
{ email: 1 },
// Argument 2: options that describe the index itself
{ unique: true, name: 'email_unique' },
// Argument 3: options for the createIndexes command
{ commitQuorum: 'majority', maxTimeMS: 5000 }
);Both overloads will be supported for now. In a future major release, the two parameter overload will be removed.
Enjoy faster adoption of new index options
Before:
// The driver only forwarded options present in allow list.
// `newIndexOption` was silently dropped and never reached the server.
await collection.createIndex({ location: '2dsphere' }, { newIndexOption: true });
// But! `nonexistentIndexOption` was also removed and so the server never threw an error
await collection.createIndex({ location: '2dsphere' }, { nonexistentIndexOption: true });After:
// Index options are passed to the server as written.
// This means you can use a new option supported by the server without waiting
// for the driver to add it to an allow list!
await collection.createIndex(
{ location: '2dsphere' },
{ newIndexOption: true },
undefined
);
// But! it also means the driver will no longer prevent a bad option either
await collection.createIndex(
{ location: '2dsphere' },
{ nonexistentIndexOption: true }, // throws
undefined
);The two-parameter overload will continue to filter for valid index options. In a future major release, the two parameter overload will be removed.
Removed @experimental tags from features which are no-longer experimental
No-longer experimental entities:
DropCollectionOptions.encryptedFieldsCreateCollectionOptions.encryptedFieldsClientEncryptionCreateDataKeyProviderOptions.keyMaterialClientEncryptionRewrapManyDataKeyProviderOptionsClientEncryptionRewrapManyDataKeyResult
Alongside these changes is also a change to the return type of rewrapManyDataKey to ClientEncryptionRewrapManyDataKeyResult from an anonymous type. This improves internal type consistency and public api clarity without changing runtime behavior.
Sorting by $meta with a [field, direction] pair now works
Previously, passing a $meta sort direction in the [field, direction] form, for example cursor.sort(['score', { $meta: 'textScore' }]), threw MongoInvalidArgumentError: Invalid sort direction. The object form ({ score: { $meta: 'textScore' } }) and the nested array form ([['score', { $meta: 'textScore' }]]) already worked, so the same sort was accepted or rejected depending on how it was written. All three forms now behave the same.
Thanks to @spokodev for the fix!
Fix bulk write result insertedIds mismatches on bulkwrites with mixed op types
For unordered bulk writes that mixed inserts with updates or deletes, BulkWriteResult.insertedIds was keyed by a running count of inserts, not by each insert's index in the operations list. It's now keyed by the operation index, which matches ordered bulk writes and the documentation.
Thanks to @spokodev for this fix!
GridFS queries match file IDs exactly
GridFS download, delete, rename and upload abort now query by file ID with $eq. Nothing changes for normal IDs, but you'll see { _id: { $eq: <id> } } in command monitoring and logs.
hello commands are no longer compressed
When compressors was configured, the driver could send hello and isMaster on monitoring connections as compressed messages, which the compression specification forbids. These commands are now never compressed.
Features
- NODE-6893: Distinguish between command-level options and index-level options when creating indexes (#5012) (ca0e451)
- NODE-7097: use Node.js built-in zstd when available (#5073) (b7eb8fd)
- NODE-7657: remove @experimental tags from no-longer-experimental features (#5058) (694a848)
- NODE-7830: add srvAllowedHostsSuffix and srvHostValidator options (#5065) (19e2d3b)
- NODE-7958: make timeoutMS a no-op and deprecate it (#5085) (8345fe1)
Bug Fixes
- NODE-7643: preserve $meta direction in [field, direction] sort pair (#4988) (16136bb)
- NODE-7659: key unordered bulk insertedIds by originating operation index (#4989) (df513cf)
- NODE-7764: use $eq to match file IDs in GridFS queries (#5068) (218b6d7)
- NODE-7881: hello command is compressed (#5072) (399045a)
Documentation
We invite you to try the mongodb library immediately, and report any issues to the NODE project.
v7.7.0
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.
v7.6.0
7.6.0 (2026-08-21)
The MongoDB Node.js team is pleased to announce version 7.6.0 of the mongodb package!
Release Notes
Support for MongoDB 4.2 is removed
Warning
When the driver connects to a MongoDB server of version 4.2 or less, it will now throw an error.
HTTP proxy support for KMS requests in CSFLE and Queryable Encryption
In-use encryption can now route KMS requests through an HTTP proxy. Set kmsConnectCallback on your ClientEncryption or auto-encryption options to control how the driver connects to a KMS host. The callback receives the target host and port and returns a connected socket (for example, a tunnel
opened with HTTP CONNECT); the driver then performs the KMS TLS handshake over that socket using the provider's configured TLS options. This unblocks CSFLE and Queryable Encryption in environments that require an HTTP forward proxy for outbound KMS traffic, which the existing SOCKS5 proxyOptions does not cover.
const clientEncryption = new ClientEncryption(keyVaultClient, {
keyVaultNamespace,
kmsProviders,
// Establish the KMS connection through your HTTP proxy; the driver adds TLS.
kmsConnectCallback: ({ host, port }) => connectThroughHttpProxy(host, port)
});Improved Intelligent Workload Management
Improved performance for MongoDB 9.0's Intelligent Workload Management (IWM) by only retrying overload errors when expected to not worsen server conditions.
Bundling the driver into ESM no longer throws ReferenceError: require is not defined
v7.2.0 introduced the experimental runtimeAdapters option and, as part of it, replaced the driver’s static import of Node’s os module with a runtime require('os'). That works in a CommonJS build, but when the driver is bundled into ESM output (e.g. a Vite/esbuild/rollup server build with "type": "module"), there is no require in module scope, so constructing a client threw ReferenceError: require is not defined. The driver now loads the default os adapter through a dynamic import() that survives bundling, so new MongoClient() works in ESM bundles. CommonJS usage is unchanged, and supplying your own runtimeAdapters.os continues to work.
Bulk writes serialize each document only once
insertMany and bulkWrite previously processed each document twice - once to measure its size for batch splitting (a full recursive walk via calculateObjectSize) and again to serialize it into the command sent to the server. Documents are now serialized a single time and the resulting bytes are reused for both, decreasing the BSON-encoding CPU spent on bulk writes and reducing event-loop blocking during large batches. The improvement is most noticeable with high document counts and documents that have many fields.
Features
- NODE-7546: add HTTP Proxy support for QE & CSFLE (#5007) (3366c21)
- NODE-7547: bump minimum support server/wire versions to '4.4' & '9' respectively (#4994) (3d97028)
- NODE-7624: support baseBackoffMS and update client backpressure backoff (#5020) (560837b)
Bug Fixes
Performance Improvements
Documentation
We invite you to try the mongodb library immediately, and report any issues to the NODE project.
v7.5.0
7.5.0 (2026-07-07)
The MongoDB Node.js team is pleased to announce version 7.5.0 of the mongodb package!
Release Notes
Support for Queryable Encryption String Query GA in MongoDB 9.0
Queryable Encryption string queries are now available for MongoDB 9.0. Building on the technical preview introduced in earlier releases, this feature lets you run exact and range-style string matching against encrypted fields. As part of the promotion to GA, the API has been renamed:
- The
TextOptsAPI is replaced withStringOpts. - The
TextPreviewalgorithm is replaced withString. - The
prefix,suffix, andsubstringquery types are now generally available. - The
prefixPreview,suffixPreview, andsubstringPreviewquery types are deprecated and will be removed in a future release.
MongoClient.close() now closes in-use connections on all servers
Since v6.17.0, MongoClient.close() has eagerly closed checked-out (in-use) connections so that in-flight operations are interrupted promptly with a MongoClientClosedError instead of holding the client open. However, due to a bug, on replica sets and sharded clusters operations in flight on other servers were not interrupted, and their connections stayed open until the operations completed on their own. Calls to closeCheckedOutConnections() will now ensure all checked out connections are closed across all servers.
Thank you to @Nepomuk5665 and @sarthaksoni25 for bringing this to our attention/providing an initial implementation!
Features
Bug Fixes
Documentation
We invite you to try the mongodb library immediately, and report any issues to the NODE project.
v7.4.0
7.4.0 (2026-06-25)
The MongoDB Node.js team is pleased to announce version 7.4.0 of the mongodb package!
Release Notes
Explicit resource management is now stable
The Symbol.asyncDispose methods on MongoClient, ClientSession, ChangeStream, and cursors enable await using for automatic cleanup. These methods were introduced as experimental in v6.9.0. Since then, TC39 Explicit Resource Management proposal reached Stage 4 in 2025, and Node.js enabled explicit resource management as a stable feature in Node.js 24, so the experimental flags have been removed from our APIs and the APIs are now officially supported.
afterClusterTime now sent on writes in causally-consistent sessions
When a session has causal consistency enabled, write operations now include readConcern.afterClusterTime, matching the existing read behavior. This maintains the "read your own writes" guarantee across primary failovers in shareded clusters. There are no API changes.
Features
- NODE-7634: remove experimental tag from async dispose methods (#4976) (43ce3eb)
- NODE-7549: send afterClusterTime on writes in causally-consistent sessions (#4963) (3abfd26)
Documentation
We invite you to try the mongodb library immediately, and report any issues to the NODE project.
v7.3.0
Important
A future minor release will raise the minimum supported MongoDB Server version from 4.2 to 4.4. This is in accordance with MongoDB Software Lifecycle Schedules. Support for MongoDB Server 4.2 will be dropped in a future release!
7.3.0 (2026-06-04)
The MongoDB Node.js team is pleased to announce version 7.3.0 of the mongodb package!
Release Notes
maxWireVersion is bumped to 29
Max wire version & max server version bumped in preparation for MongoDB LTS (v9.0).
Fixed SCRAM authentication for non-Node.js runtimes (e.g., Deno)
SCRAM-based authentication (the default mechanism for username/password connections) was broken when using the driver in non-Node.js environments such as Deno. The root cause was an implicit toString() call on byte arrays that produced incorrect output outside of Node.js. This fix ensures explicit UTF-8 string conversion is used throughout the SCRAM implementation, restoring authentication in Deno and other web-compatible runtimes.
Features
Bug Fixes
Documentation
We invite you to try the mongodb library immediately, and report any issues to the NODE project.
v7.2.0
7.2.0 (2026-04-17)
The MongoDB Node.js team is pleased to announce version 7.2.0 of the mongodb package!
Release Notes
⚙️ Added support for MongoDB's Intelligent Workload Management
Added support for MongoDB's Intelligent Workload Management (IWM) and ingress connection rate limiting features. The driver now gracefully handles write-blocking scenarios and optimizes connection establishment during high-load conditions to maintain application availability.
Two new client options are available:
maxAdaptiveRetries(default: 2) - configures the maximum number of retries during server overload. Set to 0 to disable overload retries.enableOverloadRetargeting(default: false) - when enabled, the driver will deprioritize servers that return overload errors during retry server selection.
These features will be functional with MongoDB Atlas Server Version 9.0 and above.
🧩 Runtime and platform compatibility improvements
Node-specific platform APIs replaced with standards-based equivalents
The following Node-specific APIs have been replaced with standards-based equivalents:
- The driver now uses the standard
Uint8ArrayAPIs instead of the Node‑specificBufferAPIs. - The driver now uses the standard Web Crypto API
globalThis.cryptoinstead of the Node‑specificcryptoAPI.
These changes reduce the number of patches required to run the driver outside of Node.js and improve compatibility with non-Node.js runtimes.
Experimental Support for Dependency Injection of Nodejs Runtime Dependencies
This release introduces a new MongoClient option, runtimeAdapters. runtimeAdapters allows injection of core Nodejs APIs, to allow users of the driver to use alternative runtimes that don't support Nodejs compatibility or work in restricted environments.
Warning
runtimeAdapters is experimental and the actual interface of each dependency might change at any time.
Notes about usage of runtimeAdapters:
- If no
runtimeAdapteris provided for a core Nodejs module that the driver uses, the driver will import the corresponding module from Nodejs. - Adapters are per-client.
- Each adapter specifies the required APIs as a part of its Typescript API definition. There are no runtime checks to ensure all required functions are provided; the onus is on users to ensure that all required module dependencies are provided.
- The
runtimeAdaptersTypescript types currently rely on Nodejs' type definitions (@types/node). To useruntimeAdaptersin a Typescript project,@types/nodemust be installed as well. - When providing a module in
runtimeAdapters, all required functions inside that module must be provided. For example, when injecting theosmodule, theplatform()function cannot be omitted.
runtimeAdapters supports injecting Nodejs' os module
The os module is pluggable using runtimeAdapters:
const os: OsAdapter = {
// implement the required OSAdapter interface
}
// `client` will never import or make use of the `os` module and instead only rely on the `os` adapter specified above.
const client = new MongoClient(<uri>, {
runtimeAdapters: { os }
});☀️ ChangeStreams now have a bufferedCount() method that matches cursors
In some circumstances it may be desirable to determine if there are local documents stored in your change stream before invoking one of the async methods (tryNext, hasNext etc.). The changeStream.bufferedCount() returns the number of documents remaining inside the change stream from the last batch.
Shout out to @typesafe for contributing this feature!
Features
- NODE-7315: Use BSON ByteUtils instead of Nodejs Buffer (#4840) (1add538)
- NODE-7379: Refactor Crypto to Web Crypto API (#4862) (ac98f4a)
- NODE-7385: add experimental
osruntime adapter (#4851) (d2ad07f) - NODE-7441: add
ChangeStream.bufferedCount(#4870) (f7ea421) - NODE-7142: Exponential backoff and jitter in retry loops (#4871) (22c6031)
- NODE-7452: restrict server deprioritization on replica sets to overload errors (#4875) (87a3465)
- NODE-7467: make token bucket optional in client backpressure (#4878) (4fb0a0a)
- NODE-7491: finalize client backpressure implementation for phase 1 rollout (#4920) (2cc7983)
Documentation
We invite you to try the mongodb library immediately, and report any issues to the NODE project.