Skip to content

chore(deps): update rust crate mongodb to v3.8.0 - #397

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/mongodb-3.x-lockfile
Open

chore(deps): update rust crate mongodb to v3.8.0#397
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/mongodb-3.x-lockfile

Conversation

@renovate

@renovate renovate Bot commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
mongodb (source) dependencies minor 3.6.03.8.0

Release Notes

mongodb/mongo-rust-driver (mongodb)

v3.8.0

Compare Source

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
  • RUST-2402 QE string API GA (#​1727)
  • RUST-2376 Optionally redact errors containing URI elements (#​1708)
Improvements
  • RUST-2388 Add AGENTS.md (#​1706)
  • RUST-2299 Remove warnings about hickory performance (#​1712)
  • RUST-2358 Update attribute name in OpenTelemetry Spec (#​1713)
  • RUST-2248 Add deprecation warnings for explicit MONGODB-AWS auth properties (#​1716)
  • RUST-2369 Add constructor methods for ReadPreference (#​1732) (thanks @​OnjoujiToki!)
Bugfixes
  • RUST-2437 Fix performance regression in Client::shutdown (#​1718)

v3.7.0

Compare Source

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

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@codecov

codecov Bot commented Jul 24, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 68.20%. Comparing base (4c0df5b) to head (29b9301).
⚠️ Report is 20 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #397   +/-   ##
=======================================
  Coverage   68.20%   68.20%           
=======================================
  Files           4        4           
  Lines         456      456           
=======================================
  Hits          311      311           
  Misses        145      145           
Flag Coverage Δ
unittests 68.20% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants