Skip to content

Commit

Permalink
DOCSP-41360: v5.1.2 patch release (#164)
Browse files Browse the repository at this point in the history
* DOCSP-41360: v5.1.2 patch release

* fix versions
  • Loading branch information
rustagir authored Jul 11, 2024
1 parent b5a5af9 commit aac8bc3
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ dependencies {
implementation("com.github.luben:zstd-jni:1.5.5-4")
implementation("org.jetbrains.kotlinx:kotlinx-serialization-core:1.5.1")
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.5.0")
implementation("org.mongodb:bson-kotlinx:5.1.1")
implementation("org.mongodb:bson-kotlinx:5.1.2")
implementation("org.jetbrains.kotlinx:kotlinx-datetime:0.4.0")
}

Expand Down
2 changes: 1 addition & 1 deletion examples/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
kotlin.code.style=official
kotlin_mongodb_version=5.1.1
kotlin_mongodb_version=5.1.2
2 changes: 1 addition & 1 deletion snooty.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ driver = "kotlin"
driver-short = "Kotlin driver"
driver-long = "MongoDB Kotlin Driver"
version = "5.1"
full-version = "{+version+}.1"
full-version = "{+version+}.2"
mdb-server = "MongoDB server"
kotlin-docs = "https://kotlinlang.org"

Expand Down
24 changes: 24 additions & 0 deletions source/whats-new.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,36 @@ What's New

Learn what's new in:

* :ref:`Version 5.1.2 <kotlin-coroutine-version-5.1.2>`
* :ref:`Version 5.1.1 <kotlin-coroutine-version-5.1.1>`
* :ref:`Version 5.1 <kotlin-coroutine-version-5.1>`
* :ref:`Version 5.0 <version-5.0>`
* :ref:`Version 4.11 <version-4.11>`
* :ref:`Version 4.10 <version-4.10>`

.. _kotlin-coroutine-version-5.1.2:

What's New in 5.1.2
-------------------

The 5.1.2 driver patch release includes the following changes:

- Support for encoding Kotlin data classes with nullable
generic parameter types. For example, you can encode the ``Container`` class
in the following code:

.. code-block:: kotlin

@Serializable
data class Box<T>(
val boxed: T
)

@Serializable
data class Container(
val box: Box<String?>
)

.. _kotlin-coroutine-version-5.1.1:

What's New in 5.1.1
Expand Down

0 comments on commit aac8bc3

Please sign in to comment.