Skip to content

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Sep 8, 2025

Bumps mongodb from 2.8.2 to 3.3.0.

Release notes

Sourced from mongodb's releases.

v3.3.0

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

  • RUST-1891 Implement Default on results structs (#1289)
  • RUST-2140 Support the nsType field for change streams (#1316)
  • RUST-2087 Add hint option to distinct (#1341)
  • RUST-2090 gridfs helpers (#1351)
  • RUST-2198 Add run_raw_command method (#1356) (thanks @​beckerinj!)
  • RUST-2166 Update convenient transactions API to use async closures (#1372)
  • RUST-2217 Optionally support bson crate 3.0 (#1380)
  • RUST-2235 Implement GSSAPI auth support for Linux and macOS (#1413)
  • RUST-2245 Implement GSSAPI auth support for Windows (#1444)
  • RUST-2078 Support QE with bulk write (#1445)

Improvements

  • RUST-1765 Make slash between hosts and options in the URI optional (#1314)
  • RUST-1954 Disallow commas in authMechanismProperties values (#1315)
  • RUST-2171 Update rustls to 0.23 (#1322) (thanks @​ctz!)
  • RUST-2020 Ignore speculative authentication on reauthentication (#1320)
  • RUST-2167 Deprecate hedged reads (#1330)
  • RUST-2071 Increase batchSize for find when batchSize == limit (#1348)
  • RUST-2095 Add an error message when marking primaries stale (#1346)
  • RUST-663 Support $merge and $out executing on secondaries (#1360)
  • RUST-1826 Use serde attribute to remove empty write concerns (#1392)
  • RUST-2104 Implement From<std::net::SocketAddr> for ServerAddress (#1396)
  • Update rustls to non-yanked version (#1439)

... (truncated)

Commits
  • 97d7aab release v3.3.0 (#1468)
  • 1a1f304 RUST-2142 Pre-3.0 release tooling update (#1467)
  • 53fea85 Bump the rust-dependencies group with 21 updates (#1465)
  • 3e8f2ab Always use "admin" target_db during handshake (#1463)
  • 695a66a RUST-2190 Remove support for server 4.0 (#1461)
  • 330ced1 RUST-2078 Support QE with bulk write (#1445)
  • d3a752d RUST-2184 Accept any BSON number for CreateCollectionOptions::size (#1460)
  • 7660796 Bump the rust-dependencies group with 35 updates (#1459)
  • 2cf619c RUST-2157 Initial framework for autogenerated Atlas Search helpers (#1451)
  • 881efb7 minor: disable AWS authentication tests for patches (#1458)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [mongodb](https://github.com/mongodb/mongo-rust-driver) from 2.8.2 to 3.3.0.
- [Release notes](https://github.com/mongodb/mongo-rust-driver/releases)
- [Commits](mongodb/mongo-rust-driver@v2.8.2...v3.3.0)

---
updated-dependencies:
- dependency-name: mongodb
  dependency-version: 3.3.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Sep 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Pull requests that update rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants