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

build(deps): bump mongodb from 2.3.1 to 2.4.0 #214

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 10, 2023

Bumps mongodb from 2.3.1 to 2.4.0.

Release notes

Sourced from mongodb's releases.

v2.4.0

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

Highlighted Changes

In-Use Encryption

This release brings support for Client-Side Field Level Encryption and Queryable Encryption. For detailed installation and usage instructions, please see the Encryption section of the driver manual. Please note that the API is currently unstable and may change in breaking ways in future releases.

GridFS

This release adds support for GridFS, allowing storage and retrieval of files that exceed the BSON document size limit. Please see the documentation of the new gridfs module for more information.

Streaming Monitoring Protocol

This release can now use the streaming monitoring protocol with MongoDB 4.4+ servers, reducing the time it takes for the client to discover server state changes compared to the old polling protocol.

Tracing Integration

The driver now emits tracing events at points of interest. To consume these events, you must enable the driver’s tracing-unstable feature flag and either:

  • register a tracing Subscriber in your application (see the tracing docs), OR
  • register a log-compatible logger in your application (see the log documentation for details), and enable a log compatibility feature flag for tracing, as detailed here.

This API is considered unstable as the tracing crate has not reached 1.0 yet; future minor versions of the driver may upgrade the tracing dependency to a new version which is not backwards-compatible with Subscribers that depend on older versions of tracing.

Events will be emitted under the following targets:

  • mongodb::command: Events related to command execution starting, succeeding, or failing.
  • mongodb::connection: Events related to the driver’s underlying connection pools and their connections.

Future work will introduce events under additional targets and may add driver-defined tracing spans for intervals of interest.

MSRV Increase

The minimum supported Rust version (MSRV) for this crate is now Rust 1.57.

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-1384 Implement auto encryption (#717)
  • RUST-1385 Implement explicit encryption (#726)
  • RUST-1305 Use uuid 1.x internally and add support for bson uuid 1.x (#709)
  • RUST-1400 GridFS download methods (#747)
  • RUST-1478 GridFS upload methods (#751)
  • RUST-1401 Additional GridFS API (#763)
  • RUST-580 Add tracing integration and command tracing events (#757)
  • RUST-1510 Implement connection pool tracing messages (#766)

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

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

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 Apr 10, 2023
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Apr 24, 2023

Superseded by #220.

@dependabot dependabot bot closed this Apr 24, 2023
@dependabot dependabot bot deleted the dependabot/cargo/dev/mongodb-2.4.0 branch April 24, 2023 21:02
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