Kotlin/kotlinx.serialization (org.jetbrains.kotlinx:kotlinx-serialization-protobuf)
### [`v1.6.1`](https://togithub.com/Kotlin/kotlinx.serialization/blob/HEAD/CHANGELOG.md#161--2023-11-15)
\==================
This release uses Kotlin 1.9.20 by default, while upcoming 1.9.21 is also supported.
##### Trailing commas in Json
Trailing commas are one of the most popular non-spec Json variations.
A new configuration flag, `allowTrailingComma`, makes Json parser accept them instead of throwing an exception.
Note that it does not affect encoding, so kotlinx.serialization always produces Json without trailing commas.
See details in the corresponding [PR](https://togithub.com/Kotlin/kotlinx.serialization/pull/2480)
##### Support of WasmJs target
Kotlin/Wasm has been experimental for some time and gained enough maturity to be added to the kotlinx libraries.
Starting with 1.6.1, kotlinx.serialization provides a wasm-js flavor, so your projects with Kotlin/Wasm can have even more
functionality.
As usual, just add serialization dependencies to your build
and [declare wasmJs target](https://kotlinlang.org/docs/whatsnew1920.html#new-wasm-wasi-target-and-the-renaming-of-the-wasm-target-to-wasm-js).
Please remember that Kotlin/Wasm is still experimental, so changes are expected.
##### Bugfixes and improvements
- Fix TaggedDecoder nullable decoding ([#2456](https://togithub.com/Kotlin/kotlinx.serialization/issues/2456)) (thanks to [Phillip Schichtel](https://togithub.com/pschichtel))
- Fix IllegalAccessException for some JPMS boundaries ([#2469](https://togithub.com/Kotlin/kotlinx.serialization/issues/2469))
- Cbor: check if inline value classes are marked as [@ByteString](https://togithub.com/ByteString) ([#2466](https://togithub.com/Kotlin/kotlinx.serialization/issues/2466)) (thanks to [eater](https://togithub.com/the-eater))
- Improve polymorphic deserialization optimization ([#2481](https://togithub.com/Kotlin/kotlinx.serialization/issues/2481))
- Update Okio dependency to 3.6.0 ([#2473](https://togithub.com/Kotlin/kotlinx.serialization/issues/2473))
- Add protobuf conformance tests ([#2404](https://togithub.com/Kotlin/kotlinx.serialization/issues/2404)) (thanks to [Doğaç Eldenk](https://togithub.com/Dogacel))
- Support decoding maps with boolean keys ([#2440](https://togithub.com/Kotlin/kotlinx.serialization/issues/2440))
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 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.0
->1.6.1
Release Notes
Kotlin/kotlinx.serialization (org.jetbrains.kotlinx:kotlinx-serialization-protobuf)
### [`v1.6.1`](https://togithub.com/Kotlin/kotlinx.serialization/blob/HEAD/CHANGELOG.md#161--2023-11-15) \================== This release uses Kotlin 1.9.20 by default, while upcoming 1.9.21 is also supported. ##### Trailing commas in Json Trailing commas are one of the most popular non-spec Json variations. A new configuration flag, `allowTrailingComma`, makes Json parser accept them instead of throwing an exception. Note that it does not affect encoding, so kotlinx.serialization always produces Json without trailing commas. See details in the corresponding [PR](https://togithub.com/Kotlin/kotlinx.serialization/pull/2480) ##### Support of WasmJs target Kotlin/Wasm has been experimental for some time and gained enough maturity to be added to the kotlinx libraries. Starting with 1.6.1, kotlinx.serialization provides a wasm-js flavor, so your projects with Kotlin/Wasm can have even more functionality. As usual, just add serialization dependencies to your build and [declare wasmJs target](https://kotlinlang.org/docs/whatsnew1920.html#new-wasm-wasi-target-and-the-renaming-of-the-wasm-target-to-wasm-js). Please remember that Kotlin/Wasm is still experimental, so changes are expected. ##### Bugfixes and improvements - Fix TaggedDecoder nullable decoding ([#2456](https://togithub.com/Kotlin/kotlinx.serialization/issues/2456)) (thanks to [Phillip Schichtel](https://togithub.com/pschichtel)) - Fix IllegalAccessException for some JPMS boundaries ([#2469](https://togithub.com/Kotlin/kotlinx.serialization/issues/2469)) - Cbor: check if inline value classes are marked as [@ByteString](https://togithub.com/ByteString) ([#2466](https://togithub.com/Kotlin/kotlinx.serialization/issues/2466)) (thanks to [eater](https://togithub.com/the-eater)) - Improve polymorphic deserialization optimization ([#2481](https://togithub.com/Kotlin/kotlinx.serialization/issues/2481)) - Update Okio dependency to 3.6.0 ([#2473](https://togithub.com/Kotlin/kotlinx.serialization/issues/2473)) - Add protobuf conformance tests ([#2404](https://togithub.com/Kotlin/kotlinx.serialization/issues/2404)) (thanks to [Doğaç Eldenk](https://togithub.com/Dogacel)) - Support decoding maps with boolean keys ([#2440](https://togithub.com/Kotlin/kotlinx.serialization/issues/2440))Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 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.