Skip to content

Commit 10b0f3e

Browse files
committed
DOCSP-39266: v5.1 updates
1 parent f5c69fc commit 10b0f3e

File tree

5 files changed

+38
-3
lines changed

5 files changed

+38
-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: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,33 @@ 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+
New features of the 5.1 driver release include:
26+
27+
- Fixes an issue in which operations used the incorrect codec when using
28+
a polymorphic ``MongoCollection`` instance. This ensures that
29+
discriminator information is not lost when using ``bson-kotlinx``.
30+
31+
- Fixes an issue in which the class discriminator was the first field
32+
when decoding, resulting in field type errors when using a polymorphic
33+
``MongoCollection`` instance.
34+
35+
To learn more about changes introduced in v5.1, see the :ref:`Java Sync
36+
Driver What's New guide <java-whats-new>`.
37+
1938
.. _version-5.0:
2039

2140
What's New in 5.0
22-
------------------
41+
-----------------
2342

2443
New features of the 5.0 driver release include:
2544

0 commit comments

Comments
 (0)