Skip to content

Commit 38eb583

Browse files
authored
DOCSP-45210 What's New (#99)
1 parent 67f93cb commit 38eb583

File tree

2 files changed

+73
-5
lines changed

2 files changed

+73
-5
lines changed

source/index.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
Indexes </indexes>
2020
View the Source <https://github.com/mongodb/mongo-ruby-driver>
2121
API Documentation <{+api-root+}>
22+
What's New </whats-new>
2223
Compatibility </compatibility>
2324

2425
.. TODO:
@@ -29,7 +30,6 @@
2930
Data Aggregation </aggregation>
3031
Security </security>
3132
Issues & Help </issues-and-help>
32-
What's New </whats-new>
3333
Upgrade </upgrade>
3434

3535
Introduction
@@ -90,11 +90,11 @@ working with data in the :ref:`ruby-get-started` tutorial.
9090
.. Learn how to authenticate your application and encrypt your data in the
9191
.. :ref:`ruby-security` section.
9292

93-
.. What's New
94-
.. ----------
93+
What's New
94+
----------
9595

96-
.. For a list of new features and changes in each version, see the :ref:`What's New <ruby-whats-new>`
97-
.. section.
96+
For a list of new features and changes in each version, see the :ref:`What's New <ruby-whats-new>`
97+
section.
9898

9999
.. Upgrade Driver Versions
100100
.. -----------------------

source/whats-new.txt

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
.. _ruby-whats-new:
2+
3+
==========
4+
What's New
5+
==========
6+
7+
.. contents:: On this page
8+
:local:
9+
:backlinks: none
10+
:depth: 1
11+
:class: singlecol
12+
13+
.. facet::
14+
:name: genre
15+
:values: reference
16+
17+
.. meta::
18+
:keywords: update, new feature, deprecation, upgrade
19+
20+
Learn what's new in:
21+
22+
* :ref:`2.21 <version-2.21>`
23+
* :ref:`2.20 <version-2.20>`
24+
25+
.. _upcoming-breaking-changes:
26+
27+
.. _version-2.21:
28+
29+
What's New in 2.21
30+
------------------
31+
32+
The {+driver-short+} 2.21 release includes the following new features:
33+
34+
- Supports the Client-Side Operations Timeout (CSOT) feature, which unifies
35+
most timeout-related options under a single ``timeout_ms`` option.
36+
- Supports {+mdb-server+} version 8.0.
37+
- Support for range v2 queries with Queryable Encryption, including a new ``trim_factor``
38+
parameter. For more information about Queryable Encryption, see :manual:`Queryable Encryption </core/queryable-encryption>`
39+
in the {+mdb-server+} manual.
40+
41+
To learn more about this release, see the
42+
:github:`v2.21 Release Notes <mongodb/mongo-ruby-driver/releases/tag/v2.21.0>` on
43+
GitHub.
44+
45+
.. _version-2.20:
46+
47+
What's New in 2.20
48+
------------------
49+
50+
The {+driver-short+} 2.20 release includes the following new features:
51+
52+
- Discontinues support for Ruby 2.5 and 2.6. Deprecates support for Ruby 2.7 and
53+
JRuby 9.2, which will be discontinued in the next minor driver version. Adds
54+
support for JRuby 9.4.
55+
- Supports the newly-released Ruby-BSON version 5.0.
56+
- Allows connection strings without a slash between the hosts and the options.
57+
For example, ``mongodb://example.com?w=1`` and ``mongodb://example.com/?w=1`` are
58+
both valid connection strings now.
59+
- Sends container runtime and orchestration metadata for the client environment
60+
to the server for analytics purposes.
61+
- Writes a warning message to the log when detecting the host as a CosmosDB
62+
(Azure) or DocumentDB (Amazon) instance.
63+
- Attempts retries of read or write operations on a different ``mongos``
64+
instance in a sharded topology, if possible.
65+
66+
To learn more about this release, see the
67+
:github:`v2.20 Release Notes <mongodb/mongo-ruby-driver/releases/tag/v2.20.0>` on
68+
GitHub.

0 commit comments

Comments
 (0)