@@ -12,12 +12,38 @@ What's New
12
12
13
13
Learn what's new in:
14
14
15
+ * :ref:`Version 4.5 <version-4.5>`
15
16
* :ref:`Version 4.4 <version-4.4>`
16
17
* :ref:`Version 4.3 <version-4.3>`
17
18
* :ref:`Version 4.2 <version-4.2>`
18
19
* :ref:`Version 4.1 <version-4.1>`
19
20
* :ref:`Version 4.0 <version-4.0>`
20
21
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
+
21
47
.. _version-4.4:
22
48
23
49
What's New in 4.4
0 commit comments