Skip to content

Commit e860aae

Browse files
committed
DOCSP-41360: v5.1.2 patch release (#164)
* DOCSP-41360: v5.1.2 patch release * fix versions (cherry picked from commit aac8bc3)
1 parent 05b2ee2 commit e860aae

File tree

4 files changed

+27
-3
lines changed

4 files changed

+27
-3
lines changed

examples/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

examples/gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
kotlin.code.style=official
2-
kotlin_mongodb_version=5.1.1
2+
kotlin_mongodb_version=5.1.2

snooty.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ driver = "kotlin"
2020
driver-short = "Kotlin driver"
2121
driver-long = "MongoDB Kotlin Driver"
2222
version = "5.1"
23-
full-version = "{+version+}.1"
23+
full-version = "{+version+}.2"
2424
mdb-server = "MongoDB server"
2525
kotlin-docs = "https://kotlinlang.org"
2626

source/whats-new.txt

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,36 @@ What's New
1212

1313
Learn 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

2347
What's New in 5.1.1

0 commit comments

Comments
 (0)