PackageTrack
Sign in Get early access

mongodb

The official MongoDB driver for Rust

3.8.1 16M downloads/mo #2380 most downloaded on crates.io mongodb/mongo-rust-driver

What this package is like to depend on

Last release 2 days ago

21 Aug 2026

Ships fairly regularly

a new release about every 6 weeks

Rarely documented

notes for 9 of 83 stable releases

1 version withdrawn

withdrawn after publishing

11 years old

100 releases · first in 2015

9 releases in the last 12 months

see the full history below

Release timeline

100 releases · May 2015 to Aug 2026
2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release Withdrawn

Releases

latest 60 of 100
  1. 3.8.1 21 Aug 2026
    Release notes

    The MongoDB Rust driver team is pleased to announce the v3.8.1 release of the mongodb crate, now available for download from crates.io.

    This release fixes two bugs: a potential infinite loop in change streams, and the find_one_and_* methods not reporting errors in some circumstances.

    Full Release Notes

    Bugfixes

    Open source →
  2. 3.8.0 09 Jul 2026
    Release notes

    The MongoDB Rust driver team is pleased to announce the v3.8.0 release of the mongodb crate, now available for download from crates.io.

    Highlighted Changes

    In-Use Encryption String API GA

    The string API for in-use encryption (previously named the text API) is now stable and GA! This brings with it the following changes:

    • The text-indexes-unstable feature is no longer required to enable this API. The feature still exists for backwards compatibility but does nothing.
    • The TextOptions struct is now StringOptions.
    • Algorithm::TextPreview is deprecated in favor of Algorithm::String.
    • The query types "prefixPreview", "suffixPreview", and "substringPreview" are deprecated in favor of "prefix", "suffix", and "substring" respectively.

    The GA API requires mongodb server version 9.0. The preview API can continue to be used with pre-9.0 server versions.

    Server 4.2 EOL

    As of this release, connecting to server version 4.2 is deprecated. Support for 4.2 will be removed in the 3.9.0 release.

    MONGODB-AWS explicit authentication property deprecation

    The use of explicit username, password, or the "AWS_SESSION_TOKEN" property with the MONGODB-AWS auth mechanism is deprecated, and will emit warnings when debug assertions are enabled. Support for these will be removed in version 4.0 of the driver.

    Hickory performance on Windows

    A long-standing bug in the hickory-resolver case when running on Windows caused performance degredation when using a mongodb+srv connection string. Happily, this bug is now fixed, so users who previously used our recommended workaround of a custom DNS configuration on Windows can now remove that workaround.

    Full Release Notes

    Impactful changes are listed below; for a complete list of changes see this GitHub query.

    New Features

    Improvements

    Bugfixes

    Open source →
  3. 3.7.0 21 May 2026
    Release notes

    The MongoDB Rust driver team is pleased to announce the v3.7.0 release of the mongodb crate, now available for download from crates.io.

    Highlighted Changes

    MSRV Increase

    This release updates the minimum supported rust compiler version to 1.88.

    Hickory Dependency Version Increase

    Due to a security advisory, the version of hickory used internally has been updated to 0.26. This should have no user-visible behavior impact.

    Client::shutdown improvements

    The implementation of shutdown's wait for server resource cleanup and background task termination has been improved to be more consistent and cover more cases.

    Full Release Notes

    Impactful changes are listed below; for a complete list of changes see this GitHub query.

    Improvements

    Open source →
  4. 3.6.0 20 Apr 2026
    Release notes

    The MongoDB Rust driver team is pleased to announce the v3.6.0 release of the mongodb crate, now available for download from crates.io.

    Highlighted Changes

    Client Backpressure

    With 3.6.0, the client has a variety of changes to improve behavior when connected to overloaded servers, most notably retrying against a different server (if available). These features will be functional with MongoDB Atlas Server Version 9.0 and above.

    Full Release Notes

    Impactful changes are listed below; for a complete list of changes see this GitHub query.

    Improvements

    • RUST-2268 Add jitter to convenient transaction retries (#1588)
    • RUST-2267 Avoid clearing connection pool when server connection rate limiter triggers (#1584)
    • RUST-2324 Implement Cursor on top of RawBatchCursor (#1620)
    • RUST-2273 Exponential backoff and jitter in retry loops (#1626)
    • RUST-2325 Use raw batch iterator for gridfs downloads (#1632)
    • RUST-2385 Finalize client backpressure changes (#1654)
    • minor: bump MSRV to 1.85 (#1670)
    • Add feature flag to use aws-lc-rs instead of ring as the rustls crypto provider (#1662) (thanks @TimTheBig!)

    Bugfixes

    Open source →
  5. 3.5.2 18 Mar 2026
    Release notes

    The MongoDB Rust driver team is pleased to announce the v3.5.2 release of the mongodb crate, now available for download from crates.io.

    Full Release Notes

    Bugfixes

    Open source →
  6. 3.5.1 03 Feb 2026
    Release notes

    The MongoDB Rust driver team is pleased to announce the v3.5.1 release of the mongodb crate, now available for download from crates.io.

    This release removes a check added in 3.4.0 that would reject metadata containing the | character.

    Full Release Notes

    Bugfixes

    Open source →
  7. 3.5.0 14 Jan 2026
    Release notes

    The MongoDB Rust driver team is pleased to announce the v3.5.0 release of the mongodb crate, now available for download from crates.io.

    Highlighted Changes

    SOCKS5 Proxy Support

    3.5.0 includes the optional socks5-proxy feature, which enables connecting to the database via a SOCKS5 proxy. This can be configured either with the proxyHost, proxyPort, proxyUsername, and proxyPassword connection string options or the ClientOptions::socks5_proxy field.

    Raw Batch Cursors

    This release adds support for iterating over the raw document batches returned by the server for cursors rather than individual deserialized values. For some applications, this can enable significant performance improvements; see the module documentation for more details.

    AWS Authentication Property Deprecation

    Specifying AWS authentication properties via the username and password in URI strings and the AWS_SESSION_TOKEN field of the auth mechanism properties doc is deprecated; using these is almost never the correct setup and can lead to the driver losing connectivity. This functionality will be removed in the next major version of the driver.

    Full Release Notes

    Impactful changes are listed below; for a complete list of changes see this GitHub query.

    New Features

    • RUST-1054 SOCKS5 Proxy Support (#1550)
    • RUST-2300 Provide a raw batched cursor mode for all cursor-returning actions

    Improvements

    Bugfixes

    Open source →
  8. 3.4.1 20 Nov 2025
    Release notes

    The MongoDB Rust driver team is pleased to announce the v3.4.1 release of the mongodb crate, now available for download from crates.io.

    Highlighted Changes

    Atlas Search Helpers

    The driver now includes helpers for building Atlas Search aggregation pipelines. See the documentation for more details and examples.

    OpenTelemetry Support

    The driver now supports tracing database commands and driver operations for OpenTelemetry.

    Text Indexes for Queryable Encryption

    The driver now supports text indexes for both automatic and explicit encryption. Note that this feature is in preview and should only be used in experimental workloads. The text-indexes-unstable feature flag must be enabled to use text indexes. The GA version of this feature may not be backwards-compatible with the preview version.

    Dependency Improvements

    Thank you to @tottoto and @FalkWoldmann for their several contributions to update and refine our dependencies!

    Full Release Notes

    Impactful changes are listed below; for a complete list of changes, see this GitHub query.

    New Features

    Improvements

    Bug Fixes

    • TUNE-449 Fix a potential duration overflow (#1530)

    Note

    Version 3.4.0 of the driver was skipped due to an issue in the release process.

    Open source →
  9. 3.3.0 03 Sep 2025
    Release notes

    The MongoDB Rust driver team is pleased to announce the v3.3.0 release of the mongodb crate, now available for download from crates.io.

    Highlighted Changes

    Compatibility With bson 3.0

    This version of the driver provides the bson-3 feature, which allows opting in to use the 3.0 version of the bson crate where the driver API exposes those types. Any usage without that feature (e.g. all existing projects) will continue to use the 2.x version. See the bson 3.0 migration guide for more information.

    Improved Convenient Transaction API

    With the stabilization of async closures, the convenient transaction API (StartTransaction::and_run) has been deprecated in favor of StartTransaction::and_run2, which provides the same functionality but without needing to box the closure or pass a distinct data argument.

    GSSAPI Authentication Support

    The driver now supports the use of GSSAPI for authentication of driver connections on Linux, MacOS, and Windows.

    Minimum Server Version Increase

    The minimum server version supported by the driver is now 4.2; support for 4.0 was deprecated in driver version 3.2.0 and has now been removed.

    Full Release Notes

    Impactful changes are listed below; for a complete list of changes see this GitHub query.

    New Features

    Improvements

    Bugfixes

    • HELP-70689 Use openssl cert parsing when openssl-tls is enabled (#1302)
    • HELP-68823 Fix invalid_me comparison and normalize host strings (#1319)
    • RUST-2191 Fix type propagation for Aggregate::session (#1353)
    • RUST-2131 Fix bulk write cursor iteration on load balanced topologies (#1358)
    • RUST-2204 Enforce size limits on outgoing messages (#1369)
    • RUST-2074 Fix retryability bug, add disabled test (#1427)
    • RUST-2184 Accept any BSON number for CreateCollectionOptions::size (#1460)
    • Always use "admin" target_db during handshake (#1463) (thanks @krinart!)
    Open source →
  10. 3.2.5 22 Aug 2025

    Nothing published for this version

  11. 3.2.4 30 Jun 2025

    Nothing published for this version

  12. 3.2.3 19 Mar 2025

    Nothing published for this version

  13. 3.2.2 06 Mar 2025

    Nothing published for this version

  14. 3.2.1 04 Feb 2025

    Nothing published for this version

  15. 3.2.0 16 Jan 2025

    Nothing published for this version

  16. 3.1.1 12 Dec 2024

    Nothing published for this version

  17. 3.1.0 30 Aug 2024

    Nothing published for this version

  18. 3.0.1 09 Jul 2024

    Nothing published for this version

  19. 3.0.0 25 Jun 2024

    Nothing published for this version

  20. 3.0.0-beta 07 Jun 2024 pre-release

    Nothing published for this version

  21. 2.8.2 15 Mar 2024

    Nothing published for this version

  22. 2.8.1 09 Feb 2024

    Nothing published for this version

  23. 2.8.0 11 Dec 2023

    Nothing published for this version

  24. 2.7.1 01 Nov 2023

    Nothing published for this version

  25. 2.7.0 27 Sep 2023

    Nothing published for this version

  26. 2.7.0-beta.1 18 Sep 2023 pre-release

    Nothing published for this version

  27. 2.7.0-beta 30 Aug 2023 pre-release

    Nothing published for this version

  28. 2.6.1 16 Aug 2023

    Nothing published for this version

  29. 2.6.0 22 Jun 2023

    Nothing published for this version

  30. 2.5.0 19 Apr 2023

    Nothing published for this version

  31. 2.4.0 01 Mar 2023

    Nothing published for this version

  32. 2.4.0-beta.2 09 Feb 2023 pre-release

    Nothing published for this version

  33. 2.4.0-beta.1 31 Jan 2023 pre-release

    Nothing published for this version

  34. 2.4.0-beta 13 Jan 2023 pre-release

    Nothing published for this version

  35. 2.3.1 03 Oct 2022

    Nothing published for this version

  36. 2.3.0 19 Jul 2022

    Nothing published for this version

  37. 2.3.0-beta 07 Jun 2022 pre-release

    Nothing published for this version

  38. 2.2.2 03 Jun 2022

    Nothing published for this version

  39. 2.2.1 22 Apr 2022

    Nothing published for this version

  40. 2.2.0 14 Apr 2022

    Nothing published for this version

  41. 2.2.0-beta 28 Mar 2022 pre-release

    Nothing published for this version

  42. 2.1.0 14 Dec 2021

    Nothing published for this version

  43. 2.1.0-beta 16 Nov 2021 pre-release

    Nothing published for this version

  44. 2.0.2 12 Nov 2021

    Nothing published for this version

  45. 2.0.1 12 Oct 2021

    Nothing published for this version

  46. 2.0.0 07 Sep 2021

    Nothing published for this version

  47. 2.0.0-beta.3 06 Aug 2021 pre-release

    Nothing published for this version

  48. 2.0.0-beta.2 25 Jun 2021 pre-release

    Nothing published for this version

  49. 2.0.0-beta.1 01 Jun 2021 pre-release

    Nothing published for this version

  50. 2.0.0-beta 14 May 2021 pre-release

    Nothing published for this version

  51. 2.0.0-alpha.1 09 Apr 2021 pre-release

    Nothing published for this version

  52. 2.0.0-alpha 30 Jan 2021 pre-release

    Nothing published for this version

  53. 1.2.5 14 Dec 2021

    Nothing published for this version

  54. 1.2.4 12 Nov 2021

    Nothing published for this version

  55. 1.2.3 25 Aug 2021

    Nothing published for this version

  56. 1.2.2 09 Jun 2021

    Nothing published for this version

  57. 1.2.1 06 Apr 2021

    Nothing published for this version

  58. 1.2.0 16 Feb 2021

    Nothing published for this version

  59. 1.1.1 01 Sep 2020

    Nothing published for this version

  60. 1.1.0 19 Aug 2020

    Nothing published for this version

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