File tree Expand file tree Collapse file tree 4 files changed +27
-3
lines changed Expand file tree Collapse file tree 4 files changed +27
-3
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ dependencies {
2828 implementation(" com.github.luben:zstd-jni:1.5.5-4" )
2929 implementation(" org.jetbrains.kotlinx:kotlinx-serialization-core:1.5.1" )
3030 implementation(" org.jetbrains.kotlinx:kotlinx-serialization-json:1.5.0" )
31- implementation(" org.mongodb:bson-kotlinx:5.1.1 " )
31+ implementation(" org.mongodb:bson-kotlinx:5.1.2 " )
3232 implementation(" org.jetbrains.kotlinx:kotlinx-datetime:0.4.0" )
3333}
3434
Original file line number Diff line number Diff line change 11kotlin.code.style =official
2- kotlin_mongodb_version =5.1.1
2+ kotlin_mongodb_version =5.1.2
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ driver = "kotlin"
2020driver-short = " Kotlin driver"
2121driver-long = " MongoDB Kotlin Driver"
2222version = " 5.1"
23- full-version = " {+version+}.1 "
23+ full-version = " {+version+}.2 "
2424mdb-server = " MongoDB server"
2525kotlin-docs = " https://kotlinlang.org"
2626
Original file line number Diff line number Diff line change @@ -12,12 +12,36 @@ What's New
1212
1313Learn what's new in:
1414
15+ * :ref:`Version 5.1.2 <kotlin-coroutine-version-5.1.2>`
1516* :ref:`Version 5.1.1 <kotlin-coroutine-version-5.1.1>`
1617* :ref:`Version 5.1 <kotlin-coroutine-version-5.1>`
1718* :ref:`Version 5.0 <version-5.0>`
1819* :ref:`Version 4.11 <version-4.11>`
1920* :ref:`Version 4.10 <version-4.10>`
2021
22+ .. _kotlin-coroutine-version-5.1.2:
23+
24+ What's New in 5.1.2
25+ -------------------
26+
27+ The 5.1.2 driver patch release includes the following changes:
28+
29+ - Support for encoding Kotlin data classes with nullable
30+ generic parameter types. For example, you can encode the ``Container`` class
31+ in the following code:
32+
33+ .. code-block:: kotlin
34+
35+ @Serializable
36+ data class Box<T>(
37+ val boxed: T
38+ )
39+
40+ @Serializable
41+ data class Container(
42+ val box: Box<String?>
43+ )
44+
2145.. _kotlin-coroutine-version-5.1.1:
2246
2347What's New in 5.1.1
You can’t perform that action at this time.
0 commit comments