summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonid Startsev <sandwwraith@gmail.com>2023-08-21 16:24:30 +0200
committerLeonid Startsev <sandwwraith@gmail.com>2023-08-22 17:04:02 +0200
commitb4193ee4661c2d8a5d82185883ecfb26c264fa65 (patch)
treebed50d18d3f33fd70e96d2c6ef54206280192575
parent79867f12b97e7ea1b8a97b7039f87adca06bf7be (diff)
downloadkotlinx.serialization-upstream-1.6.0-release.tar.gz
Prepare 1.6.0 releaseupstream-1.6.0-release
-rw-r--r--CHANGELOG.md14
-rw-r--r--README.md8
-rw-r--r--gradle.properties2
-rw-r--r--integration-test/gradle.properties2
4 files changed, 20 insertions, 6 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 8f844438..b3da8f48 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 7e6daccc..a6269dc1 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
<properties>
<kotlin.version>1.9.0</kotlin.version>
- <serialization.version>1.6.0-RC</serialization.version>
+ <serialization.version>1.6.0</serialization.version>
</properties>
```
diff --git a/gradle.properties b/gradle.properties
index 5ef66cd9..63aedbeb 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 749d4310..e0e88554 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