Skip to content

chore(deps): bump mongodb from 2.0.0-alpha.1 to 2.0.0-beta.3#20

Closed
dependabot[bot] wants to merge 1 commit intoreleasefrom
dependabot/cargo/mongodb-2.0.0-beta.3
Closed

chore(deps): bump mongodb from 2.0.0-alpha.1 to 2.0.0-beta.3#20
dependabot[bot] wants to merge 1 commit intoreleasefrom
dependabot/cargo/mongodb-2.0.0-beta.3

Conversation

@dependabot
Copy link
Copy Markdown

@dependabot dependabot Bot commented on behalf of github Aug 9, 2021

Bumps mongodb from 2.0.0-alpha.1 to 2.0.0-beta.3.

Release notes

Sourced from mongodb's releases.

v2.0.0-beta.3

Description

The MongoDB Rust driver team is pleased to announce the v2.0.0-beta.3 release of the mongodb crate. This is the fourth beta release in preparation for the 2.0.0 stable release, and it contains a few breaking changes, API improvements, and bug fixes that were not included in the previous betas. As with the previous betas, we do not intend to make any further breaking changes before v2.0.0, but we may do so in another beta if any issues arise before then.

Highlighted changes

The following sections detail some of the more important changes included in this release. For a full list of changes, see the Full Release Notes section.

Update version of bson to v2.0.0-beta.3

The exported version of bson was updated to v2.0.0-beta.3, which includes its own set of changes. Check out the bson release notes for more information.

Support for transactions on sharded topologies (#408)

Support for replica set transactions was introduced in a previous release, and this release expands that support to include sharded clusters! Note that sharded transactions are only supported in MongoDB 4.2+.

Direct BSON serialization / deserialization (#389, #406)

The driver was updated to leverage the new raw BSON serialization / deserialization functionality introduced in version 2.0.0-beta.3 of the bson crate, significantly improving the performance of reads and inserts. Initial (rough) benchmarks indicate that large inserts and reads could execute in half the time (or less) than they used to.

Note that as part of this, the generic bound on Collection is now required to be Sync and Send.

Versioned API support (#401)

MongoDB 5.0 introduced the Versioned API, and this release includes support for specifying it via the ClientOptions.

Full Release Notes

New Features

  • RUST-97 Support sharded transactions recovery token (#398)
  • RUST-122 Support mongos pinning for sharded transactions (#383)
  • RUST-732 Mark the versioned API options public. (#401)
  • RUST-885 Support snapshot sessions (#390)
  • RUST-666 Add options for timeseries collection creation (#381)

Improvements

  • RUST-901 Bump bson dependency to 2.0.0-beta.3
  • RUST-870 Deserialize server response directly from raw BSON bytes (#389) (breaking)
  • RUST-871 Serialize directly to BSON bytes in insert operations (#406)
  • RUST-725 Use "hello" for handshake and heartbeat when an API version is declared (#380)
  • RUST-768 Pass versioned API parameters to getMore and transaction-continuing commands. (#397)
  • RUST-836 Support the 'let' option for aggregate (#391)
  • RUST-887 Use HashMap::contains in Error::contains_label (#386)

Bugfixes

  • RUST-570 Improve compile times of the test suite (#412)
  • RUST-793 Reduce size of returned futures (#417)
  • RUST-945 Check that explicit sessions were created on the correct client (#405)

... (truncated)

Commits
  • 6bd7b39 release v2.0.0-beta.3
  • 5d09bf4 RUST-793 Reduce size of returned futures (#417)
  • 114a519 RUST-944 Integration tests for observeSensitiveCommands (#416)
  • 7f03ec5 RUST-871 Serialize directly to BSON bytes in insert operations (#406)
  • 8edbf66 RUST-734 Document support for sharded transactions
  • 30def14 RUST-97 Support sharded transactions recovery token (#398)
  • f77590c RUST-122 Support mongos pinning for sharded transactions (#383)
  • 92a2764 RUST-859 Improve bson_util function consistency (#411)
  • 49ff41d minor: ignore .DS_Store files
  • 77b6f01 RUST-945 Check that explicit sessions were created on the correct client (#405)
  • 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 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)

@dependabot @github
Copy link
Copy Markdown
Author

dependabot Bot commented on behalf of github Aug 9, 2021

The following labels could not be found: domain: deps.

Bumps [mongodb](https://github.com/mongodb/mongo-rust-driver) from 2.0.0-alpha.1 to 2.0.0-beta.3.
- [Release notes](https://github.com/mongodb/mongo-rust-driver/releases)
- [Commits](mongodb/mongo-rust-driver@v2.0.0-alpha.1...v2.0.0-beta.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/cargo/mongodb-2.0.0-beta.3 branch from 782c3ee to c154746 Compare August 20, 2021 22:04
@dependabot @github
Copy link
Copy Markdown
Author

dependabot Bot commented on behalf of github Sep 8, 2021

Superseded by #29.

@dependabot dependabot Bot closed this Sep 8, 2021
@dependabot dependabot Bot deleted the dependabot/cargo/mongodb-2.0.0-beta.3 branch September 8, 2021 04:13
moogeric pushed a commit that referenced this pull request Oct 27, 2021
* refactor(exec source) Address review comments

Signed-off-by: Stuart Broad <stuart@moogsoft.com>

* refactor(exec source) Address review comments

Signed-off-by: Stuart Broad <stuart@moogsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

0 participants