PackageTrack
Sign in Get early access

mongo_dart

MongoDB driver, implemented in pure Dart. All CRUD operations, aggregation pipeline and more!

0.10.9 28K downloads/mo #1892 most downloaded on pub.dev mongo-dart/mongo_dart

What this package is like to depend on

Last release 2 months ago

21 Jun 2026

Release timing varies

gaps range from 1 weeks to 9 months

Most releases are documented

notes for 70 of 102 stable releases

Nothing withdrawn

no release was ever pulled

14 years old

115 releases · first in 2012

4 releases in the last 12 months

see the full history below

Release timeline

115 releases · Oct 2012 to Jun 2026
2013 2015 2017 2019 2021 2023 2025
Release Pre-release

Releases

latest 60 of 115
  1. 0.10.9 21 Jun 2026

    Nothing published for this version

  2. 0.10.8 14 Feb 2026

    Nothing published for this version

  3. 0.10.7 07 Feb 2026

    Nothing published for this version

  4. 0.10.6 26 Jan 2026

    Nothing published for this version

  5. 0.10.5 03 May 2025

    Nothing published for this version

  6. 0.10.4 28 Dec 2024

    Nothing published for this version

  7. 0.10.3 08 Jun 2024

    Nothing published for this version

  8. 0.10.2 27 Apr 2024

    Nothing published for this version

  9. 0.10.1 22 Mar 2024

    Nothing published for this version

  10. 0.10.0 30 Dec 2023

    Nothing published for this version

  11. 0.9.4 20 Dec 2023

    Nothing published for this version

  12. 0.9.3 21 Sep 2023

    Nothing published for this version

  13. 0.9.2 16 Sep 2023

    Nothing published for this version

  14. 0.9.1 12 Mar 2023

    Nothing published for this version

  15. 0.9.0 05 Mar 2023

    Nothing published for this version

  16. 0.8.2 10 Dec 2022

    Nothing published for this version

  17. 0.8.1 19 Nov 2022

    Nothing published for this version

  18. 0.8.0 30 Oct 2022

    Nothing published for this version

  19. 0.8.0-1.0.beta 29 Apr 2022 pre-release

    Nothing published for this version

  20. 0.7.4 25 Nov 2021

    Nothing published for this version

  21. 0.7.4+1 10 Apr 2022

    Nothing published for this version

  22. 0.7.3 27 Oct 2021
    Release notes
    • Fixed a problem in Timestamp class so that seconds and increment were inverted in reading from db.
    • Decoupled the Timestamp class from the newly created BsonTimestamp one.
    Open source →
  23. 0.7.2 05 Sep 2021
    Release notes
    • 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.

    Open source →
  24. 0.7.1 01 Aug 2021
    Release notes
    • Removed deprecated MD5 calculation in GridFs
    Open source →
  25. 0.7.0 12 Apr 2021
    Release notes
    • Fixed problem with tls CAFile parameter if passed more than once.
    Open source →
  26. 0.7.0+1 15 Apr 2021
    Release notes
    • changed documentation references, now pointing directly on GitHub
    Open source →
  27. 0.7.0+2 24 May 2021
    Release notes
    • Fix in README. There was a wrong example on how to call the replaceOne method.
    Open source →
  28. 0.7.0-nullsafety.3 01 Apr 2021 pre-release
    Release notes
    • Documentation and examples
    Open source →
  29. 0.5.1 09 Apr 2021

    Nothing published for this version

  30. 0.5.1+1 12 Apr 2021

    Nothing published for this version

  31. 0.5.1-rc.1 30 Mar 2021 pre-release

    Nothing published for this version

  32. 0.5.0 29 Mar 2021

    Nothing published for this version

  33. 0.5.0+1 29 Mar 2021

    Nothing published for this version

  34. 0.5.0-rc.1 23 Mar 2021 pre-release

    Nothing published for this version

  35. 0.5.0-dev.4 14 Mar 2021 pre-release
    Release notes
    • distinct()
    • reorganized folder with new commands
    • more examples and docs
    Open source →
  36. 0.5.0-dev.3 28 Feb 2021 pre-release
    Release notes
    • Renamed DeleteRequest classes as DeleteStatement
    • updateOne(), replaceOne() and updateMany()
    • modermFindAndModify()
    • bulkWrite()
    • watch()
    • all crud methods have been modified to call the modern version if MongoDb has a version of 3.6 or greater.
    Open source →
  37. 0.5.0-dev.2 18 Jan 2021 pre-release
    Release notes
    • DbCollection.deleteOne()
    • DbCollection.deleteMany()
    Open source →
  38. 0.5.0-dev.1 13 Jan 2021 pre-release
    Release notes

    Breaking Changes

    • 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 shoul hide the Connection class while importing MongoDart in your sources. Ex.dart import 'package:mongo_dart/mongo_dart.dart' hide Connection;

    Other Changes

    • OP_MSG operations and commands. See the README file.
    • Decimal128 Type (inherited from BSON enhancements)
    Open source →
  39. 0.5.0-beta 23 Mar 2021 pre-release
    Release notes
    • Added tls client and server certificate management
    • Created method .onlyFirst() in class ModernCursor
    Open source →
  40. 0.4.4 30 Oct 2020
    Release notes
    • Test for text index.
    • 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.
    • Closing a db when the connection socket was null threw error.
    • Changed the way the socket error is thrown on db.open(): All errors detected are collected.
      1. If after all the attempts the master connection is not on, an error is thrown relative to the the first server tested. This for compatibility reason with the previous way the message was thrown.
      2. If the master connection is on, the errors are logged as warning.
    • The socket error message has been changed to comprehend also the address of the server, so it is easier to identify the problem.
    • If an authentication error occurs, the relative socket is closed.
    Open source →
  41. 0.4.3 04 Sep 2020
    Release notes
    • New isConnected Db getter. It returns true if the state of the database is open and at least the primary connection is on.
    • db._masterConnectionVerified() now throws an explicit error if the db state is not OPEN (it was throwing a NoSuchMethodError).
    Open source →
  42. 0.4.2 24 Aug 2020
    Release notes
    • New Db constructor (Db.create()) that accepts also the url in DNS Seedlist Connection Format (mongodb+srv://)
    Open source →
  43. 0.4.1 19 Aug 2020
    Release notes

    Secure connection implementation

    Open source →
    Release notes
    • Secure Connection
    • The connection string now accepts more than one server.
      • Before: only mongodb://www.example.org/test.
      • Now it can be: mongodb://www.example.org,www1.example.org,www2.example.org/test
      • It is equivalent to: db.pool([mongodb://www.example.org/test, mongodb://www1.example.org/test, mongodb://www2.example.org/test]);
    • Added an "uriList" getter in "Db" class.
    Open source →
  44. 0.4.1-dev.2.2 03 Aug 2020 pre-release
    Release notes
    • Lint clean-up
    Open source →
  45. 0.4.0 07 Nov 2019

    Nothing published for this version

  46. 0.4.0-dev.1 30 Sep 2019 pre-release
    Release notes
    • Upgraded to mongo_dart_query 0.4.1. The update adds aggregation pipeline builder.
    Open source →
  47. 0.3.6 17 Sep 2019
    Release notes
    • Updates for Dart 2.5 compatibility. As of Dart 2.5, the Socket class emits Uint8List, rather than plain List<int>, so some fixes were necessary to allow the package to continue to function.
    Open source →
  48. 0.3.5 17 Apr 2019
    Release notes
    • Upgraded uuid constraint to ^2.0.0.
    Open source →
  49. 0.3.4 19 Dec 2018
    Release notes
    Open source →
  50. 0.3.3 28 Jul 2018

    Nothing published for this version

  51. 0.3.2 30 Jun 2018
    Release notes
    • Cast fixes, for compatibility with Dart 2.
    • Moved from dart:convert usage to package:dart2_constant, for the sake of backwards compatibility.
    Open source →
  52. 0.3.1 24 Oct 2017
    Release notes
    • Changed the signature of DbCollection.remove; its selector parameter is now required, while writeConcern is now a named optional parameter.
    Future remove(selector, {WriteConcern writeConcern});
    

    Resolves #73.

    Open source →
  53. 0.3.0 23 Jul 2017
    Release notes
    • Strong mode compliance. Preparing for Dart 2.0
    Open source →
  54. 0.2.10 04 Oct 2016

    Nothing published for this version

  55. 0.2.9 15 Jul 2016

    Nothing published for this version

  56. 0.2.8 24 Jun 2016
    Release notes
    • Fix bad type in _Connection class
    Open source →
  57. 0.2.7 10 Jun 2016
    Release notes
    • Minor changes, commented out code removed
    • Big chunk of tests was commented out in 0.2.6 by error. All tests restored.
    Open source →
  58. 0.2.6 06 Jun 2016
    Release notes
    • update for new sdk (with 1.17.0 [MongoMessageHandler] was broken in checked mode)
    • upgrade to current version of crypto package, and it's new (Converter based) API
    Open source →
  59. 0.2.5 12 Feb 2016
    Release notes
    • Moved mongo_dart project to a new organization on GitHub.
    • Authentication schemes now use Secure Random coming from dart:math since 1.14. Note that this version now required SDK version >= 1.14 because of this
    • Added sort by text score to the query builders.
    Open source →
  60. 0.2.5+1 12 Feb 2016
    Release notes
    • Fixed markdown for pub.
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive