diff --git a/config/redirects b/config/redirects index 18ec6d26..28d9091c 100644 --- a/config/redirects +++ b/config/redirects @@ -1,6 +1,6 @@ define: prefix docs/drivers/rust define: base https://www.mongodb.com/${prefix} -define: versions v2.7 v2.8 master +define: versions v2.7 v2.8 v3.0 master symlink: current -> master diff --git a/snooty.toml b/snooty.toml index 61c98a9f..f483dad0 100644 --- a/snooty.toml +++ b/snooty.toml @@ -21,11 +21,12 @@ driver-long = "MongoDB Rust Driver" driver-short = "Rust driver" server = "MongoDB Server" docs-branch = "master" # always set this to the docs branch (i.e. master, v2.6, v2.5, etc.) -version = "2.8.2" # always set this to the driver version (i.e. 2.6.0, 2.5.0, etc.) +version = "3.0.1" # always set this to the driver version (i.e. 2.6.0, 2.5.0, etc.) min-rust-version = "1.60" # always set this to the minimum supported Rust version api = "https://docs.rs/mongodb/{+version+}/mongodb" -bson-version = "2.8.0" +bson-version = "2.11.0" bson-api = "https://docs.rs/bson/{+bson-version+}/bson" stable-api = "Stable API" tracing-version = "0.1.37" tracing-sub-version = "0.3.17" +driver-source = "https://github.com/mongodb/mongo-rust-driver" diff --git a/source/includes/mongodb-compatibility-table-rust.rst b/source/includes/mongodb-compatibility-table-rust.rst index 27a38336..49c1949d 100644 --- a/source/includes/mongodb-compatibility-table-rust.rst +++ b/source/includes/mongodb-compatibility-table-rust.rst @@ -11,6 +11,14 @@ - MongoDB 4.2 - MongoDB 4.0 - MongoDB 3.6 + * - 3.0 [#2.5-onwards-limitation]_ + - ⊛ + - ✓ + - ✓ + - ✓ + - ✓ + - ✓ + - ✓ * - 2.8 [#2.5-onwards-limitation]_ - ⊛ - ✓ diff --git a/source/whats-new.txt b/source/whats-new.txt index ee190f43..914c30b7 100644 --- a/source/whats-new.txt +++ b/source/whats-new.txt @@ -20,11 +20,29 @@ What's New Learn about new features, improvements, and fixes introduced in the following versions of the {+driver-long+}: +* :ref:`Version 3.0.1 ` * :ref:`Version 3.0 ` * :ref:`Version 2.8 ` * :ref:`Version 2.7 ` * :ref:`Version 2.6 ` +.. _rust-version-3.0.1: + +What's New in 3.0.1 +--------------------- + +The {+driver-short+} v3.0.1 release includes the following features, +improvements, and fixes: + +- Fixes an issue in which aggregations wouldn't compile when run within explicit + sessions and also implemented custom types. + +- Fixes an issue in which the ``Collection::watch()`` method didn't use the type + parameter of the ``Collection`` instance it was run on. + +To learn more about this release, see the `v3.0.1 Release Notes <{+driver-source+}/releases/tag/v3.0.1>`__ +on GitHub. + .. _rust-version-3.0: What's New in 3.0 @@ -81,7 +99,7 @@ The {+driver-short+} v3.0 release includes the following features, improvements, structs. To learn more about this release, see the `v3.0 Migration Guide -`__ +<{+driver-source+}/blob/main/migration-3.0.md>`__ on GitHub. .. _rust-version-2.8: @@ -106,7 +124,7 @@ improvements, and fixes: To learn more about this release, see the `v2.8.0 Release Highlights -`__ +<{+driver-source+}/releases/tag/v2.8.0>`__ on GitHub. .. _rust-version-2.7: @@ -156,7 +174,7 @@ improvements, and fixes: To learn more about this release, see the `v2.7.0 Release Highlights -`__ +<{+driver-source+}/releases/tag/v2.7.0>`__ on GitHub. .. _rust-version-2.6: @@ -191,5 +209,5 @@ improvements, and fixes: To learn more about this release, see the `v2.6.0 Release Highlights -`__ +<{+driver-source+}/releases/tag/v2.6.0>`__ on GitHub.