Skip to content

Commit 79bbd4c

Browse files
authored
Prepare 1.6.1 release (#2503)
1 parent b2a05a4 commit 79bbd4c

File tree

4 files changed

+46
-16
lines changed

4 files changed

+46
-16
lines changed

CHANGELOG.md

+30
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,33 @@
1+
1.6.1 / 2023-11-15
2+
==================
3+
4+
This release uses Kotlin 1.9.20 by default, while upcoming 1.9.21 is also supported.
5+
6+
### Trailing commas in Json
7+
8+
Trailing commas are one of the most popular non-spec Json variations.
9+
A new configuration flag, `allowTrailingComma`, makes Json parser accept them instead of throwing an exception.
10+
Note that it does not affect encoding, so kotlinx.serialization always produces Json without trailing commas.
11+
See details in the corresponding [PR](https://github.com/Kotlin/kotlinx.serialization/pull/2480)
12+
13+
### Support of WasmJs target
14+
15+
Kotlin/Wasm has been experimental for some time and gained enough maturity to be added to the kotlinx libraries.
16+
Starting with 1.6.1, kotlinx.serialization provides a wasm-js flavor, so your projects with Kotlin/Wasm can have even more
17+
functionality.
18+
As usual, just add serialization dependencies to your build
19+
and [declare wasmJs target](https://kotlinlang.org/docs/whatsnew1920.html#new-wasm-wasi-target-and-the-renaming-of-the-wasm-target-to-wasm-js).
20+
Please remember that Kotlin/Wasm is still experimental, so changes are expected.
21+
22+
### Bugfixes and improvements
23+
24+
* Fix TaggedDecoder nullable decoding (#2456) (thanks to [Phillip Schichtel](https://github.com/pschichtel))
25+
* Fix IllegalAccessException for some JPMS boundaries (#2469)
26+
* Cbor: check if inline value classes are marked as @ByteString (#2466) (thanks to [eater](https://github.com/the-eater))
27+
* Improve polymorphic deserialization optimization (#2481)
28+
* Update Okio dependency to 3.6.0 (#2473)
29+
* Add protobuf conformance tests (#2404) (thanks to [Doğaç Eldenk](https://github.com/Dogacel))
30+
* Support decoding maps with boolean keys (#2440)
131

232
1.6.0 / 2023-08-22
333
==================

README.md

+12-12
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
[![JetBrains official project](https://jb.gg/badges/official.svg)](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub)
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)
7-
[![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)](https://central.sonatype.com/artifact/org.jetbrains.kotlinx/kotlinx-serialization-core/1.6.0)
7+
[![Kotlin](https://img.shields.io/badge/kotlin-1.9.20-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.1)](https://central.sonatype.com/artifact/org.jetbrains.kotlinx/kotlinx-serialization-core/1.6.1)
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

@@ -95,17 +95,17 @@ Kotlin DSL:
9595

9696
```kotlin
9797
plugins {
98-
kotlin("jvm") version "1.9.0" // or kotlin("multiplatform") or any other kotlin plugin
99-
kotlin("plugin.serialization") version "1.9.0"
98+
kotlin("jvm") version "1.9.20" // or kotlin("multiplatform") or any other kotlin plugin
99+
kotlin("plugin.serialization") version "1.9.20"
100100
}
101101
```
102102

103103
Groovy DSL:
104104

105105
```gradle
106106
plugins {
107-
id 'org.jetbrains.kotlin.multiplatform' version '1.9.0'
108-
id 'org.jetbrains.kotlin.plugin.serialization' version '1.9.0'
107+
id 'org.jetbrains.kotlin.multiplatform' version '1.9.20'
108+
id 'org.jetbrains.kotlin.plugin.serialization' version '1.9.20'
109109
}
110110
```
111111

@@ -123,7 +123,7 @@ buildscript {
123123
repositories { mavenCentral() }
124124

125125
dependencies {
126-
val kotlinVersion = "1.9.0"
126+
val kotlinVersion = "1.9.20"
127127
classpath(kotlin("gradle-plugin", version = kotlinVersion))
128128
classpath(kotlin("serialization", version = kotlinVersion))
129129
}
@@ -134,7 +134,7 @@ Groovy DSL:
134134

135135
```gradle
136136
buildscript {
137-
ext.kotlin_version = '1.9.0'
137+
ext.kotlin_version = '1.9.20'
138138
repositories { mavenCentral() }
139139
140140
dependencies {
@@ -164,7 +164,7 @@ repositories {
164164
}
165165

166166
dependencies {
167-
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.6.0")
167+
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.6.1")
168168
}
169169
```
170170

@@ -176,7 +176,7 @@ repositories {
176176
}
177177
178178
dependencies {
179-
implementation "org.jetbrains.kotlinx:kotlinx-serialization-json:1.6.0"
179+
implementation "org.jetbrains.kotlinx:kotlinx-serialization-json:1.6.1"
180180
}
181181
```
182182

@@ -266,8 +266,8 @@ Ensure the proper version of Kotlin and serialization version:
266266

267267
```xml
268268
<properties>
269-
<kotlin.version>1.9.0</kotlin.version>
270-
<serialization.version>1.6.0</serialization.version>
269+
<kotlin.version>1.9.20</kotlin.version>
270+
<serialization.version>1.6.1</serialization.version>
271271
</properties>
272272
```
273273

gradle.properties

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
#
44

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

8-
kotlin.version=1.9.20-RC
8+
kotlin.version=1.9.20
99

1010
# This version takes precedence if 'bootstrap' property passed to project
1111
kotlin.version.snapshot=1.9.255-SNAPSHOT

integration-test/gradle.properties

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
# Copyright 2017-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
33
#
44

5-
mainKotlinVersion=1.9.20-RC
6-
mainLibVersion=1.6.1-SNAPSHOT
5+
mainKotlinVersion=1.9.20
6+
mainLibVersion=1.6.2-SNAPSHOT
77

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

0 commit comments

Comments
 (0)