Kotlin/kotlinx.serialization
### [`v1.5.0`](https://togithub.com/Kotlin/kotlinx.serialization/blob/HEAD/CHANGELOG.md#150--2023-02-27)
\==================
This release contains all features and bugfixes from 1.5.0-RC plus some experimental features and bugfixes on its own (see below).
Kotlin 1.8.10 is used as a default.
##### HoconEncoder and HoconDecoder interfaces and HOCON-specific serializers
These interfaces work in a way similar to `JsonEncoder` and `JsonDecoder`: they allow intercepting (de)serialization process,
making writing if custom HOCON-specific serializers easier. New `ConfigMemorySizeSerializer` and `JavaDurationSerializer` already make use of them.
See more details in the [PR](https://togithub.com/Kotlin/kotlinx.serialization/pull/2094).
Big thanks to [Alexander Mikhailov](https://togithub.com/alexmihailov) for contributing this!
##### Ability to read buffered huge strings in custom Json deserializers
New interface `ChunkedDecoder` allows you to read huge strings that may not fit in memory by chunks.
Currently, this interface is only implemented by Json decoder that works with strings and streams,
but we may expand it later, if there's a demand for it.
See more details in the [PR](https://togithub.com/Kotlin/kotlinx.serialization/pull/2012) authored by [Alexey Sviridov](https://togithub.com/fred01).
##### Bugfixes
- Improve runtime exceptions messages ([#2180](https://togithub.com/Kotlin/kotlinx.serialization/issues/2180))
- Added support for null values for nullable enums in lenient mode ([#2176](https://togithub.com/Kotlin/kotlinx.serialization/issues/2176))
- Prevent class loaders from leaking when using ClassValue cache ([#2175](https://togithub.com/Kotlin/kotlinx.serialization/issues/2175))
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ 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.4.1
->1.5.0
Release Notes
Kotlin/kotlinx.serialization
### [`v1.5.0`](https://togithub.com/Kotlin/kotlinx.serialization/blob/HEAD/CHANGELOG.md#150--2023-02-27) \================== This release contains all features and bugfixes from 1.5.0-RC plus some experimental features and bugfixes on its own (see below). Kotlin 1.8.10 is used as a default. ##### HoconEncoder and HoconDecoder interfaces and HOCON-specific serializers These interfaces work in a way similar to `JsonEncoder` and `JsonDecoder`: they allow intercepting (de)serialization process, making writing if custom HOCON-specific serializers easier. New `ConfigMemorySizeSerializer` and `JavaDurationSerializer` already make use of them. See more details in the [PR](https://togithub.com/Kotlin/kotlinx.serialization/pull/2094). Big thanks to [Alexander Mikhailov](https://togithub.com/alexmihailov) for contributing this! ##### Ability to read buffered huge strings in custom Json deserializers New interface `ChunkedDecoder` allows you to read huge strings that may not fit in memory by chunks. Currently, this interface is only implemented by Json decoder that works with strings and streams, but we may expand it later, if there's a demand for it. See more details in the [PR](https://togithub.com/Kotlin/kotlinx.serialization/pull/2012) authored by [Alexey Sviridov](https://togithub.com/fred01). ##### Bugfixes - Improve runtime exceptions messages ([#2180](https://togithub.com/Kotlin/kotlinx.serialization/issues/2180)) - Added support for null values for nullable enums in lenient mode ([#2176](https://togithub.com/Kotlin/kotlinx.serialization/issues/2176)) - Prevent class loaders from leaking when using ClassValue cache ([#2175](https://togithub.com/Kotlin/kotlinx.serialization/issues/2175))Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ 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.