Skip to content

Commit b819f28

Browse files
author
Chris Cho
authored
DOCSP-34988: v2.8.0 updates (#97)
1 parent dca5c09 commit b819f28

File tree

4 files changed

+46
-11
lines changed

4 files changed

+46
-11
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 master
3+
define: versions v2.7 v2.8 master
44

55
symlink: current -> master
66

snooty.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ driver-long = "MongoDB Rust Driver"
1919
driver-short = "Rust driver"
2020
server = "MongoDB Server"
2121
docs-branch = "master" # always set this to the docs branch (i.e. master, v2.6, v2.5, etc.)
22-
version = "2.7.1" # always set this to the driver version (i.e. 2.6.0, 2.5.0, etc.)
22+
version = "2.8.0" # always set this to the driver version (i.e. 2.6.0, 2.5.0, etc.)
2323
min-rust-version = "1.60" # always set this to the minimum supported Rust version
2424
api = "https://docs.rs/mongodb/{+version+}/mongodb"
25-
bson-version = "2.7.0"
25+
bson-version = "2.8.0"
2626
bson-api = "https://docs.rs/bson/{+bson-version+}/bson"
2727
stable-api = "Stable API"
2828
tracing-version = "0.1.37"

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,14 @@
1111
- MongoDB 4.2
1212
- MongoDB 4.0
1313
- MongoDB 3.6
14+
* - 2.8 [#2.5-onwards-limitation]_
15+
- ⊛
16+
- ✓
17+
- ✓
18+
- ✓
19+
- ✓
20+
- ✓
21+
- ✓
1422
* - 2.7 [#2.5-onwards-limitation]_
1523
- ⊛
1624
- ✓

source/whats-new.txt

Lines changed: 35 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ What's New
77
.. facet::
88
:name: genre
99
:values: reference
10-
10+
1111
.. meta::
12-
:keywords: update, new feature, deprecation, upgrade
12+
:keywords: update, new feature, deprecation, upgrade, driver v2.6, driver v2.7, driver v2.8
1313

1414
.. contents:: On this page
1515
:local:
@@ -20,9 +20,36 @@ 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 2.8 <rust-version-2.8>`
2324
* :ref:`Version 2.7 <rust-version-2.7>`
2425
* :ref:`Version 2.6 <rust-version-2.6>`
2526

27+
.. _rust-version-2.8:
28+
29+
What's New in 2.8
30+
-----------------
31+
32+
The {+driver-short+} v2.8 release includes the following features,
33+
improvements, and fixes:
34+
35+
- Adds the following MongoDB Atlas search index management helpers:
36+
37+
- `create_search_index() <https://docs.rs/mongodb/2.8.0/mongodb/struct.Collection.html#method.create_search_index>`__
38+
- `create_search_indexes() <https://docs.rs/mongodb/2.8.0/mongodb/struct.Collection.html#method.create_search_indexes>`__
39+
- `update_search_index() <https://docs.rs/mongodb/2.8.0/mongodb/struct.Collection.html#method.update_search_index>`__
40+
- `drop_search_index() <https://docs.rs/mongodb/2.8.0/mongodb/struct.Collection.html#method.drop_search_index>`__
41+
- `list_search_indexes() <https://docs.rs/mongodb/2.8.0/mongodb/struct.Collection.html#method.list_search_indexes>`__
42+
43+
- Improves network connectivity and operation reliability.
44+
The driver avoids retrying network connections for ``mongos`` backends
45+
experiencing network connectivity issues. It also performs retries on a
46+
greater range of error types encountered.
47+
48+
To learn more about this release, see the
49+
`v2.8.0 Release Highlights
50+
<https://github.com/mongodb/mongo-rust-driver/releases/tag/v2.8.0>`__
51+
on GitHub.
52+
2653
.. _rust-version-2.7:
2754

2855
What's New in 2.7
@@ -35,9 +62,9 @@ improvements, and fixes:
3562
``CollectionOptions`` struct. This option instructs the
3663
driver to serialize values passed to CRUD methods as a human-readable
3764
format. The default value of this option is ``false``.
38-
65+
3966
.. warning::
40-
67+
4168
If you set the value of ``human_readable_serialization`` to
4269
``true``, your insert operations might run more slowly.
4370

@@ -49,13 +76,13 @@ improvements, and fixes:
4976
flag.
5077

5178
- Adds the following configurations for ``Client`` and connection management:
52-
79+
5380
- ``max_connecting``: an option that you can set in a ``ClientOptions``
5481
struct to specify how many connections you can establish in
5582
parallel. To learn more about this option, see
5683
:ref:`rust-performance-pool` in the Performance Considerations
5784
guide.
58-
85+
5986
- ``Client::warm_connection_pool()``: a method that you can use to create
6087
new connections in the connection pool to provide more
6188
predictable performance. When you use this method, the driver
@@ -71,7 +98,7 @@ improvements, and fixes:
7198
To learn more about this release, see the
7299
`v2.7.0 Release Highlights
73100
<https://github.com/mongodb/mongo-rust-driver/releases/tag/v2.7.0>`__
74-
on Github.
101+
on GitHub.
75102

76103
.. _rust-version-2.6:
77104

@@ -106,4 +133,4 @@ improvements, and fixes:
106133
To learn more about this release, see the
107134
`v2.6.0 Release Highlights
108135
<https://github.com/mongodb/mongo-rust-driver/releases/tag/v2.6.0>`__
109-
on Github.
136+
on GitHub.

0 commit comments

Comments
 (0)