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
Last release today
04 Oct 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
195 versions withdrawn
withdrawn after publishing
15 years old
922 releases · first in 2011
Updated mongodb-core to 1.2.9 for 2.4 wire protocol error handler fix.
Updated mongodb-core to 1.2.6 for NODE-505.
One column per quarter.
NODE-505 Query fails to find records that have a 'result' property with an array value.
NODE-504 Collection * Default options when using promiseLibrary.
Fully promisified allowing the use of ES6 generators and libraries like co. Also allows for BYOP (Bring your own promises).
Upgraded to mongodb-core 1.2.2 including removing warnings when C++ bson parser is not available and a fix for SCRAM authentication.
Upgraded to mongodb-core 1.2.1 speeding up serialization and removing the need for the c++ bson extension.
* Bumped mongodb-core to 1.1.32.
NODE-463 db.close immediately executes its callback.
NODE-461 Tripping on error "no chunks found for file, possibly corrupt" when there is no error.
NODE-460 fix; don't set authMechanism for user in db.authenticate() to avoid mongoose authentication issue.
NODE-444 Possible memory leak, too many listeners added.
Added Cursor.prototype.setCursorOption to allow for setting node specific cursor options for tailable cursors.
NODE-410 Correctly handle issue with pause/resume in Node 0.10.x that causes exceptions when using the Node 0.12.0 style streams.
Implements the Common Index specification Standard API at https://github.com/mongodb/specifications/blob/master/source/index-management.rst.
Upgraded mongodb-core to 1.1.21, making the C++ bson code an optional dependency to the bson module.
NODE-395 Socket Not Closing, db.close called before full set finished initalizing leading to server connections in progress not being closed properly.
NODE-380 Correctly return MongoError from toError method.
NODE-377, fixed issue where tags would correctly be checked on secondary and nearest to filter out eligible server candidates.
Upgraded mongodb-core to 1.1.16 making sslValidate default to true to force validation on connection unless overriden by the user.
Updated mongodb-core 1.1.15 to relax pickserver method.
NODE-376 Fixes issue * Unordered batch incorrectly tracks batch size when switching batch types (Issue #1261, https://github.com/meirgottlieb)
Bumped mongodb-core 1.1.14 to ensure passives are correctly added as secondaries.
NODE-336 Added length function to ordered and unordered bulk operations to be able know the amount of current operations in bulk.
listCollection now returns filtered result correctly removing db name for 2.6 or earlier servers.
Unified behavior of listCollections results so 3.0 and pre 3.0 return same type of results.
Fixed some MongoClient.connect options pass through issues and added test coverage.
Optimized query path for performance, moving Object.defineProperty outside of constructors.
Minor fixes to listCollections to ensure correct querying of a collection when using a string.
listCollections filters out index namespaces on < 2.8 correctly
NODE-328 fixed db.open return when no callback available issue and added test.
Bumped mongodb-core to 1.1.3 fixing global leaked variables and introducing strict across all classes.
NODE-322 Finished up prototype refactoring of Db class.
Bumped mongodb-core to 1.1.2 fixing a UTF8 encoding issue for collection names.
Refactored code to be prototype based instead of privileged methods.
Minor fixes to documentation and generation of documentation.
Allow for single replicaset seed list with no setName specified (Issue #1220, https://github.com/imaman)
NODE-297 Aggregate Broken for case of pipeline with no options.
Fixed bson module dependency issue by relying on the mongodb-core one.
* Dependency fix
* First release of 2.0 driver
CRUD API (insertOne, insertMany, updateOne, updateMany, removeOne, removeMany, bulkWrite, findOneAndDelete, findOneAndUpdate, findOneAndReplace)
Insert method allows only up 1000 pr batch for legacy as well as 2.6 mode
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
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
Your coding agent can read these notes before it upgrades. Set up the MCP server →