v2.9.0
The MongoDB Rust driver team is pleased to announce the v2.9.0 release of the bson crate.
Highlighted Changes
This release adds several externally contributed improvements!
- A new
RawItertype that iterates over elements in a document without deserializing them, - An improvement to the
docandbsonmacros (and theirrawcounterparts) that allows using types that implementInto<Bson>orInto<RawBson>, - An impl of
From<&mut T>forBsonfor types that implementInto<Bson>, - A smaller dependency tree thanks to updating the indexmap crate,
- And a fix for the
serde_with3.x support for theUuidtype.
Full Release Notes
New Features
- RUST-1815 provide lazy iterator implementation (thanks @tychoish!)
- RUST-1716 Add BSON Binary Data subtype Sensitive (#454)
Improvements
- RUST-1822 Allow using the {,raw}{bson,doc} with types implementing Into<{,Raw}Bson> (#450) (thanks @tyilo!)
- RUST-1825 Implement From<&mut T> for Bson (#452) (thanks @tyilo!)
- RUST-1814 minor: bump indexmap to 2.1.0 (#448) (thanks @froydnj!)