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

Update Rust crate bson to v2.12.0 #330

Merged
merged 1 commit into from
Sep 17, 2024
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 17, 2024

This PR contains the following updates:

Package Type Update Change
bson dependencies minor 2.11.0 -> 2.12.0

Release Notes

mongodb/bson-rust (bson)

v2.12.0

Compare Source

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!)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested a review from auguwu as a code owner September 17, 2024 00:19
@renovate renovate bot force-pushed the renovate/bson-2.x-lockfile branch 4 times, most recently from f119a09 to a43669b Compare September 17, 2024 14:20
@renovate renovate bot force-pushed the renovate/bson-2.x-lockfile branch from a43669b to c94142c Compare September 17, 2024 17:02
@renovate renovate bot merged commit c3bed16 into master Sep 17, 2024
6 checks passed
@renovate renovate bot deleted the renovate/bson-2.x-lockfile branch September 17, 2024 19:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants