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

[Cargo]: Bump mongodb from 2.8.2 to 3.0.1 #158

Merged
merged 1 commit into from
Aug 19, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 19, 2024

Bumps mongodb from 2.8.2 to 3.0.1.

Release notes

Sourced from mongodb's releases.

v3.0.1

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

This release fixes two bugs:

  • Aggregations with both explicit sessions and custom types wouldn't compile, and
  • Collection::watch didn't use the Collection's type parameter

Full Release Notes

Bugfixes

  • RUST-1986 Use Collection type parameter for change streams (#1162)
  • RUST-1982 Fix aggregate with_type with explicit session (#1155)

v3.0.0

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

Highlighted Changes

Breaking Changes

3.0 introduces a wide variety of improvements that required backwards-incompatible API changes; in most cases these changes should require only minor updates in application code.

Most notably:

  • Fluent API: Async methods that accepted options have been updated to allow the individual options to be given directly in line with the call to reduce required boilerplate.
  • Events: 3.0 introduces the EventHandler type, which can be constructed from a callback, async callback, or an async channel sender.
  • Async Runtime: 3.0 only supports tokio; support for async-std has been discontinued.

For detailed information on breaking changes and examples of migrating from 2.x to 3.0, please see the migration guide.

Bulk Write

The Rust driver now implements the new Bulk Write specification, which supports performing mixed write operations against multiple namespaces in a minimized number of round-trips to the server. This feature is only available for early testing using MongoDB 8.0 release candidate binaries. This feature is not recommended for use in production until the stable release of MongoDB 8.0.

OIDC Authentication

The Rust driver can now authenticate using an OpenID Connect access token, including support for both the machine and human authentication flows, and automatic token acquisition for Azure and GCP.

Included Changes

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

Breaking Changes

  • RUST-1810 Clean up concern helpers (#1011)
  • RUST-1603 Support the authorized_collections option (#1033)
  • RUST-1876 Require T: Send + Sync for Collection (#1043)
  • RUST-1306 Move Compression enum behind compression feature flags (#1055)
  • RUST-1563 Make ReadPreferenceOptions optional (#1059)
  • RUST-1208 Future-proof features (#1062)
  • RUST-1764 Drop human_readable options in favor of HumanReadable (#1064)
  • RUST-1695 Use consistent defaults for TypedBuilder (#1072)

... (truncated)

Commits

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.0.1.
- [Release notes](https://github.com/mongodb/mongo-rust-driver/releases)
- [Commits](mongodb/mongo-rust-driver@v2.8.2...v3.0.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot requested a review from friendbear as a code owner August 19, 2024 19:03
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Aug 19, 2024
@friendbear friendbear self-assigned this Aug 19, 2024
@friendbear friendbear merged commit f32144b into develop Aug 19, 2024
1 check passed
@friendbear friendbear deleted the dependabot/cargo/develop/mongodb-3.0.1 branch August 19, 2024 23:06
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant