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 3 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
Reconnect functionality for replicaset fix for mongodb 2.0.5
Passing back getLastError object as 3rd parameter on findAndModify command.
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Fixes to handling of failover on server error
Added createFromTime method on ObjectID to allow for queries against _id more easily using the timestamp.
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
Replicasets now correctly adjusts to live changes in the replicaset configuration on the servers, reconnecting correctly.
Simplified findOne to use the find command instead of the custom code (Issue #498).
Removed the check for replicaset change code as it will never work with node.js.
Added geoNear command to Collection.
Added reIndex command to collection and db level.
Workaround for issue with Object.defineProperty (Issue #484)
Fixed a missing this in the ReplSetServers constructor.
FindAndModify bug fix for duplicate errors (Issue #481)
Added priority setting to replicaset manager
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
Nothing published for this version
Nothing published for this version
Fixed bug in js bson parser that could cause wrong object size on serialization, Issue #370
Reworked reconnect code to work correctly
Reworked bson.js parser to get rid off Array.shift() due to it allocating new memory for each call. Speedup varies between 5-15% depending on doc
Reworked bson.js parser to get rid off Array.shift() due to it allocating new memory for each call. Speedup varies between 5-15% depending on doc
Reworked bson.cc to throw error when trying to serialize js bson types
Added MinKey, MaxKey and Double support for JS and C++ parser
Reworked socket handling code to emit errors on unparsable messages
Added logger option for Db class, lets you pass in a function in the shape { log : function(message, object) {}, error : function(errorMessage, errorObject) {}, debug : function(debugMessage, object) {}, }
Usage is new Db(new Server(..), {logger: loggerInstance})
Fixing compatibility issues between C++ bson parser and js parser
Fixed bug in waitForConnection that would lead to 100% cpu usage, Issue #352
Fixed broken exception test causing bamboo to hang
Fixing a bunch of issues with compatibility with MongoDB 2.0.X branch. Some fairly big changes in behavior from 1.8.X to 2.0.X on the server.
Fixed issue where pools would not be correctly cleaned up after an error, Issue #345
Minor fixes for error handling in cursor streaming (https://github.com/sethml), Issue #332
Db names correctly error checked for illegal characters
Nasty bug in GridFS if you changed the default chunk size
Timeout option not correctly making it to the cursor, Issue #320, Fix from
Specific type Double for capped collections (https://github.com/mbostock), Issue #312
Bug fix for bson parsing the key '':'' correctly without crashing
Changed to using node.js crypto library MD5 digest
JS Bson deserialization bug #287
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.