cargo mongodb 2.5.0
v2.5.0

latest releases: 3.1.0, 3.0.1, 3.0.0...
17 months ago

The MongoDB Rust driver team is pleased to announce the v2.5.0 release of the mongodb crate, now available for download from crates.io.

Highlighted Changes

In-Use Encryption: Automatically Create Keys

This release adds the ClientEncryption::create_encrypted_collection helper method, which will automatically create encryption keys as needed when creating a collection with the encrypted_fields option.

Convenient Transactions

This release adds the ClientSession::with_transaction helper method, which will handle automatically creating, retrying, and committing or aborting a transaction.

Included Changes

Below are a selected list of changes with user impact; for a full list of changes see this GitHub query.

New Features

Improvements

  • RUST-1069 Defer implicit session check out until after connection check out (#811)
  • RUST-1582 Expose collection.client() as public (#822) (Thanks LuisOsta!)
  • RUST-1503 Test csfle against older server versions (#832)
  • RUST-1607: allow uuidRepresentation in connection string (#838) (Thanks terakilobyte!)
  • RUST-1501 Collect FaaS platform metadata (#844)
  • RUST-1585 Do not perform server selection to determine sessions support (#854)

Bugfixes

Don't miss a new mongodb release

NewReleases is sending notifications on new releases.