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 section.
Deprecate the decimal128
feature flag (RUST-960, #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 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.
Full Release Notes
Bug
- RUST-755 Use zeroed rather than uninitialized memory for decimal128 deserialization (#263)
- Thanks for reporting @5225225!
- RUST-880 Fix crash when deserializing/serializing
Document
that contains decimal128 (#285) - RUST-882 Fix or improve lossy
From
unsigned integer impls forBson
(#281) - RUST-942 Properly generate 5 random bytes instead of 3 for
ObjectId
s (#286)