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 {
28
28
implementation(" com.github.luben:zstd-jni:1.5.5-4" )
29
29
implementation(" org.jetbrains.kotlinx:kotlinx-serialization-core:1.5.1" )
30
30
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 " )
32
32
implementation(" org.jetbrains.kotlinx:kotlinx-datetime:0.4.0" )
33
33
}
34
34
Original file line number Diff line number Diff line change 1
1
kotlin.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"
20
20
driver-short = " Kotlin driver"
21
21
driver-long = " MongoDB Kotlin Driver"
22
22
version = " 5.1"
23
- full-version = " {+version+}.1 "
23
+ full-version = " {+version+}.2 "
24
24
mdb-server = " MongoDB server"
25
25
kotlin-docs = " https://kotlinlang.org"
26
26
Original file line number Diff line number Diff line change @@ -12,12 +12,36 @@ What's New
12
12
13
13
Learn what's new in:
14
14
15
+ * :ref:`Version 5.1.2 <kotlin-coroutine-version-5.1.2>`
15
16
* :ref:`Version 5.1.1 <kotlin-coroutine-version-5.1.1>`
16
17
* :ref:`Version 5.1 <kotlin-coroutine-version-5.1>`
17
18
* :ref:`Version 5.0 <version-5.0>`
18
19
* :ref:`Version 4.11 <version-4.11>`
19
20
* :ref:`Version 4.10 <version-4.10>`
20
21
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
+
21
45
.. _kotlin-coroutine-version-5.1.1:
22
46
23
47
What's New in 5.1.1
You can’t perform that action at this time.
0 commit comments