Skip to content

DOCSP-41360: v5.1.2 patch release #164

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading