KiwiTalk / loco.rs

Loco Protocol Wrapper for Rust
Apache License 2.0
41 stars 5 forks source link

Update Rust crate bson to 1.2.4 #70

Closed renovate[bot] closed 1 year ago

renovate[bot] commented 1 year ago

Mend Renovate

This PR contains the following updates:

Package Type Update Change
bson dependencies minor 1.1.0 -> 1.2.4

Release Notes

mongodb/bson-rust ### [`v1.2.4`](https://togithub.com/mongodb/bson-rust/compare/v1.2.3...v1.2.4) [Compare Source](https://togithub.com/mongodb/bson-rust/compare/v1.2.3...v1.2.4) ### [`v1.2.3`](https://togithub.com/mongodb/bson-rust/releases/tag/v1.2.3) [Compare Source](https://togithub.com/mongodb/bson-rust/compare/v1.2.2...v1.2.3) ### Description The MongoDB Rust driver team is pleased to announce the `1.2.3` release of the `bson` crate. This release includes a number of important bug fixes. #### 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](#full-release-notes) section. ##### Deprecate the `decimal128` feature flag (RUST-960, [#​286](https://togithub.com/mongodb/bson-rust/issues/286)) It was determined that the BSON serialization format that is used when the experimental `decimal128` feature flag is enabled does not match the format expected by the database or other MongoDB tools and drivers. Because of this, it is not recommended for use and has been deprecated, and the flag will be removed altogether in `2.0.0`. See [#​282](https://togithub.com/mongodb/bson-rust/issues/282) for more details. If you are relying on this feature flag or are just interested in a complete decimal128 implementation, please let us know on [#​53](https://togithub.com/mongodb/bson-rust/issues/53). ### Full Release Notes #### Bug - RUST-755 Use zeroed rather than uninitialized memory for decimal128 deserialization ([#​263](https://togithub.com/mongodb/bson-rust/issues/263)) - Thanks for reporting [@​5225225](https://togithub.com/5225225)! - RUST-880 Fix crash when deserializing/serializing `Document` that contains decimal128 ([#​285](https://togithub.com/mongodb/bson-rust/issues/285)) - RUST-882 Fix or improve lossy `From` unsigned integer impls for `Bson` ([#​281](https://togithub.com/mongodb/bson-rust/issues/281)) - RUST-942 Properly generate 5 random bytes instead of 3 for `ObjectId`s ([#​286](https://togithub.com/mongodb/bson-rust/issues/286)) #### Improvement - RUST-960 Deprecate `decimal128` feature flag ([#​288](https://togithub.com/mongodb/bson-rust/issues/288)) ### [`v1.2.2`](https://togithub.com/mongodb/bson-rust/releases/tag/v1.2.2) [Compare Source](https://togithub.com/mongodb/bson-rust/compare/v1.2.1...v1.2.2) ### Release Notes The MongoDB Rust Driver team is pleased to announce the v1.2.2 release of the BSON library. This release updates the `base64` dependency to 0.13.0 (RUST-686). Thanks to [@​bugadani](https://togithub.com/bugadani) for contributing this fix! ### [`v1.2.1`](https://togithub.com/mongodb/bson-rust/releases/tag/v1.2.1) [Compare Source](https://togithub.com/mongodb/bson-rust/compare/v1.2.0...v1.2.1) ### Release Notes The MongoDB Rust Driver team is pleased to announce the v1.2.1 release of the BSON library. This release contains a fix for a crash that could occur in `Document::from_reader` when passed certain types of malformed input. Thank you to [@​5225225](https://togithub.com/5225225) for reporting the issue and [@​gperinazzo](https://togithub.com/gperinazzo) for fixing it! (RUST-713) ### [`v1.2.0`](https://togithub.com/mongodb/bson-rust/releases/tag/v1.2.0) [Compare Source](https://togithub.com/mongodb/bson-rust/compare/v1.1.0...v1.2.0) ### Description The MongoDB Rust Driver team is pleased to announce the v1.2.0 release of the BSON library. ### Release Notes #### Serde Integration Improvements This release contains several improvements to the library's integration with Serde. - [RUST-506](https://jira.mongodb.org/browse/RUST-506) introduces `serde_helpers.rs` which contains severals functions and modules to assist in customizing serialization and deserialization of user data types. These functions and modules are compatible with the Serde [serialize_with](https://serde.rs/field-attrs.html#serialize_with) and Serde [with](https://serde.rs/field-attrs.html#with) field attributes, respectively. - [RUST-507](https://jira.mongodb.org/browse/RUST-507) implements automatic deserialization of BSON number types into unsigned integer types. - [RUST-602](https://jira.mongodb.org/browse/RUST-602) implements automatic deserialization of the `ObjectId` type from a hexadecimal string. #### Other New Features - [RUST-648](https://jira.mongodb.org/browse/RUST-648) Reintroduce Document decoding with lossy UTF-8 encoding - [RUST-589](https://jira.mongodb.org/browse/RUST-589) Implement FromStr for ObjectId - [RUST-364](https://jira.mongodb.org/browse/RUST-364) Cache unique process value for oids - [RUST-554](https://jira.mongodb.org/browse/RUST-554) Support parsing $uuid as extended JSON representation for subtype 4 binary

Configuration

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

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

â™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

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



This PR has been generated by Mend Renovate. View repository job log here.