Skip to content

Commit b37c1e9

Browse files
author
Chris Cho
authored
DOCSP-20939: what's new updates for 4.5 (#208)
* DOCSP-20939: what's new updates for 4.5
1 parent d0ff790 commit b37c1e9

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

source/whats-new.txt

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,38 @@ What's New
1212

1313
Learn what's new in:
1414

15+
* :ref:`Version 4.5 <version-4.5>`
1516
* :ref:`Version 4.4 <version-4.4>`
1617
* :ref:`Version 4.3 <version-4.3>`
1718
* :ref:`Version 4.2 <version-4.2>`
1819
* :ref:`Version 4.1 <version-4.1>`
1920
* :ref:`Version 4.0 <version-4.0>`
2021

22+
.. _version-4.5:
23+
24+
What's New in 4.5
25+
-----------------
26+
27+
New features of the 4.5 Java driver release include:
28+
29+
- Added support for specifying custom service names of SRV resource
30+
records. See the ``srvServiceName`` setting in the :ref:`Connection
31+
Options <connection-options>` guide for more information.
32+
- Added support to customize UUID representation in a codec registry using
33+
the ``CodecRegistries.withUuidRepresentation()`` method.
34+
- Added support for overriding listener settings in ``ClusterSettings``,
35+
``ServerSettings`` and ``ConnectionPoolSettings`` builders.
36+
- All events received by ``ClusterListener``, ``ServerListener``, and
37+
``ServerMonitorListener`` are now totally ordered using
38+
a happens-before relationship when the listeners are not shared by
39+
different MongoClient instances. To learn more about the happens-before
40+
ordering, see `Happens-before Order <https://docs.oracle.com/javase/specs/jls/se17/html/jls-17.html#jls-17.4.5>`__
41+
in the Java Language Specification.
42+
- Added ``EnumCodec`` and ``EnumCodecProvider`` classes to separate codec
43+
support for enum types from the ``PojoCodec`` class.
44+
- Resolved performance issues that impacted versions 4.4 and 4.3 of the
45+
driver. Performance in this version should be similar to performance in 4.2.
46+
2147
.. _version-4.4:
2248

2349
What's New in 4.4

0 commit comments

Comments
 (0)