NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev · #2029 most downloaded on pub.dev
MongoDB driver, implemented in pure Dart. All CRUD operations, aggregation pipeline and more!
Last release 3 months ago
21 Jun 2026
Release timing varies
gaps range from 1 weeks to 9 months
Some releases are documented
notes for 32 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
14 years old
115 releases · first in 2012
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.
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 a problem in Timestamp class so that seconds and increment were inverted in reading from db.
Timestamp class so that seconds and increment were inverted in reading from db.Timestamp class from the newly created BsonTimestamp one.BREAKING CHANGE Incidentally a potential *breaking change* has been introduced. If there is any problem during authentication, in previous versions a…
Added SCRAM-SHA-256 authentication mechanism If no authentication mechanism is set, as a first try the driver analyze the server response that returns the available scram mechanisms for the required user, otherwise, SCRAM-SHA-256 is set starting from release 4.0.
BREAKING CHANGE Incidentally a potential breaking change has been introduced. If there is any problem during authentication, in previous versions a map containing the error message was thrown. Now a MongoDartError object is thrown.
Please NOTE By default the driver automatically sets SCRAM-SHA-256 if the server release is equal or greater to 4.0. Unfortunately Atlas does not yet support SHA-256, and does not return informations about the supported authentication mechanisms for the user, so the driver, when detects the connection error, automatically downgrades to SHA-1 If you want to avoid the first attempt, you can set the autentication mechanism to SHA-1 in the connection string.
Removed deprecated MD5 calculation in GridFs
changed documentation references, now pointing directly on GitHub
Fix in README. There was a wrong example on how to call the replaceOne method.
Fixed problem with tls CAFile parameter if passed more than once.
- Documentation and examples
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
reorganized folder with new commands
Renamed DeleteRequest classes as DeleteStatement
- DbCollection.deleteOne() - DbCollection.deleteMany()
The hidden class _Connection has been renamed Connection. If you have already your own Connection class may be that they conflict. In this case, you s
_Connection has been renamed Connection. If you have already your own Connection class may be that they conflict. In this case, you shoul hide the Connection class while importing MongoDart in your sources. Ex.dart import 'package:mongo_dart/mongo_dart.dart' hide Connection;Added tls client and server certificate management
Fix problem wit "OPENING" state in db. When a socket error happened during opening, the state was't resetted so that any new db.open() attempt failed.
db.open() attempt failed.db.open(): All errors detected are collected.
New isConnected Db getter. It returns true if the state of the database is open and at least the primary connection is on.
isConnected Db getter. It returns true if the state of the database is open and at least the primary connection is on.NoSuchMethodError).New Db constructor (Db.create()) that accepts also the url in DNS Seedlist Connection Format (mongodb+srv://)
Db constructor (Db.create()) that accepts also the url in DNS Seedlist Connection Format (mongodb+srv://)Secure connection implementation
Secure connection implementation
- Lint clean-up
Nothing published for this version
Upgraded to mongo_dart_query 0.4.1. The update adds aggregation pipeline builder.
mongo_dart_query 0.4.1. The update adds aggregation pipeline builder.Updates for Dart 2.5 compatibility. As of Dart 2.5, the Socket class emits Uint8List, rather than plain List , so some fixes were necessary to allow t
Socket class
emits Uint8List, rather than plain List<int>, so some fixes were necessary
to allow the package to continue to function.
Upgraded uuid constraint to ^2.0.0.
uuid constraint to ^2.0.0.Added cursor option to DbCollection.aggregate.
cursor option to DbCollection.aggregate.
pubspec.yaml.Nothing published for this version
Cast fixes, for compatibility with Dart 2.
dart:convert usage to package:dart2_constant, for the sake
of backwards compatibility.Changed the signature of DbCollection.remove; its selector parameter is now required, while writeConcern is now a named optional parameter.
DbCollection.remove; its selector parameter is now required,
while writeConcern is now a named optional parameter.Future remove(selector, {WriteConcern writeConcern});
Resolves #73.
Strong mode compliance. Preparing for Dart 2.0
Nothing published for this version
Nothing published for this version
Fix bad type in _Connection class
Minor changes, commented out code removed
update for new sdk (with 1.17.0 [MongoMessageHandler] was broken in checked mode)
crypto package, and it's new (Converter based) API- Fixed markdown for pub.
Moved mongo_dart project to a new organization on GitHub.
dart:math since 1.14. Note that this version now required SDK version >= 1.14 because of thisYour coding agent can read these notes before it upgrades. Set up the MCP server →