NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm, #3169 most downloaded on npm
The official MongoDB driver for Node.js
Latest stable
7.8.0
Last release 2 days ago
11 Nov 2026
Ships on a steady schedule
a new release about every 8 days
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
15 years old
962 releases · first in 2011
Drag across the ruler to compare, or tap a release to open it.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
NODE-1043 URI-escaping authentication and hostname details in connection string
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
allow auth option in MongoClient.connect
promoteLongs from MongoClient's connectadd appname to list of valid option names
appname to list of valid option namesNODE-1039 ensure we force destroy server instances, forcing queue to be flushed.
NODE-1019 Set keepAlive to 300 seconds or 1/2 of socketTimeout if socketTimeout < keepAlive.
NODE-985 Deprecated Db.authenticate and Admin.authenticate and moved auth methods into authenticate.js to ensure MongoClient.connect does not print de…
_id (Issue #1517, https://github.com/vkarpov15).Mark group and profilingInfo as deprecated methods
Don't rely on global toString() for checking if object (Issue #1494, https://github.com/vkarpov15).
NODE-935, NODE-931 Make MongoClient strict options validation optional and instead print annoying console.warn entries.
NODE-925 ensure we reschedule operations while pool is < poolSize while pool is growing and there are no connections with not currently performing wor
NODE-919 ReplicaSet connection does not close immediately (Issue #156).
NODE-908 Keep auth contexts in replset and mongos topology to ensure correct application of authentication credentials when primary is first server to
Updated mongodb-core to 2.1.5 to include bson 1.0.4 and bson-ext 1.0.4 due to Buffer.from being broken in early node 4.x versions.
* Corrupted Npm release fix.
Updated mongodb-core to 2.1.4 to fix bson ObjectId toString issue with utils.inspect messing with toString parameters in node 6.
updated createCollection doc options and linked to create command.
NODE-899 reversed upsertedId change to bring back old behavior.
Delay topologyMonitoring on successful attemptReconnect as no need to run a full scan immediately.
NODE-892 Passthrough options.readPreference to mongodb-core ReplSet instance.
NODE-889 Fixed issue where legacy killcursor wire protocol messages would not be sent when APM is enabled.
NODE-852 Fix Kerberos module deprecations on linux and windows and release new kerberos version.
Updated mongodb-core to 2.0.13.
Updated mongodb-core to 2.0.12.
Updated mongodb-core to 2.0.11.
Updated mongodb-core to 2.0.10.
If only a single mongos is provided in the seedlist, fix issue where it would be assigned as single standalone server instead of mongos topology (Issu
Allow execution of store operations independent of having both a primary and secondary available (Issue #123).
Allow primary to be returned when secondaryPreferred is passed (Issue #117, https://github.com/dhendo).
* NPM corrupted upload fix.
Destroy connection on socket timeout due to newer node versions not closing the socket.
Minor fixes to handle faster MongoClient connectivity from the driver, allowing single server instances to detect if they are a proxy.
handle situation where user is providing seedlist names that do not match host list. fix allows for a single full discovery connection sweep before er
Moved all authentication and handling of growing/shrinking of pool connections into actual pool.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.