Skip to content

Commit 9a2daca

Browse files
committed
DOCSP-41360: v5.1.2 patch release
1 parent b5a5af9 commit 9a2daca

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

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)