File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Expand file tree Collapse file tree 1 file changed +24
-0
lines changed 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