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 bson from 2.11.0 to 2.12.0 #512

Merged
merged 1 commit into from
Sep 12, 2024
Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 12, 2024

Bumps bson from 2.11.0 to 2.12.0.

Release notes

Sourced from bson's releases.

v2.12.0

The MongoDB Rust driver team is pleased to announce the v2.12.0 release of the bson crate.

Highlighted Changes

This release was largely driven by external contributions!

  • An optional implementation of Hash and Eq for the Bson family of types
  • ObjectId::from_parts, allowing direct construction of an ObjectId from its component values
  • Helpers for serializing Option<chrono::DateTime<_>> as Option<bson::DateTime>
  • A fix for a panic when parsing specific malformed input data into a Decimal128

We've also added optional (off by default) integration with the serde_path_to_error crate, which provides paths to the precise point of failure for deserialization of nested data structures.

Full Release Notes

New Features

  • RUST-2027 Impl Hash/Eq for BSON (thanks @@​NineLord!)
  • RUST-2017 Allow constructing an ObjectId from its parts (thanks @​tyilo!)
  • RUST-1987 Support serializing Option<chrono::DateTime<_>> as Option<bson::DateTime> (thanks @​lazureykis!)
  • RUST-1874 Add optional integration with serde_path_to_error

Improvements

  • RUST-1773 Merge duplicate extjson map parsing between OwnedOrBorrowedRawBsonVisitor and SeededVisitor

Bugfixes

  • RUST-2028 Fix Decimal128 panic when parsing strings w/o a char boundary at idx 34 (thanks @​arthurprs!)
Commits
  • 8e0fb3b release v2.12.0 (#498)
  • 692cd75 RUST-2028 Fix Decimal128 panic when parsing strings w/o a char boundary at id...
  • 28e3925 RUST-2027 Impl Hash/Eq for BSON (#495)
  • 20c56f0 RUST-2017 Add method to construct an ObjectId from its parts (#492)
  • a72431e RUST-1874 Add optional integration with serde_path_to_error (#488)
  • d0f5d23 minor: update bson to clippy 1.80.0 (#487)
  • 2e8fb00 RUST-1992 Factor raw bson encoding out of RawDocumentBuf (#486)
  • 1c6e65a RUST-1992 Minor parsing cleanup (#485)
  • 39d90f6 RUST-1992 Convert raw deserializer to use raw document iteration (#483)
  • b554142 RUST-1987 Add serde helper module for Option\<DateTime> (#482)
  • 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 [bson](https://github.com/mongodb/bson-rust) from 2.11.0 to 2.12.0.
- [Release notes](https://github.com/mongodb/bson-rust/releases)
- [Commits](mongodb/bson-rust@v2.11.0...v2.12.0)

---
updated-dependencies:
- dependency-name: bson
  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 Sep 12, 2024
Copy link

codecov bot commented Sep 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (main@9df54f5). Learn more about missing BASE report.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #512   +/-   ##
=======================================
  Coverage        ?   25.91%           
=======================================
  Files           ?       29           
  Lines           ?     1686           
  Branches        ?        0           
=======================================
  Hits            ?      437           
  Misses          ?     1249           
  Partials        ?        0           
Flag Coverage Δ
unittests 25.91% <ø> (?)

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

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

@jessfraz jessfraz merged commit eede680 into main Sep 12, 2024
8 checks passed
@jessfraz jessfraz deleted the dependabot/cargo/bson-2.12.0 branch September 12, 2024 19:14
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.

1 participant