Kotlin/kotlinx.serialization (org.jetbrains.kotlinx:kotlinx-serialization-bom)
### [`v1.6.3`](https://togithub.com/Kotlin/kotlinx.serialization/blob/HEAD/CHANGELOG.md#163--2024-02-16)
\==================
This release provides a couple of new features and uses Kotlin 1.9.22 as default.
##### Class discriminator output mode
Class discriminator provides information for serializing and deserializing [polymorphic class hierarchies](docs/polymorphism.md#sealed-classes).
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
addition of the class discriminator with the `JsonBuilder.classDiscriminatorMode` property.
For example, `ClassDiscriminatorMode.NONE` does not add class discriminator at all, in case the receiving party is not interested in Kotlin types.
You can learn more about this feature in the documentation and corresponding [PR](https://togithub.com/Kotlin/kotlinx.serialization/pull/2532).
##### Other features
- Add kebab-case naming strategy ([#2531](https://togithub.com/Kotlin/kotlinx.serialization/issues/2531)) (thanks to [Emil Kantis](https://togithub.com/Kantis))
- Add value class support to the ProtoBufSchemaGenerator ([#2542](https://togithub.com/Kotlin/kotlinx.serialization/issues/2542)) (thanks to [Felipe Rotilho](https://togithub.com/rotilho))
##### Bugfixes and improvements
- Fix: Hocon polymorphic serialization in containers ([#2151](https://togithub.com/Kotlin/kotlinx.serialization/issues/2151)) (thanks to [LichtHund](https://togithub.com/LichtHund))
- Actualize lenient mode documentation ([#2568](https://togithub.com/Kotlin/kotlinx.serialization/issues/2568))
- Slightly improve error messages thrown from serializer() function ([#2533](https://togithub.com/Kotlin/kotlinx.serialization/issues/2533))
- Do not try to coerce input values for properties ([#2530](https://togithub.com/Kotlin/kotlinx.serialization/issues/2530))
- Make empty objects and arrays collapsed in pretty print mode ([#2506](https://togithub.com/Kotlin/kotlinx.serialization/issues/2506))
- Update Gradle dokka configuration to make sure "source" button is visible in all API docs ([#2518](https://togithub.com/Kotlin/kotlinx.serialization/issues/2518), [#2524](https://togithub.com/Kotlin/kotlinx.serialization/issues/2524))
Configuration
š Schedule: Branch creation - "after 10am and before 6pm" in timezone Etc/UTC, Automerge - "after 10am and before 6pm" in timezone Etc/UTC.
š¦ Automerge: Enabled.
ā» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
š Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
1.6.2
->1.6.3
Release Notes
Kotlin/kotlinx.serialization (org.jetbrains.kotlinx:kotlinx-serialization-bom)
### [`v1.6.3`](https://togithub.com/Kotlin/kotlinx.serialization/blob/HEAD/CHANGELOG.md#163--2024-02-16) \================== This release provides a couple of new features and uses Kotlin 1.9.22 as default. ##### Class discriminator output mode Class discriminator provides information for serializing and deserializing [polymorphic class hierarchies](docs/polymorphism.md#sealed-classes). 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 addition of the class discriminator with the `JsonBuilder.classDiscriminatorMode` property. For example, `ClassDiscriminatorMode.NONE` does not add class discriminator at all, in case the receiving party is not interested in Kotlin types. You can learn more about this feature in the documentation and corresponding [PR](https://togithub.com/Kotlin/kotlinx.serialization/pull/2532). ##### Other features - Add kebab-case naming strategy ([#2531](https://togithub.com/Kotlin/kotlinx.serialization/issues/2531)) (thanks to [Emil Kantis](https://togithub.com/Kantis)) - Add value class support to the ProtoBufSchemaGenerator ([#2542](https://togithub.com/Kotlin/kotlinx.serialization/issues/2542)) (thanks to [Felipe Rotilho](https://togithub.com/rotilho)) ##### Bugfixes and improvements - Fix: Hocon polymorphic serialization in containers ([#2151](https://togithub.com/Kotlin/kotlinx.serialization/issues/2151)) (thanks to [LichtHund](https://togithub.com/LichtHund)) - Actualize lenient mode documentation ([#2568](https://togithub.com/Kotlin/kotlinx.serialization/issues/2568)) - Slightly improve error messages thrown from serializerConfiguration
š Schedule: Branch creation - "after 10am and before 6pm" in timezone Etc/UTC, Automerge - "after 10am and before 6pm" in timezone Etc/UTC.
š¦ Automerge: Enabled.
ā» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
š Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.