Skip to content

Commit 1b50208

Browse files
authored
DOCSP-46541: v3.2 release (#161)
1 parent 36cdfab commit 1b50208

File tree

6 files changed

+66
-6
lines changed

6 files changed

+66
-6
lines changed

config/redirects

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
define: prefix docs/drivers/rust
22
define: base https://www.mongodb.com/${prefix}
3-
define: versions v2.7 v2.8 v3.0 v3.1 master
3+
define: versions v2.7 v2.8 v3.0 v3.1 v3.2 master
44

55
symlink: current -> master
66

snooty.toml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,12 @@ sharedinclude_root = "https://raw.githubusercontent.com/10gen/docs-shared/main/"
2121
driver-long = "MongoDB Rust Driver"
2222
driver-short = "Rust driver"
2323
server = "MongoDB Server"
24-
docs-branch = "master" # always set this to the docs branch (i.e. master, v2.6, v2.5, etc.)
25-
version = "3.1.1" # always set this to the driver version (i.e. 2.6.0, 2.5.0, etc.)
26-
min-rust-version = "1.60" # always set this to the minimum supported Rust version
24+
# always set this to the docs branch (i.e. master, v2.6, v2.5, etc.)
25+
docs-branch = "master"
26+
# always set this to the driver version (i.e. 2.6.0, 2.5.0, etc.)
27+
version = "3.2.0"
28+
# always set this to the minimum supported Rust version
29+
min-rust-version = "1.71.1"
2730
api = "https://docs.rs/mongodb/{+version+}/mongodb"
2831
bson-version = "2.13.0"
2932
bson-api = "https://docs.rs/bson/{+bson-version+}/bson"

source/compatibility.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ The first column lists the driver version.
2727
Language Compatibility
2828
----------------------
2929

30+
The following table lists the Minimum Supported Rust Version for each
31+
version of the {+driver-short+}. The first column lists the driver
32+
version.
33+
3034
.. include:: /includes/language-compatibility-table-rust.rst
3135

3236
For more information on how to read the compatibility tables, see the guide on
Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,16 @@
1-
The {+driver-long+} requires Rust 1.60.0 or later.
1+
.. list-table::
2+
:header-rows: 1
3+
:stub-columns: 1
4+
:class: compatibility-large
5+
6+
* - Rust Driver Version
7+
- Minimum Supported Rust Version
8+
9+
* - 3.2
10+
- {+min-rust-version+}
11+
12+
* - 2.8 to 3.1
13+
- 1.61.0
14+
15+
* - 2.4 to 2.7
16+
- 1.57.0

source/includes/mongodb-compatibility-table-rust.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
- MongoDB 4.2
1313
- MongoDB 4.0
1414
- MongoDB 3.6
15-
* - 3.1 [#2.5-onwards-limitation]_
15+
* - 3.1 to 3.2 [#2.5-onwards-limitation]_
1616
- ✓
1717
- ✓
1818
- ✓

source/whats-new.txt

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,51 @@ What's New
2020
Learn about new features, improvements, and fixes introduced in the
2121
following versions of the {+driver-long+}:
2222

23+
* :ref:`Version 3.2 <rust-version-3.2>`
2324
* :ref:`Version 3.1 <rust-version-3.1>`
2425
* :ref:`Version 3.0.1 <rust-version-3.0.1>`
2526
* :ref:`Version 3.0 <rust-version-3.0>`
2627
* :ref:`Version 2.8 <rust-version-2.8>`
2728
* :ref:`Version 2.7 <rust-version-2.7>`
2829
* :ref:`Version 2.6 <rust-version-2.6>`
2930

31+
.. _rust-version-3.2:
32+
33+
What's New in 3.2
34+
-----------------
35+
36+
The {+driver-short+} v3.2 release includes the following features,
37+
improvements, and fixes:
38+
39+
- :red:`Important:` The next minor release will drop support for MongoDB
40+
Server version 4.0 and raise the minimum supported version to 4.2. We
41+
recommend making changes to your application to accommodate breaking changes.
42+
See the :manual:`Release Notes </release-notes/>` section in the Server manual to
43+
learn more about upgrading.
44+
45+
- Increases the Minimum Supported Rust Version to 1.71.1. To learn more
46+
about driver compatibility, see the :ref:`rust-compatibility` guide.
47+
48+
- Marks the in-use encryption feature as stable with the same backwards
49+
compatibility guarantees as the driver. The feature flag is named
50+
``in-use-encryption``. This is a policy change and the API is not
51+
changed from the previous release.
52+
53+
- Allows SRV hostnames with fewer than three parts.
54+
55+
- Allows you to supply a sort option when performing update operations.
56+
57+
- Adds OIDC authentication support for Kubernetes environments.
58+
59+
To use OIDC to authenticate from a Kubernetes environment, set the
60+
``authMechanismProperties`` connection option to ``ENVIRONMENT:k8s``
61+
in your connection string. You can use this feature when connecting to
62+
an environment running in Amazon's Elastic Kubernetes Service, Google
63+
Kubernetes Engine, or Azure Kubernetes Service.
64+
65+
To learn more about this release, see the `v3.2 Release Notes
66+
<{+driver-source+}/releases/tag/v3.2.0>`__ on GitHub.
67+
3068
.. _rust-version-3.1:
3169

3270
What's New in 3.1

0 commit comments

Comments
 (0)