Skip to content

Commit 031bb0e

Browse files
fix(deps): update dependency org.jetbrains.kotlinx:kotlinx-serialization-core to v1.11.0 (#2289)
This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [org.jetbrains.kotlinx:kotlinx-serialization-core](https://redirect.github.com/Kotlin/kotlinx.serialization) | `1.10.0` → `1.11.0` | ![age](https://developer.mend.io/api/mc/badges/age/maven/org.jetbrains.kotlinx:kotlinx-serialization-core/1.11.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/org.jetbrains.kotlinx:kotlinx-serialization-core/1.10.0/1.11.0?slim=true) | --- > [!WARNING] > Some dependencies could not be looked up. Check the [Dependency Dashboard](../issues/355) for more information. --- ### Release Notes <details> <summary>Kotlin/kotlinx.serialization (org.jetbrains.kotlinx:kotlinx-serialization-core)</summary> ### [`v1.11.0`](https://redirect.github.com/Kotlin/kotlinx.serialization/blob/HEAD/CHANGELOG.md#1110--2026-04-10) \================== This release is based on Kotlin 2.3.20 and provides new Json exceptions API and some bugfixes and improvements. #### Expose Json exceptions structure To make working with exceptions easier and providing proper error codes in e.g., REST APIs, classes `JsonException`, `JsonDecodingException`, and `JsonEncodingException` are now public. They have relevant public properties, such as `shortMessage`, `path`, `offset`, and others. This API is currently experimental, and we're going to improve it further in the subsequent releases. See the linked issues for the details: [#&#8203;1930](https://redirect.github.com/Kotlin/kotlinx.serialization/issues/1930), [#&#8203;1877](https://redirect.github.com/Kotlin/kotlinx.serialization/issues/1877). #### Ability to hide user input from exception messages for security/privacy reasons. Historically, exception messages in kotlinx.serialization often included the input Json itself for debuggability reason. Such behavior may pose additional challenges for logging, analytics, and other systems, since a system is not always allowed to store user data due to privacy/security reasons, which imposes additional sanitation logic. To address this issue, a new property `exceptionsWithDebugInfo` is added to `JsonConfiguration`. Disable it to hide user input from exception messages. IMPORTANT: This behavior will be enabled by default when this property becomes stable. See [#&#8203;2590](https://redirect.github.com/Kotlin/kotlinx.serialization/issues/2590) for more details. #### Bugfixes and improvements - CBOR: Relax value range check when decoding numbers ([#&#8203;3167](https://redirect.github.com/Kotlin/kotlinx.serialization/issues/3167)) - Use a specialized writeDecimalLong method for IO stream integrations in Json ([#&#8203;3152](https://redirect.github.com/Kotlin/kotlinx.serialization/issues/3152)) </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/typesafegithub/github-workflows-kt). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xMTAuMiIsInVwZGF0ZWRJblZlciI6IjQzLjExMC4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent 935c45e commit 031bb0e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

github-workflows-kt/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ version = rootProject.version
2424

2525
dependencies {
2626
implementation("it.krzeminski:snakeyaml-engine-kmp:4.0.1")
27-
implementation("org.jetbrains.kotlinx:kotlinx-serialization-core:1.10.0")
27+
implementation("org.jetbrains.kotlinx:kotlinx-serialization-core:1.11.0")
2828
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.11.0")
2929
implementation(kotlin("reflect"))
3030
implementation(projects.sharedInternal)

0 commit comments

Comments
 (0)