The MongoDB Rust driver team is pleased to announce the v3.4.1 release of the mongodb crate, now available for download from crates.io.
Highlighted Changes
Atlas Search Helpers
The driver now includes helpers for building Atlas Search aggregation pipelines. See the documentation for more details and examples.
OpenTelemetry Support
The driver now supports tracing database commands and driver operations for OpenTelemetry.
Text Indexes for Queryable Encryption
The driver now supports text indexes for both automatic and explicit encryption. Note that this feature is in preview and should only be used in experimental workloads. The text-indexes-unstable feature flag must be enabled to use text indexes. The GA version of this feature may not be backwards-compatible with the preview version.
Dependency Improvements
Thank you to @tottoto and @FalkWoldmann for their several contributions to update and refine our dependencies!
Full Release Notes
Impactful changes are listed below; for a complete list of changes, see this GitHub query.
New Features
- RUST-2138 Add optional support for OpenTelemetry (#1495)
- RUST-1308 Implement
DisplayandSerializeforConnectionString(#1494) - RUST-2237 Support for text indexes in explicit encryption (#1479)
- RUST-1405 Expose full server response in
Error(#1474) - RUST-2113 Add has_next to cursor API (#1485)
- RUST-2203 Allow client metadata to be appended post-construction (#1471)
- RUST-2157 Complete set of Atlas Search helpers (#1462)
- RUST-2137 Support $lookup in CSFLE and QE (#1521)
Improvements
Bug Fixes
- TUNE-449 Fix a potential duration overflow (#1530)
Note
Version 3.4.0 of the driver was skipped due to an issue in the release process.