@@ -12,14 +12,74 @@ What's New
12
12
13
13
Learn what's new in:
14
14
15
+ * :ref:`Version 5.1 <kotlin-coroutine-version-5.1>`
15
16
* :ref:`Version 5.0 <version-5.0>`
16
17
* :ref:`Version 4.11 <version-4.11>`
17
18
* :ref:`Version 4.10 <version-4.10>`
18
19
20
+ .. _kotlin-coroutine-version-5.1:
21
+
22
+ What's New in 5.1
23
+ -----------------
24
+
25
+ .. warning:: Deprecations in this release
26
+
27
+ To avoid breaking changes in future major releases of the driver,
28
+ replace any application code that depends on deprecated program elements.
29
+
30
+ This section includes the following information:
31
+
32
+ - :ref:`kotlin-deprecations-5.1`
33
+ - :ref:`kotlin-improvements-5.1`
34
+ - :ref:`kotlin-new-features-5.1`
35
+
36
+ .. _kotlin-deprecations-5.1:
37
+
38
+ Deprecations in 5.1
39
+ ~~~~~~~~~~~~~~~~~~~
40
+
41
+ - Support for {+mdb-server+} v3.6 is deprecated and will be removed in the
42
+ next driver version release. To learn how to upgrade your {+mdb-server+}
43
+ deployment, see :manual:`Release Notes </release-notes>` in the {+mdb-server+}
44
+ manual.
45
+
46
+ .. _kotlin-improvements-5.1:
47
+
48
+ Improvements in 5.1
49
+ ~~~~~~~~~~~~~~~~~~~
50
+
51
+ - Internal testing of GraalVM native image technology. These tests involve building
52
+ native applications by using the GraalVM native-image tool.
53
+
54
+ - Enhanced support for the ``MONGODB-OIDC`` authentication mechanism.
55
+
56
+ .. TODO add OIDC content and link
57
+
58
+ - Fixes an issue in which operations used the incorrect codec when using
59
+ a polymorphic ``MongoCollection`` instance. This ensures that
60
+ discriminator information is not lost when using ``bson-kotlinx``.
61
+
62
+ - Fixes an issue in which the class discriminator was the first field
63
+ when decoding, resulting in field type errors when using a polymorphic
64
+ ``MongoCollection`` instance.
65
+
66
+ .. _kotlin-new-features-5.1:
67
+
68
+ New Features in 5.1
69
+ ~~~~~~~~~~~~~~~~~~~
70
+
71
+ - Support for polymorphic serialization.
72
+
73
+ .. TODO add polymorphic serialization content
74
+
75
+ - Introduces the ``serverMonitoringMode`` connection URI option.
76
+
77
+ .. TODO add serverMonitoringMode content and link
78
+
19
79
.. _version-5.0:
20
80
21
81
What's New in 5.0
22
- ------------------
82
+ -----------------
23
83
24
84
New features of the 5.0 driver release include:
25
85
0 commit comments