Skip to content

release v2.8.0 #999

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ homepage = "https://www.mongodb.com/docs/drivers/rust/"
license = "Apache-2.0"
readme = "README.md"
name = "mongodb"
version = "2.7.0"
version = "2.8.0"

exclude = [
"etc/**",
Expand Down Expand Up @@ -92,7 +92,7 @@ async-executor = { version = "=1.5.1", optional = true } # TODO RUST-1768: remo
async-trait = "0.1.42"
base64 = "0.13.0"
bitflags = "1.1.0"
bson = { git = "https://github.com/mongodb/bson-rust", branch = "main" }
bson = "2.8.0"
chrono = { version = "0.4.7", default-features = false, features = ["clock", "std"] }
derivative = "2.1.1"
derive_more = "0.99.17"
Expand All @@ -106,7 +106,7 @@ hmac = "0.12.1"
lazy_static = "1.4.0"
log = { version = "0.4.17", optional = true }
md-5 = "0.10.1"
mongocrypt = { git = "https://github.com/mongodb/libmongocrypt-rust.git", branch = "main", optional = true }
mongocrypt = { version = "0.1.2", optional = true }
num_cpus = { version = "1.13.1", optional = true }
openssl = { version = "0.10.38", optional = true }
openssl-probe = { version = "0.1.5", optional = true }
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ The driver tests against Linux, MacOS, and Windows in CI.
The driver is available on [crates.io](https://crates.io/crates/mongodb). To use the driver in your application, simply add it to your project's `Cargo.toml`.
```toml
[dependencies]
mongodb = "2.7.0"
mongodb = "2.8.0"
```

Version 1 of this crate has reached end of life and will no longer be receiving any updates or bug fixes, so all users are recommended to always depend on the latest 2.x release. See the [2.0.0 release notes](https://github.com/mongodb/mongo-rust-driver/releases/tag/v2.0.0) for migration information if upgrading from a 1.x version.
Expand All @@ -55,7 +55,7 @@ The driver supports both of the most popular async runtime crates, namely [`toki
For example, to instruct the driver to work with [`async-std`](https://crates.io/crates/async-std), add the following to your `Cargo.toml`:
```toml
[dependencies.mongodb]
version = "2.7.0"
version = "2.8.0"
default-features = false
features = ["async-std-runtime"]
```
Expand All @@ -64,7 +64,7 @@ features = ["async-std-runtime"]
The driver also provides a blocking sync API. To enable this, add the `"sync"` or `"tokio-sync"` feature to your `Cargo.toml`:
```toml
[dependencies.mongodb]
version = "2.7.0"
version = "2.8.0"
features = ["tokio-sync"]
```
Using the `"sync"` feature also requires using `default-features = false`.
Expand Down
2 changes: 1 addition & 1 deletion etc/update_version/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ fn main() {
pending.apply(&bson_version_loc, &format!("{:?}", bson));
}
if let Some(mongocrypt) = args.mongocrypt {
pending.apply(&mongocrypt_version_loc, &format!("{:?}", mongocrypt));
pending.apply(&mongocrypt_version_loc, &format!("{{ version = {:?}, optional = true }}", mongocrypt));
}
pending.write();
}
4 changes: 2 additions & 2 deletions manual/src/installation_features.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ The driver supports both of the most popular async runtime crates, namely [`toki
For example, to instruct the driver to work with [`async-std`](https://crates.io/crates/async-std), add the following to your `Cargo.toml`:
```toml
[dependencies.mongodb]
version = "2.7.0"
version = "2.8.0"
default-features = false
features = ["async-std-runtime"]
```
Expand All @@ -22,7 +22,7 @@ features = ["async-std-runtime"]
The driver also provides a blocking sync API. To enable this, add the `"sync"` or `"tokio-sync"` feature to your `Cargo.toml`:
```toml
[dependencies.mongodb]
version = "2.7.0"
version = "2.8.0"
features = ["tokio-sync"]
```
Using the `"sync"` feature also requires using `default-features = false`.
Expand Down
8 changes: 4 additions & 4 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
//! your application, simply add it to your project's `Cargo.toml`.
//! ```toml
//! [dependencies]
//! mongodb = "2.7.0"
//! mongodb = "2.8.0"
//! ```
//!
//! ### Configuring the async runtime
Expand All @@ -30,7 +30,7 @@
//! add the following to your `Cargo.toml`:
//! ```toml
//! [dependencies.mongodb]
//! version = "2.7.0"
//! version = "2.8.0"
//! default-features = false
//! features = ["async-std-runtime"]
//! ```
Expand All @@ -40,7 +40,7 @@
//! feature to your `Cargo.toml`:
//! ```toml
//! [dependencies.mongodb]
//! version = "2.7.0"
//! version = "2.8.0"
//! features = ["tokio-sync"]
//! ```
//! Using the `"sync"` feature also requires using `default-features = false`.
Expand Down Expand Up @@ -306,7 +306,7 @@
)]
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
#![cfg_attr(test, type_length_limit = "80000000")]
#![doc(html_root_url = "https://docs.rs/mongodb/2.7.0")]
#![doc(html_root_url = "https://docs.rs/mongodb/2.8.0")]

#[cfg(all(feature = "aws-auth", feature = "async-std-runtime"))]
compile_error!("The `aws-auth` feature flag is only supported on the tokio runtime.");
Expand Down