diff --git a/CHANGELOG.md b/CHANGELOG.md index 8f844438c4..b3da8f4863 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,10 +1,24 @@ +1.6.0 / 2023-08-22 +================== + +This release contains all features and bugfixes from [1.6.0-RC](https://github.com/Kotlin/kotlinx.serialization/releases/tag/v1.6.0-RC) plus some bugfixes on its own (see below). +Kotlin 1.9.0 is used as a default, while 1.9.10 is also supported. + +### Bugfixes + + * Improve error messages from Json parser (#2406) + * Mark @SerialName, @Required and @Transient with @MustBeDocumented (#2407) + * Ensure that no additional files except java compiler output get into multi-release jar (#2405) + * Fix enums with negative numbers in protobuf not serializing & de-serializing (#2400) (thanks to [Doğaç Eldenk](https://github.com/Dogacel)) + 1.6.0-RC / 2023-08-03 ================== This release is based on the Kotlin 1.9.0. ### Removal of Legacy JS target + Some time ago, in Kotlin 1.8, [JS IR compiler was promoted to stable and old JS compiler was deprecated](https://kotlinlang.org/docs/whatsnew18.html#stable-js-ir-compiler-backend). Kotlin 1.9 promotes the usage of deprecated JS compiler to an error. As a result, kotlinx.serialization no longer builds with the legacy compiler and does not distribute artifacts for it. You can read the migration guide for JS IR compiler [here](https://kotlinlang.org/docs/js-ir-migration.html). diff --git a/README.md b/README.md index 7e6dacccd2..a6269dc1f1 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ [![GitHub license](https://img.shields.io/badge/license-Apache%20License%202.0-blue.svg?style=flat)](http://www.apache.org/licenses/LICENSE-2.0) [![TeamCity build](https://img.shields.io/teamcity/http/teamcity.jetbrains.com/s/KotlinTools_KotlinxSerialization_Ko.svg)](https://teamcity.jetbrains.com/viewType.html?buildTypeId=KotlinTools_KotlinxSerialization_Ko&guest=1) [![Kotlin](https://img.shields.io/badge/kotlin-1.9.0-blue.svg?logo=kotlin)](http://kotlinlang.org) -[![Maven Central](https://img.shields.io/maven-central/v/org.jetbrains.kotlinx/kotlinx-serialization-core/1.6.0-RC)](https://central.sonatype.com/artifact/org.jetbrains.kotlinx/kotlinx-serialization-core/1.6.0-RC) +[![Maven Central](https://img.shields.io/maven-central/v/org.jetbrains.kotlinx/kotlinx-serialization-core/1.6.0)](https://central.sonatype.com/artifact/org.jetbrains.kotlinx/kotlinx-serialization-core/1.6.0) [![KDoc link](https://img.shields.io/badge/API_reference-KDoc-blue)](https://kotlinlang.org/api/kotlinx.serialization/) [![Slack channel](https://img.shields.io/badge/chat-slack-blue.svg?logo=slack)](https://kotlinlang.slack.com/messages/serialization/) @@ -159,7 +159,7 @@ repositories { } dependencies { - implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.6.0-RC") + implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.6.0") } ``` @@ -171,7 +171,7 @@ repositories { } dependencies { - implementation "org.jetbrains.kotlinx:kotlinx-serialization-json:1.6.0-RC" + implementation "org.jetbrains.kotlinx:kotlinx-serialization-json:1.6.0" } ``` @@ -262,7 +262,7 @@ Ensure the proper version of Kotlin and serialization version: ```xml 1.9.0 - 1.6.0-RC + 1.6.0 ``` diff --git a/gradle.properties b/gradle.properties index 5ef66cd9cc..63aedbebf6 100644 --- a/gradle.properties +++ b/gradle.properties @@ -3,7 +3,7 @@ # group=org.jetbrains.kotlinx -version=1.6.0-SNAPSHOT +version=1.6.1-SNAPSHOT kotlin.version=1.9.0 diff --git a/integration-test/gradle.properties b/integration-test/gradle.properties index 749d431013..e0e885542c 100644 --- a/integration-test/gradle.properties +++ b/integration-test/gradle.properties @@ -3,7 +3,7 @@ # mainKotlinVersion=1.9.0 -mainLibVersion=1.6.0-SNAPSHOT +mainLibVersion=1.6.1-SNAPSHOT kotlin.code.style=official kotlin.js.compiler=ir