Skip to content

build(deps): bump kotlinx-serialization from 1.7.1 to 1.9.0 #249

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: dev/main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 30, 2025

Bumps kotlinx-serialization from 1.7.1 to 1.9.0.
Updates org.jetbrains.kotlinx:kotlinx-serialization-core from 1.7.1 to 1.9.0

Release notes

Sourced from org.jetbrains.kotlinx:kotlinx-serialization-core'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.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 the 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)

1.8.1

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

Improvements

  • Implemented encoding null in key and value of a map in Protobuf (#2910)
  • Make type argument in JsonTransformingSerializer nullable (#2911)
  • Use SPDX identifier in POMs (#2936) (thanks to Leon Linhart)
  • Add watchosDeviceArm64 to Okio integration module (#2920) (thanks to Daniel Santiago)
  • Update kotlinx-io version to 0.6.0 (#2933) (thanks to Piotr Krzemiński)

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)

1.8.0

This release contains all of the changes from 1.8.0-RC. Kotlin 2.1.0 is used as a default, while upcoming 2.1.10 is also supported. Also added small bugfixes, including speedup of ProtoWireType.from (#2879).

Changelog for 1.8.0-RC is presented below:

@JsonIgnoreUnknownKeys annotation

Previously, only global setting JsonBuilder.ignoreUnknownKeys controlled whether Json parser would throw exception if input contained a property that was not declared in a @Serializable class. There were a lot of complaints that this setting is not flexible enough. To address them, we added new @JsonIgnoreUnknownKeys annotation that can be applied on a per-class basis. With this annotation, it is possible to allow unknown properties for annotated classes, while general decoding methods (such as Json.decodeFromString and others) would still reject them for everything else. See details in the corresponding PR.

Stabilization of SerialDescriptor API and @SealedSerializationApi annotation

SerialDescriptor, SerialKind, and related API has been around for a long time and has proven itself useful. The main reason @ExperimentalSerializationApi was on SerialDescriptor's properties is that we wanted to discourage

... (truncated)

Changelog

Sourced from org.jetbrains.kotlinx:kotlinx-serialization-core'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 @​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)

1.8.1 / 2025-03-31

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

Improvements

  • Implemented encoding null in key and value of a map in Protobuf (#2910)
  • Make type argument in JsonTransformingSerializer nullable (#2911)
  • Use SPDX identifier in POMs (#2936) (thanks to Leon Linhart)
  • Add watchosDeviceArm64 to Okio integration module (#2920) (thanks to Daniel Santiago)
  • Update kotlinx-io version to 0.6.0 (#2933) (thanks to Piotr Krzemiński)

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)

1.8.0 / 2025-01-06

This release contains all of the changes from 1.8.0-RC. Kotlin 2.1.0 is used as a default, while upcoming 2.1.10 is also supported. Also added small bugfixes, including speedup of ProtoWireType.from (#2879).

1.8.0-RC / 2024-12-10

This is a release candidate for the next version. It is based on Kotlin 2.1.0 and includes a few new features, as well as bugfixes and improvements:

@JsonIgnoreUnknownKeys annotation

... (truncated)

Commits

Updates org.jetbrains.kotlinx:kotlinx-serialization-json from 1.7.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.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 the 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)

1.8.1

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

Improvements

  • Implemented encoding null in key and value of a map in Protobuf (#2910)
  • Make type argument in JsonTransformingSerializer nullable (#2911)
  • Use SPDX identifier in POMs (#2936) (thanks to Leon Linhart)
  • Add watchosDeviceArm64 to Okio integration module (#2920) (thanks to Daniel Santiago)
  • Update kotlinx-io version to 0.6.0 (#2933) (thanks to Piotr Krzemiński)

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)

1.8.0

This release contains all of the changes from 1.8.0-RC. Kotlin 2.1.0 is used as a default, while upcoming 2.1.10 is also supported. Also added small bugfixes, including speedup of ProtoWireType.from (#2879).

Changelog for 1.8.0-RC is presented below:

@JsonIgnoreUnknownKeys annotation

Previously, only global setting JsonBuilder.ignoreUnknownKeys controlled whether Json parser would throw exception if input contained a property that was not declared in a @Serializable class. There were a lot of complaints that this setting is not flexible enough. To address them, we added new @JsonIgnoreUnknownKeys annotation that can be applied on a per-class basis. With this annotation, it is possible to allow unknown properties for annotated classes, while general decoding methods (such as Json.decodeFromString and others) would still reject them for everything else. See details in the corresponding PR.

Stabilization of SerialDescriptor API and @SealedSerializationApi annotation

SerialDescriptor, SerialKind, and related API has been around for a long time and has proven itself useful. The main reason @ExperimentalSerializationApi was on SerialDescriptor's properties is that we wanted to discourage

... (truncated)

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 @​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)

1.8.1 / 2025-03-31

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

Improvements

  • Implemented encoding null in key and value of a map in Protobuf (#2910)
  • Make type argument in JsonTransformingSerializer nullable (#2911)
  • Use SPDX identifier in POMs (#2936) (thanks to Leon Linhart)
  • Add watchosDeviceArm64 to Okio integration module (#2920) (thanks to Daniel Santiago)
  • Update kotlinx-io version to 0.6.0 (#2933) (thanks to Piotr Krzemiński)

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)

1.8.0 / 2025-01-06

This release contains all of the changes from 1.8.0-RC. Kotlin 2.1.0 is used as a default, while upcoming 2.1.10 is also supported. Also added small bugfixes, including speedup of ProtoWireType.from (#2879).

1.8.0-RC / 2024-12-10

This is a release candidate for the next version. It is based on Kotlin 2.1.0 and includes a few new features, as well as bugfixes and improvements:

@JsonIgnoreUnknownKeys annotation

... (truncated)

Commits

Updates org.jetbrains.kotlinx:kotlinx-serialization-hocon from 1.7.1 to 1.9.0

Release notes

Sourced from org.jetbrains.kotlinx:kotlinx-serialization-hocon'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.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 the 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)

1.8.1

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

Improvements

  • Implemented encoding null in key and value of a map in Protobuf (#2910)
  • Make type argument in JsonTransformingSerializer nullable (#2911)
  • Use SPDX identifier in POMs (#2936) (thanks to Leon Linhart)
  • Add watchosDeviceArm64 to Okio integration module (#2920) (thanks to Daniel Santiago)
  • Update kotlinx-io version to 0.6.0 (#2933) (thanks to Piotr Krzemiński)

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)

1.8.0

This release contains all of the changes from 1.8.0-RC. Kotlin 2.1.0 is used as a default, while upcoming 2.1.10 is also supported. Also added small bugfixes, including speedup of ProtoWireType.from (#2879).

Changelog for 1.8.0-RC is presented below:

@JsonIgnoreUnknownKeys annotation

Previously, only global setting JsonBuilder.ignoreUnknownKeys controlled whether Json parser would throw exception if input contained a property that was not declared in a @Serializable class. There were a lot of complaints that this setting is not flexible enough. To address them, we added new @JsonIgnoreUnknownKeys annotation that can be applied on a per-class basis. With this annotation, it is possible to allow unknown properties for annotated classes, while general decoding methods (such as Json.decodeFromString and others) would still reject them for everything else. See details in the corresponding PR.

Stabilization of SerialDescriptor API and @SealedSerializationApi annotation

SerialDescriptor, SerialKind, and related API has been around for a long time and has proven itself useful. The main reason @ExperimentalSerializationApi was on SerialDescriptor's properties is that we wanted to discourage

... (truncated)

Changelog

Sourced from org.jetbrains.kotlinx:kotlinx-serialization-hocon'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 @​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)

1.8.1 / 2025-03-31

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

Improvements

  • Implemented encoding null in key and value of a map in Protobuf (#2910)
  • Make type argument in JsonTransformingSerializer nullable (#2911)
  • Use SPDX identifier in POMs (#2936) (thanks to Leon Linhart)
  • Add watchosDeviceArm64 to Okio integration module (#2920) (thanks to Daniel Santiago)
  • Update kotlinx-io version to 0.6.0 (#2933) (thanks to Piotr Krzemiński)

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)

1.8.0 / 2025-01-06

This release contains all of the changes from 1.8.0-RC. Kotlin 2.1.0 is used as a default, while upcoming 2.1.10 is also supported. Also added small bugfixes, including speedup of ProtoWireType.from (#2879).

1.8.0-RC / 2024-12-10

This is a release candidate for the next version. It is based on Kotlin 2.1.0 and includes a few new features, as well as bugfixes and improvements:

@JsonIgnoreUnknownKeys annotation

... (truncated)

Commits

Updates org.jetbrains.kotlinx:kotlinx-serialization-protobuf from 1.7.1 to 1.9.0

Release notes

Sourced from org.jetbrains.kotlinx:kotlinx-serialization-protobuf'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.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 the 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)

1.8.1

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

Improvements

  • Implemented encoding null in key and value of a map in Protobuf (#2910)
  • Make type argument in JsonTransformingSerializer nullable (#2911)
  • Use SPDX identifier in POMs (#2936) (thanks to Leon Linhart)
  • Add watchosDeviceArm64 to Okio integration module (#2920) (thanks to Daniel Santiago)
  • Update kotlinx-io version to 0.6.0 (#2933) (thanks to Piotr Krzemiński)

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)

1.8.0

This release contains all of the changes from 1.8.0-RC. Kotlin 2.1.0 is used as a default, while upcoming 2.1.10 is also supported. Also added small bugfixes, including speedup of ProtoWireType.from (#2879).

Changelog for 1.8.0-RC is presented below:

@JsonIgnoreUnknownKeys annotation

Previously, only global setting JsonBuilder.ignoreUnknownKeys controlled whether Json parser would throw exception if input contained a property that was not declared in a @Serializable class. There were a lot of complaints that this setting is not flexible enough. To address them, we added new @JsonIgnoreUnknownKeys annotation that can be applied on a per-class basis. With this annotation, it is possible to allow unknown properties for annotated classes, while general decoding methods (such as Json.decodeFromString and others) would still reject them for everything else. See details in the corresponding PR.

Stabilization of SerialDescriptor API and @SealedSerializationApi annotation

SerialDescriptor, SerialKind, and related API has been around for a long time and has proven itself useful. The main reason @ExperimentalSerializationApi was on SerialDescriptor's properties is that we wanted to discourage

... (truncated)

Changelog

Sourced from org.jetbrains.kotlinx:kotlinx-serialization-protobuf'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 @​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)

1.8.1 / 2025-03-31

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

Improvements

  • Implemented encoding null in key and value of a map in Protobuf (#2910)
  • Make type argument in JsonTransformingSerializer nullable (#2911)
  • Use SPDX identifier in POMs (#2936) (thanks to Leon Linhart)
  • Add watchosDeviceArm64 to Okio integration module (#2920) (thanks to Daniel Santiago)
  • Update kotlinx-io version to 0.6.0 (#2933) (thanks to Piotr Krzemiński)

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)

1.8.0 / 2025-01-06

This release contains all of the changes from 1.8.0-RC. Kotlin 2.1.0 is used as a default, while upcoming 2.1.10 is also supported. Also added small bugfixes, including speedup of ProtoWireType.from (#2879).

1.8.0-RC / 2024-12-10

This is a release candidate for the next version. It is based on Kotlin 2.1.0 and includes a few new features, as well as bugfixes and improvements:

@JsonIgnoreUnknownKeys annotation

... (truncated)

Commits

Updates org.jetbrains.kotlinx:kotlinx-serialization-cbor from 1.7.1 to 1.9.0

Release notes

Sourced from org.jetbrains.kotlinx:kotlinx-serialization-cbor'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.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 the 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)

1.8.1

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

Improvements

  • Implemented encoding null in key and value of a map in Protobuf (#2910)
  • Make type argument in JsonTransformingSerializer nullable (#2911)
  • Use SPDX identifier in POMs (#2936) (thanks to Leon Linhart)
  • Add watchosDeviceArm64 to Okio integration module (#2920) (thanks to Daniel Santiago)
  • Update kotlinx-io version to 0.6.0 (#2933) (thanks to Piotr Krzemiński)

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)

1.8.0

This release contains all of the changes from 1.8.0-RC. Kotlin 2.1.0 is used as a default, while upcoming 2.1.10 is also supported. Also added small bugfixes, including speedup of ProtoWireType.from (#2879).

Changelog for 1.8.0-RC is presented below:

@JsonIgnoreUnknownKeys annotation

Previously, only global setting JsonBuilder.ignoreUnknownKeys controlled whether Json parser would throw exception if input contained a property that was not declared in a @Serializable class. There were a lot of complaints that this setting is not flexible enough. To address them, we added new @JsonIgnoreUnknownKeys annotation that can be applied on a per-class basis. With this annotation, it is possible to allow unknown properties for annotated classes, while general decoding methods (such as Json.decodeFromString and others) would still reject them for everything else. See details in the corresponding PR.

Stabilization of SerialDescriptor API and @SealedSerializationApi annotation

SerialDescriptor, SerialKind, and related API has been around for a long time and has proven itself useful. The main reason @ExperimentalSerializationApi was on SerialDescriptor's properties is that we wanted to discourage

... (truncated)

Changelog

Sourced from org.jetbrains.kotlinx:kotlinx-serialization-cbor'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 @​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)

1.8.1 / 2025-03-31

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

Improvements

  • Implemented encoding null in key and value of a map in Protobuf (#2910)
  • Make type argument in JsonTransformingSerializer nullable (#2911)
  • Use SPDX identifier in POMs (#2936) (thanks to Leon Linhart)
  • Add watchosDeviceArm64 to Okio integration module (#2920) (thanks to Daniel Santiago)
  • Update kotlinx-io version to 0.6.0 (#2933) (thanks to Piotr Krzemiński)

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)

1.8.0 / 2025-01-06

This release contains all of the changes from 1.8.0-RC. Kotlin 2.1.0 is used as a default, while upcoming 2.1.10 is also supported. Also added small bugfixes, including speedup of ProtoWireType.from (#2879).

1.8.0-RC / 2024-12-10

This is a release candidate for the next version. It is based on Kotlin 2.1.0 and includes a few new features, as well as bugfixes and improvements:

@JsonIgnoreUnknownKeys annotation

... (truncated)

Commits

Updates org.jetbrains.kotlinx:kotlinx-serialization-properties from 1.7.1 to 1.9.0

Release notes

Sourced from org.jetbrains.kotlinx:kotlinx-serialization-properties'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.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 the 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)

1.8.1

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

Improvements

  • Implemented encoding null in key and value of a map in Protobuf (#2910)
  • Make type argument in JsonTransformingSerializer nullable (#2911)
  • Use SPDX identifier in POMs (#2936) (thanks to Leon Linhart)
  • Add watchosDeviceArm64 to Okio integration module (#2920) (thanks to Daniel Santiago)
  • Update kotlinx-io version to 0.6.0 (#2933) (thanks to Piotr Krzemiński)

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)

1.8.0

This release contains all of the changes from 1.8.0-RC. Kotlin 2.1.0 is used as a default, while upcoming 2.1.10 is also supported. Also added small bugfixes, including speedup of ProtoWireType.from (#2879).

Changelog for 1.8.0-RC is presented below:

@JsonIgnoreUnknownKeys annotation

Previously, only global setting JsonBuilder.ignoreUnknownKeys controlled whether Json parser would throw exception if input contained a property that was not declared in a @Serializable class. There were a lot of complaints that this setting is not flexible enough. To address them, we added new @JsonIgnoreUnknownKeys annotation that can be applied on a per-class basis. With this annotation, it is possible to allow unknown properties for annotated classes, while general decoding methods (such as Json.decodeFromString and others) would still reject them for everything else. See details in the corresponding PR.

Stabilization of SerialDescriptor API and @SealedSerializationApi annotation

SerialDescriptor, SerialKind, and related API has been around for a long time and has proven itself useful. The main reason @ExperimentalSerializationApi was on SerialDescriptor's properties is that we wanted to discourage

... (truncated)

Changelog

Sourced from org.jetbrains.kotlinx:kotlinx-serialization-properties'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 @​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)

1.8.1 / 2025-03-31

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

Improvements

  • Implemented encoding null in key and value of a map in Protobuf (#2910)
  • Make type argument in JsonTransformingSerializer nullable (#2911)
  • Use SPDX identifier in POMs (#2936) (thanks to Leon Linhart)
  • Add watchosDeviceArm64 to Okio integration module (#2920) (thanks to Daniel Santiago)
  • Update kotlinx-io version to 0.6.0 (#2933) (thanks to Piotr Krzemiński)

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)

1.8.0 / 2025-01-06

This release contains all of the changes from 1.8.0-RC. Kotlin 2.1.0 is used as a default, while upcoming 2.1.10 is also supported. Also added small bugfixes, including speedup of ProtoWireType.from (#2879).

1.8.0-RC / 2024-12-10

This is a release candidate for the next version. It is based on Kotlin 2.1.0 and includes a few new features, as well as bugfixes and improvements:

@JsonIgnoreUnknownKeys annotation

... (truncated)

Commits

Bumps `kotlinx-serialization` from 1.7.1 to 1.9.0.

Updates `org.jetbrains.kotlinx:kotlinx-serialization-core` from 1.7.1 to 1.9.0
- [Release notes](https://github.com/Kotlin/kotlinx.serialization/releases)
- [Changelog](https://github.com/Kotlin/kotlinx.serialization/blob/master/CHANGELOG.md)
- [Commits](Kotlin/kotlinx.serialization@v1.7.1...v1.9.0)

Updates `org.jetbrains.kotlinx:kotlinx-serialization-json` from 1.7.1 to 1.9.0
- [Release notes](https://github.com/Kotlin/kotlinx.serialization/releases)
- [Changelog](https://github.com/Kotlin/kotlinx.serialization/blob/master/CHANGELOG.md)
- [Commits](Kotlin/kotlinx.serialization@v1.7.1...v1.9.0)

Updates `org.jetbrains.kotlinx:kotlinx-serialization-hocon` from 1.7.1 to 1.9.0
- [Release notes](https://github.com/Kotlin/kotlinx.serialization/releases)
- [Changelog](https://github.com/Kotlin/kotlinx.serialization/blob/master/CHANGELOG.md)
- [Commits](Kotlin/kotlinx.serialization@v1.7.1...v1.9.0)

Updates `org.jetbrains.kotlinx:kotlinx-serialization-protobuf` from 1.7.1 to 1.9.0
- [Release notes](https://github.com/Kotlin/kotlinx.serialization/releases)
- [Changelog](https://github.com/Kotlin/kotlinx.serialization/blob/master/CHANGELOG.md)
- [Commits](Kotlin/kotlinx.serialization@v1.7.1...v1.9.0)

Updates `org.jetbrains.kotlinx:kotlinx-serialization-cbor` from 1.7.1 to 1.9.0
- [Release notes](https://github.com/Kotlin/kotlinx.serialization/releases)
- [Changelog](https://github.com/Kotlin/kotlinx.serialization/blob/master/CHANGELOG.md)
- [Commits](Kotlin/kotlinx.serialization@v1.7.1...v1.9.0)

Updates `org.jetbrains.kotlinx:kotlinx-serialization-properties` from 1.7.1 to 1.9.0
- [Release notes](https://github.com/Kotlin/kotlinx.serialization/releases)
- [Changelog](https://github.com/Kotlin/kotlinx.serialization/blob/master/CHANGELOG.md)
- [Commits](Kotlin/kotlinx.serialization@v1.7.1...v1.9.0)

---
updated-dependencies:
- dependency-name: org.jetbrains.kotlinx:kotlinx-serialization-core
  dependency-version: 1.9.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.jetbrains.kotlinx:kotlinx-serialization-json
  dependency-version: 1.9.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.jetbrains.kotlinx:kotlinx-serialization-hocon
  dependency-version: 1.9.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.jetbrains.kotlinx:kotlinx-serialization-protobuf
  dependency-version: 1.9.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.jetbrains.kotlinx:kotlinx-serialization-cbor
  dependency-version: 1.9.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.jetbrains.kotlinx:kotlinx-serialization-properties
  dependency-version: 1.9.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies 依赖更新相关 label Jun 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies 依赖更新相关
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant