Skip to content

v2.14.0

Latest
Compare
Choose a tag to compare
@abr-egn abr-egn released this 13 Mar 19:04
· 3 commits to main since this release
ff8742e

The MongoDB Rust driver team is pleased to announce the v2.14.0 release of the bson crate.

Highlighted Changes

This release adds:

  • the bson::binary::Vector type, providing efficient support for including
    densely packed arrays of numeric values in BSON documents,
  • functions to DateTime to add milliseconds and Duration,
  • Index impls for Bson and Document, allowing convenient shorthand element lookup.

This release also updates the MSRV to 1.81.

Full Release Notes

New Features

  • RUST-622 Add document square bracket indexing (#503)
  • Add functions to DateTime to add milliseconds and Duration (#506) (thanks @tyilo!)
  • RUST-2003 Binary vector subtype support (#513)

Improvements

Bugfixes