Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump mongodb from 2.6.0 to 2.8.1 #188

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 1, 2024

Bumps mongodb from 2.6.0 to 2.8.1.

Release notes

Sourced from mongodb's releases.

v2.8.1

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

This release fixes two bugs:

  • on-demand KMS credentials wouldn't work with automatic encryption, and
  • initial connection responses from the server could fail to parse under certain circumstances.

Full Release Notes

Bugfixes

  • RUST-1883 Set use_need_kms_credentials_state unconditionally when creating a new ClientState (#1018)
  • RUST-1841 Allow double-valued connectionIds (#1025)

v2.8.0

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

Highlighted Changes

Search Index Management Helpers

The Collection type now has the create_search_index, create_search_indexes, update_search_index, drop_search_index, and list_search_indexes methods, allowing comprehensive management of search indexes from client code.

Reliability Improvements

More error types will be automatically retried, and retries will avoid mongos backends with network connectivity issues. Also note that the documentation for with_transaction has been updated to clarify error handling requirements to avoid a deadlock.

Included Changes

Below are a selected list of changes with user impact; for a full list of changes see this GitHub query.

New Features

  • RUST-1703 Add docker and kubernetes metrics (#940)
  • RUST-1701 Log when CosmosDB or DocumentDB are detected (#958)
  • RUST-1707 Add durations to connection pool events (#976)
  • RUST-933 Add support for the srvMaxHosts option (#977)
  • RUST-1667 Add search index management helpers (#989)

Improvements

  • RUST-877 Delay replacement document serialization until Operation::build (#942)
  • RUST-1763 deprecate CollectionOptions::human_readable_serialization (#957)
  • RUST-1414 disable causal consistency for implicit sessions (#969)
  • RUST-935 direct retries to different mongos (#968)
  • docs: remove pointless recommendation (#973) (thanks @​cailloumajor!)
  • RUST-1780 Bump MSRV to 1.61.0, upgrade ahash to 0.8.5 in MSRV-Cargo.lock (#981) (thanks @​stIncMale!)
  • RUST-1676 Simplify GenericCursor by refactoring the GetMoreProvider trait into a generic struct (#983) (thanks @​stIncMale!)
  • RUST-1804 Replace async_once with tokio::sync::OnceCell (#992) (thanks @​Expyron!)
  • RUST-1786 Make ReadConcernMajorityNotAvailableYet a retryable read error (#996)
  • RUST-1785 Make ExceededTimeLimit a read-retryable error (#997)
  • RUST-1788 Update docs for with_transaction to avoid infinite loop (#998)

... (truncated)

Commits
  • cad3d7c release v2.8.1
  • ce26e04 RUST-1841 Allow double-valued connectionIds (#1025)
  • a264462 RUST-1883 Set use_need_kms_credentials_state unconditionally when creating a ...
  • 5bc56ca release v2.8.0 (#999)
  • bda4509 RUST-1788 Update docs for with_transaction to avoid infinite loop (#998)
  • e87f4dd RUST-1785 Make ExceededTimeLimit a read-retryable error (#997)
  • 8b22217 RUST-1786 Make ReadConcernMajorityNotAvailableYet a retryable read error (#996)
  • a2e277e RUST-1806 Fix in use encryption tests (#995)
  • a30274b RUST-470 Increase replSetStepDown timeout (#994)
  • 00a03ab RUST-1796 Test against new serverless proxy (#993)
  • 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.6.0 to 2.8.1.
- [Release notes](https://github.com/mongodb/mongo-rust-driver/releases)
- [Commits](mongodb/mongo-rust-driver@v2.6.0...v2.8.1)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Mar 1, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github Apr 1, 2024

Superseded by #191.

@dependabot dependabot bot closed this Apr 1, 2024
@dependabot dependabot bot deleted the dependabot/cargo/mongodb-2.8.1 branch April 1, 2024 13:03
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