Skip to content

Commit df79a41

Browse files
authored
Kotlin 5.0 release (#158)
* Kotlin 5.0 release
1 parent b7588e6 commit df79a41

File tree

5 files changed

+35
-6
lines changed

5 files changed

+35
-6
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 master
3+
define: versions v4.10 v4.11 v5.0 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 = "4.11"
22+
version = "5.0"
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.0
11+
- ✓
12+
1013
* - 4.11
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.0
20+
- ✓
21+
- ✓
22+
- ✓
23+
- ✓
24+
- ✓
25+
- ✓
26+
- ✓
27+
-
28+
-
29+
-
30+
-
31+
1932
* - 4.11
2033
- ✓
2134
- ✓

source/whats-new.txt

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,27 @@ What's New
1212

1313
Learn what's new in:
1414

15+
* :ref:`Version 5.0 <version-5.0>`
16+
* :ref:`Version 4.11 <version-4.11>`
1517
* :ref:`Version 4.10 <version-4.10>`
1618

17-
.. _upcoming-breaking-changes:
19+
.. _version-5.0:
1820

19-
Upcoming Breaking Changes
20-
-------------------------
21+
What's New in 5.0
22+
------------------
23+
24+
New features of the 5.0 driver release include:
25+
26+
- The ``KotlinSerializerCodecProvider`` constructor now accepts
27+
``serializersModule`` and ``bsonConfiguration`` objects:
28+
29+
.. code-block:: kotlin
30+
31+
KotlinSerializerCodec.create(clazz.kotlin, serializersModule=serializersModule, bsonConfiguration=bsonConfiguration)
32+
33+
This makes it easier to customize your configuration.
2134

22-
- Beginning with v5.0, the {+driver-short+} requires Java 11 or later.
35+
- Fixes a Kotlin reflection bug that resulted in container type erasure.
2336

2437
.. _version-4.11:
2538

0 commit comments

Comments
 (0)