Bump org.jetbrains.kotlinx:kotlinx-serialization-json from 1.8.1 to 1.9.0
Bumps org.jetbrains.kotlinx:kotlinx-serialization-json from 1.8.1 to 1.9.0.
Release notes
Sourced from org.jetbrains.kotlinx:kotlinx-serialization-json's releases.
1.9.0
This release updates Kotlin version to 2.2.0, includes several bugfixes and provides serializers for
kotlin.time.Instant.Add kotlin.time.Instant serializers
Instant class was moved from kotlinx-datetime library to Kotlin standard library. As a result, kotlinx-datetime 0.7.0 no longer has serializers for the Instant class. To use the new
kotlin.time.Instantclass in your@Serializableclasses, you can use this 1.9.0 kotlinx-serialization version (Kotlin 2.2 is required). You can choose between the defaultInstantSerializer, which uses its string representation, or specifyInstantComponentSerializerthat represents instant as its components. See details in the PR.Other bugfixes
Changelog
Sourced from org.jetbrains.kotlinx:kotlinx-serialization-json's changelog.
1.9.0 / 2025-06-27
This release updates Kotlin version to 2.2.0, includes several bugfixes and provides serializers for kotlin.time.Instant.
Add kotlin.time.Instant serializers
Instant class was moved from kotlinx-datetime library to Kotlin standard library. As a result, kotlinx-datetime 0.7.0 no longer has serializers for the Instant class. To use new kotlin.time.Instant class in your
@Serializableclasses, you can use this 1.9.0 kotlinx-serialization version (Kotlin 2.2 is required). You can choose between defaultInstantSerializerwhich uses its string representation, or specifyInstantComponentSerializerthat represents instant as its components. See details in the PR.Other bugfixes
Commits
16306f4Prepare 1.9.0 releasec86e790Merge remote-tracking branch 'origin/master' into dev0b3d401Update to Kotlin 2.2 (#3031)bd6689dFix resize in JsonPath (#2995)596bac8Mention type unsoundness ofserializer()in the documentation (#2998)fee0ab1Rename KClass<*>.isInterface helper in the JS part (#3027)13a487cAdd kotlin.time.Instant serializers (#2945)297b333Add SavedState to the format doc (#3023)31e92f2Use cache redirector to download Gradle (#3014)d9176d4Add new kotlin-dev space repo url- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency -
@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)