Skip to content
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
2 changes: 1 addition & 1 deletion config/redirects
Original file line number Diff line number Diff line change
@@ -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

Expand Down
5 changes: 3 additions & 2 deletions snooty.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
8 changes: 8 additions & 0 deletions source/includes/mongodb-compatibility-table-rust.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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]_
- ⊛
- ✓
Expand Down
26 changes: 22 additions & 4 deletions source/whats-new.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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 <rust-version-3.0.1>`
* :ref:`Version 3.0 <rust-version-3.0>`
* :ref:`Version 2.8 <rust-version-2.8>`
* :ref:`Version 2.7 <rust-version-2.7>`
* :ref:`Version 2.6 <rust-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
Expand Down Expand Up @@ -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
<https://github.com/mongodb/mongo-rust-driver/blob/main/migration-3.0.md>`__
<{+driver-source+}/blob/main/migration-3.0.md>`__
on GitHub.

.. _rust-version-2.8:
Expand All @@ -106,7 +124,7 @@ improvements, and fixes:

To learn more about this release, see the
`v2.8.0 Release Highlights
<https://github.com/mongodb/mongo-rust-driver/releases/tag/v2.8.0>`__
<{+driver-source+}/releases/tag/v2.8.0>`__
on GitHub.

.. _rust-version-2.7:
Expand Down Expand Up @@ -156,7 +174,7 @@ improvements, and fixes:

To learn more about this release, see the
`v2.7.0 Release Highlights
<https://github.com/mongodb/mongo-rust-driver/releases/tag/v2.7.0>`__
<{+driver-source+}/releases/tag/v2.7.0>`__
on GitHub.

.. _rust-version-2.6:
Expand Down Expand Up @@ -191,5 +209,5 @@ improvements, and fixes:

To learn more about this release, see the
`v2.6.0 Release Highlights
<https://github.com/mongodb/mongo-rust-driver/releases/tag/v2.6.0>`__
<{+driver-source+}/releases/tag/v2.6.0>`__
on GitHub.