@@ -7,9 +7,9 @@ What's New
7
7
.. facet::
8
8
:name: genre
9
9
:values: reference
10
-
10
+
11
11
.. meta::
12
- :keywords: update, new feature, deprecation, upgrade
12
+ :keywords: update, new feature, deprecation, upgrade, driver v2.6, driver v2.7, driver v2.8
13
13
14
14
.. contents:: On this page
15
15
:local:
@@ -20,9 +20,36 @@ What's New
20
20
Learn about new features, improvements, and fixes introduced in the
21
21
following versions of the {+driver-long+}:
22
22
23
+ * :ref:`Version 2.8 <rust-version-2.8>`
23
24
* :ref:`Version 2.7 <rust-version-2.7>`
24
25
* :ref:`Version 2.6 <rust-version-2.6>`
25
26
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
+
26
53
.. _rust-version-2.7:
27
54
28
55
What's New in 2.7
@@ -35,9 +62,9 @@ improvements, and fixes:
35
62
``CollectionOptions`` struct. This option instructs the
36
63
driver to serialize values passed to CRUD methods as a human-readable
37
64
format. The default value of this option is ``false``.
38
-
65
+
39
66
.. warning::
40
-
67
+
41
68
If you set the value of ``human_readable_serialization`` to
42
69
``true``, your insert operations might run more slowly.
43
70
@@ -49,13 +76,13 @@ improvements, and fixes:
49
76
flag.
50
77
51
78
- Adds the following configurations for ``Client`` and connection management:
52
-
79
+
53
80
- ``max_connecting``: an option that you can set in a ``ClientOptions``
54
81
struct to specify how many connections you can establish in
55
82
parallel. To learn more about this option, see
56
83
:ref:`rust-performance-pool` in the Performance Considerations
57
84
guide.
58
-
85
+
59
86
- ``Client::warm_connection_pool()``: a method that you can use to create
60
87
new connections in the connection pool to provide more
61
88
predictable performance. When you use this method, the driver
@@ -71,7 +98,7 @@ improvements, and fixes:
71
98
To learn more about this release, see the
72
99
`v2.7.0 Release Highlights
73
100
<https://github.com/mongodb/mongo-rust-driver/releases/tag/v2.7.0>`__
74
- on Github .
101
+ on GitHub .
75
102
76
103
.. _rust-version-2.6:
77
104
@@ -106,4 +133,4 @@ improvements, and fixes:
106
133
To learn more about this release, see the
107
134
`v2.6.0 Release Highlights
108
135
<https://github.com/mongodb/mongo-rust-driver/releases/tag/v2.6.0>`__
109
- on Github .
136
+ on GitHub .
0 commit comments