You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+27Lines changed: 27 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,30 @@
1
+
1.6.3 / 2024-02-16
2
+
==================
3
+
4
+
This release provides a couple of new features and uses Kotlin 1.9.22 as default.
5
+
6
+
### Class discriminator output mode
7
+
8
+
Class discriminator provides information for serializing and deserializing [polymorphic class hierarchies](docs/polymorphism.md#sealed-classes).
9
+
In case you want to encode more or less information for various third party APIs about types in the output, it is possible to control
10
+
addition of the class discriminator with the `JsonBuilder.classDiscriminatorMode` property.
11
+
For example, `ClassDiscriminatorMode.NONE` does not add class discriminator at all, in case the receiving party is not interested in Kotlin types.
12
+
You can learn more about this feature in the documentation and corresponding [PR](https://github.com/Kotlin/kotlinx.serialization/pull/2532).
13
+
14
+
### Other features
15
+
16
+
* Add kebab-case naming strategy (#2531) (thanks to [Emil Kantis](https://github.com/Kantis))
17
+
* Add value class support to the ProtoBufSchemaGenerator (#2542) (thanks to [Felipe Rotilho](https://github.com/rotilho))
18
+
19
+
### Bugfixes and improvements
20
+
21
+
* Fix: Hocon polymorphic serialization in containers (#2151) (thanks to [LichtHund](https://github.com/LichtHund))
22
+
* Actualize lenient mode documentation (#2568)
23
+
* Slightly improve error messages thrown from serializer<T>() function (#2533)
24
+
* Do not try to coerce input values for properties (#2530)
25
+
* Make empty objects and arrays collapsed in pretty print mode (#2506)
26
+
* Update Gradle dokka configuration to make sure "source" button is visible in all API docs (#2518, #2524)
0 commit comments