v2.4.0
Description
The MongoDB Rust driver team is pleased to announce the v2.4.0 release of the bson
crate.
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 below.
Support for 1.x of the uuid
crate
The bson
crate now has a uuid-1
feature that provides an API for interoperation with versions 1.x of the uuid
crate, similar to the existing uuid-0_8
feature. Internal usage of uuid
now uses 1.x, so downstream crates without a need for 0.8 will no longer transitively depend on both version.
Builder for DateTime
values
The DateTime
type now provides a builder that allows convenient construction from a given year
, month
, day
, and optionally, an hour
, minute
, second
and millisecond
.
Full Release Notes
New Features
- RUST-1305 Add support for version 1.x of the uuid crate to the bson crate
- RUST-1198 Support creating bson::DateTime from a given year/month/date/hour/minute/second/millisecond