Skip to content

Commit 8baa04b

Browse files
authored
Prepare 1.6.0 release (#2414)
1 parent 79867f1 commit 8baa04b

File tree

4 files changed

+20
-6
lines changed

4 files changed

+20
-6
lines changed

CHANGELOG.md

+14
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,24 @@
11

2+
1.6.0 / 2023-08-22
3+
==================
4+
5+
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).
6+
Kotlin 1.9.0 is used as a default, while 1.9.10 is also supported.
7+
8+
### Bugfixes
9+
10+
* Improve error messages from Json parser (#2406)
11+
* Mark @SerialName, @Required and @Transient with @MustBeDocumented (#2407)
12+
* Ensure that no additional files except java compiler output get into multi-release jar (#2405)
13+
* Fix enums with negative numbers in protobuf not serializing & de-serializing (#2400) (thanks to [Doğaç Eldenk](https://github.com/Dogacel))
14+
215
1.6.0-RC / 2023-08-03
316
==================
417

518
This release is based on the Kotlin 1.9.0.
619

720
### Removal of Legacy JS target
21+
822
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).
923
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
1024
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).

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
[![GitHub license](https://img.shields.io/badge/license-Apache%20License%202.0-blue.svg?style=flat)](http://www.apache.org/licenses/LICENSE-2.0)
66
[![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)
77
[![Kotlin](https://img.shields.io/badge/kotlin-1.9.0-blue.svg?logo=kotlin)](http://kotlinlang.org)
8-
[![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)
8+
[![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)
99
[![KDoc link](https://img.shields.io/badge/API_reference-KDoc-blue)](https://kotlinlang.org/api/kotlinx.serialization/)
1010
[![Slack channel](https://img.shields.io/badge/chat-slack-blue.svg?logo=slack)](https://kotlinlang.slack.com/messages/serialization/)
1111

@@ -159,7 +159,7 @@ repositories {
159159
}
160160

161161
dependencies {
162-
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.6.0-RC")
162+
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.6.0")
163163
}
164164
```
165165

@@ -171,7 +171,7 @@ repositories {
171171
}
172172
173173
dependencies {
174-
implementation "org.jetbrains.kotlinx:kotlinx-serialization-json:1.6.0-RC"
174+
implementation "org.jetbrains.kotlinx:kotlinx-serialization-json:1.6.0"
175175
}
176176
```
177177

@@ -262,7 +262,7 @@ Ensure the proper version of Kotlin and serialization version:
262262
```xml
263263
<properties>
264264
<kotlin.version>1.9.0</kotlin.version>
265-
<serialization.version>1.6.0-RC</serialization.version>
265+
<serialization.version>1.6.0</serialization.version>
266266
</properties>
267267
```
268268

gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44

55
group=org.jetbrains.kotlinx
6-
version=1.6.0-SNAPSHOT
6+
version=1.6.1-SNAPSHOT
77

88
kotlin.version=1.9.0
99

integration-test/gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44

55
mainKotlinVersion=1.9.0
6-
mainLibVersion=1.6.0-SNAPSHOT
6+
mainLibVersion=1.6.1-SNAPSHOT
77

88
kotlin.code.style=official
99
kotlin.js.compiler=ir

0 commit comments

Comments
 (0)