Skip to content

Commit f78b102

Browse files
authored
DOCSP-39266: v5.1 updates (#160)
* DOCSP-39266: v5.1 updates * fix * fix * add server support callout * add all changes to whats new * fix
1 parent f5c69fc commit f78b102

File tree

5 files changed

+79
-3
lines changed

5 files changed

+79
-3
lines changed

config/redirects

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
define: prefix docs/drivers/kotlin/coroutine
22
define: base https://www.mongodb.com/${prefix}
3-
define: versions v4.10 v4.11 v5.0 master
3+
define: versions v4.10 v4.11 v5.0 v5.1 master
44

55
raw: ${prefix}/ -> ${base}/current/
66

snooty.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ sharedinclude_root = "https://raw.githubusercontent.com/10gen/docs-shared/main/"
1919
driver = "kotlin"
2020
driver-short = "Kotlin driver"
2121
driver-long = "MongoDB Kotlin Driver"
22-
version = "5.0"
22+
version = "5.1"
2323
full-version = "{+version+}.0"
2424
mdb-server = "MongoDB server"
2525
kotlin-docs = "https://kotlinlang.org"

source/includes/language-compatibility-table-kotlin.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
* - Kotlin Driver Version
88
- Kotlin 1.8
99

10+
* - 5.1
11+
- ✓
12+
1013
* - 5.0
1114
- ✓
1215

source/includes/mongodb-compatibility-table-kotlin.rst

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,19 @@
1616
- MongoDB 3.0
1717
- MongoDB 2.6
1818

19+
* - 5.1
20+
- ✓
21+
- ✓
22+
- ✓
23+
- ✓
24+
- ✓
25+
- ✓
26+
- ✓
27+
-
28+
-
29+
-
30+
-
31+
1932
* - 5.0
2033
- ✓
2134
- ✓

source/whats-new.txt

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

1313
Learn what's new in:
1414

15+
* :ref:`Version 5.1 <kotlin-coroutine-version-5.1>`
1516
* :ref:`Version 5.0 <version-5.0>`
1617
* :ref:`Version 4.11 <version-4.11>`
1718
* :ref:`Version 4.10 <version-4.10>`
1819

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+
1979
.. _version-5.0:
2080

2181
What's New in 5.0
22-
------------------
82+
-----------------
2383

2484
New features of the 5.0 driver release include:
2585

0 commit comments

Comments
 (0)