Conversation
f51ba6e to
9224c90
Compare
72a2e8b to
ce16586
Compare
4d279b2 to
2c3048d
Compare
|
run release_notes |
e89beef to
061ed9b
Compare
9403fd2 to
4292424
Compare
eba0147 to
0fdd3f3
Compare
57f8567 to
433f6a0
Compare
|
run release_notes |
1 similar comment
|
run release_notes |
433f6a0 to
e622b92
Compare
|
run release_notes |
🌱 A new release!7.2.0 (2026-04-17)The MongoDB Node.js team is pleased to announce version 7.2.0 of the Release Notes⚙️ Added support for MongoDB's Intelligent Workload ManagementAdded 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:
🧩 Runtime and platform compatibility improvementsNode-specific platform APIs replaced with standards-based equivalentsThe following Node-specific APIs have been replaced with standards-based equivalents:
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 DependenciesThis release introduces a new MongoClient option, Warning
Notes about usage of
|
|
run release_notes |
|
🤖 Created releases: 🌻 |
🌱 A new release!
7.2.0 (2026-04-17)
The MongoDB Node.js team is pleased to announce version 7.2.0 of the
mongodbpackage!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.🧩 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:
Uint8ArrayAPIs instead of the Node‑specificBufferAPIs.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.runtimeAdaptersallows 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
runtimeAdaptersis experimental and the actual interface of each dependency might change at any time.Notes about usage of
runtimeAdapters:runtimeAdapteris provided for a core Nodejs module that the driver uses, the driver will import the corresponding module from Nodejs.runtimeAdaptersTypescript types currently rely on Nodejs' type definitions (@types/node). To useruntimeAdaptersin a Typescript project,@types/nodemust be installed as well.runtimeAdapters, all required functions inside that module must be provided. For example, when injecting theosmodule, theplatform()function cannot be omitted.runtimeAdapterssupports injecting Nodejs'osmoduleThe
osmodule is pluggable usingruntimeAdapters:☀️ ChangeStreams now have a
bufferedCount()method that matches cursorsIn 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,hasNextetc.). ThechangeStream.bufferedCount()returns the number of documents remaining inside the change stream from the last batch.Shout out to @typesafe for contributing this feature!
Features
osruntime adapter (#4851) (d2ad07f)ChangeStream.bufferedCount(#4870) (f7ea421)Documentation
We invite you to try the
mongodblibrary immediately, and report any issues to the NODE project.