Skip to content

Commit 5ca0532

Browse files
authored
DOCSP-34502: consistent computation of connection mode (#496)
* DOCSP-34502: consistent computation of connection mode * add list link * fix * NR PR fix
1 parent a06187b commit 5ca0532

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

source/whats-new.txt

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ What's New
1212

1313
Learn what's new in:
1414

15+
* :ref:`Version 5.0 <version-5.0>`
1516
* :ref:`Version 4.11 <version-4.11>`
1617
* :ref:`Version 4.10 <version-4.10>`
1718
* :ref:`Version 4.9 <version-4.9>`
@@ -37,6 +38,19 @@ Learn what's new in:
3738
.. In addition to the deprecations mentioned in specific driver versions on this
3839
page, anticipated breaking changes include the following:
3940

41+
.. _version-5.0:
42+
43+
What's New in 5.0
44+
-----------------
45+
46+
The 5.0 driver release introduces the following features:
47+
48+
- Consistent computation of the ``ClusterConnectionMode`` type after
49+
instantiating a ``ClusterSettings``. The connection mode defaults to
50+
``SINGLE`` if you specify one host and do not specify a replica set
51+
name, or it defaults to ``MULTIPLE`` if you specify more than one
52+
host.
53+
4054
.. _version-4.11:
4155

4256
What's New in 4.11
@@ -150,7 +164,6 @@ The 4.11 driver release deprecates the following items:
150164
.transportSettings(TransportSettings.nettyBuilder().build())
151165
.build();
152166

153-
154167
.. _java-new-features-4.11:
155168

156169
New Features in 4.11

0 commit comments

Comments
 (0)