Skip to content

Update kotlinx.serialization to v1.9.0 #3302

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

solrbot
Copy link
Collaborator

@solrbot solrbot commented Apr 1, 2025

This PR contains the following updates:

Package Type Update Change
org.jetbrains.kotlinx:kotlinx-serialization-json dependencies minor 1.8.0 -> 1.9.0
org.jetbrains.kotlinx:kotlinx-serialization-core dependencies minor 1.8.0 -> 1.9.0

Release Notes

Kotlin/kotlinx.serialization (org.jetbrains.kotlinx:kotlinx-serialization-json)

v1.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 new kotlin.time.Instant class in your @​Serializable classes,
you can use this 1.9.0 kotlinx-serialization version (Kotlin 2.2 is required).
You can choose between default InstantSerializer which uses its string representation,
or specify InstantComponentSerializer that represents instant as its components.
See details in the PR.

Other bugfixes

  • Fix resize in JsonPath (#​2995)
  • Fixed proguard rules for obfuscation to work correctly (#​2983)

v1.8.1

==================

This release updates Kotlin version to 2.1.20, while also providing several important improvements
and bugfixes.

Improvements

Bugfixes

  • Fix incorrect enum coercion during deserialization from JsonElement (#​2962)
  • Supply proper equals(), hashCode(), and toString() for SerialDescriptor() wrapper (#​2942)
  • Do not encode empty packed collections in protobuf (#​2907)

Configuration

📅 Schedule: Branch creation - "* * * * *" (UTC), 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 these updates again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot

@solrbot solrbot changed the title chore(deps): update kotlinx.serialization to v1.8.1 Update kotlinx.serialization to v1.8.1 Apr 3, 2025
@solrbot solrbot force-pushed the renovate/kotlinx.serialization branch from e0e5363 to 30d0d27 Compare May 26, 2025 07:43
@solrbot solrbot force-pushed the renovate/kotlinx.serialization branch from 30d0d27 to 062a4f4 Compare June 27, 2025 16:38
@solrbot solrbot changed the title Update kotlinx.serialization to v1.8.1 Update kotlinx.serialization to v1.9.0 Jun 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant