chore(main): release 7.6.0 - #5001
Open
github-actions[bot] wants to merge 1 commit into
Open
Conversation
github-actions
Bot
force-pushed
the
release-please--branches--main--components--mongodb
branch
2 times, most recently
from
July 15, 2026 14:56
e4a0454 to
e283e1a
Compare
github-actions
Bot
force-pushed
the
release-please--branches--main--components--mongodb
branch
4 times, most recently
from
July 27, 2026 12:59
419a726 to
6a61b15
Compare
github-actions
Bot
force-pushed
the
release-please--branches--main--components--mongodb
branch
2 times, most recently
from
August 3, 2026 19:00
8399e10 to
930276e
Compare
github-actions
Bot
force-pushed
the
release-please--branches--main--components--mongodb
branch
2 times, most recently
from
August 10, 2026 20:37
86bbcef to
da15456
Compare
github-actions
Bot
force-pushed
the
release-please--branches--main--components--mongodb
branch
3 times, most recently
from
August 19, 2026 15:57
d57e58d to
1ed778c
Compare
Contributor
|
run release_notes |
github-actions
Bot
force-pushed
the
release-please--branches--main--components--mongodb
branch
from
August 21, 2026 16:04
1ed778c to
4863fe0
Compare
Contributor
|
run release_notes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🌱 A new release!
7.6.0 (2026-08-21)
The MongoDB Node.js team is pleased to announce version 7.6.0 of the
mongodbpackage!Release Notes
HTTP proxy support for KMS requests in CSFLE and Queryable Encryption
In-use encryption can now route KMS requests through an HTTP proxy. Set
kmsConnectCallbackon yourClientEncryptionor auto-encryption options to control how the driver connects to a KMS host. The callback receives the targethostandportand returns a connected socket (for example, a tunnelopened 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
proxyOptionsdoes not cover.Bumped minimum server version (4.2 -> 4.4) & minimum wire version (8 -> 9)
Improved Intelligent Workload Management
Improved performance for MongoDB 9.0's Intelligent Workload Management (IWM) by only retrying overload errors when doing so is expected to not worsen server conditions
Bundling the driver into ESM no longer throws
ReferenceError: require is not definedv7.2.0 introduced the experimental
runtimeAdaptersoption and, as part of it, replaced the driver’s static import of Node’sosmodule with a runtimerequire('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 norequirein module scope, so constructing a client threwReferenceError: require is not defined. The driver now loads the defaultosadapter through a dynamicimport()that survives bundling, sonew MongoClient()works in ESM bundles. CommonJS usage is unchanged, and supplying your ownruntimeAdapters.oscontinues to work.Bulk writes serialize each document only once
insertManyandbulkWritepreviously processed each document twice - once to measure its size for batch splitting (a full recursive walk viacalculateObjectSize) 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
Bug Fixes
import('os')viatsconfig(#4992) (52f5e61)Performance Improvements
Documentation
We invite you to try the
mongodblibrary immediately, and report any issues to the NODE project.