Skip to content

Commit c75b46d

Browse files
authored
Prepare 1.7.1 release (#2726)
1 parent c628e29 commit c75b46d

File tree

5 files changed

+31
-6
lines changed

5 files changed

+31
-6
lines changed

CHANGELOG.md

+23
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,27 @@
11

2+
1.7.1 / 2024-06-25
3+
==================
4+
5+
This is a bugfix release that aims to fix missing `kotlinx-serialization-hocon` artifact.
6+
It also contains experimental integration with `kotlinx-io` library.
7+
Kotlin 2.0.0 is used by default.
8+
9+
## Fixed HOCON publication
10+
11+
Sadly, 1.7.0 release was published incomplete: `kotlinx-serialization-hocon` artifact is missing from 1.7.0 and 1.7.0-RC releases.
12+
This release fixes this problem and now `kotlinx-serialization-hocon` is available again with 1.7.1 version.
13+
No other changes were made to this artifact. Related ticket: [#2717](https://github.com/Kotlin/kotlinx.serialization/issues/2717).
14+
15+
## Add integration with a kotlinx-io library
16+
17+
[`kotlinx-io`](https://github.com/Kotlin/kotlinx-io) is an official multiplatform library that provides basic IO primitives, similar to Okio.
18+
kotlinx.serialization integration is now available in a separate artifact, located at the `kotlinx-serialization-json-io` coordinates.
19+
Integration artifact provides functions similar to existing [Okio integration](https://kotlinlang.org/api/kotlinx.serialization/kotlinx-serialization-json-okio/kotlinx.serialization.json.okio/): `encodeToSink`, `decodeFromSource`, and `decodeSourceToSequence`.
20+
Check out the [PR](https://github.com/Kotlin/kotlinx.serialization/pull/2707) for more details.
21+
22+
## Other bugfixes
23+
* Prohibited use of elements other than JsonObject in JsonTransformingSerializer with polymorphic serialization (#2715)
24+
225
1.7.0 / 2024-06-05
326
==================
427

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-2.0.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.7.0)](https://central.sonatype.com/artifact/org.jetbrains.kotlinx/kotlinx-serialization-core/1.7.0)
8+
[![Maven Central](https://img.shields.io/maven-central/v/org.jetbrains.kotlinx/kotlinx-serialization-core/1.7.1)](https://central.sonatype.com/artifact/org.jetbrains.kotlinx/kotlinx-serialization-core/1.7.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

@@ -164,7 +164,7 @@ repositories {
164164
}
165165

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

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

@@ -267,7 +267,7 @@ Ensure the proper version of Kotlin and serialization version:
267267
```xml
268268
<properties>
269269
<kotlin.version>2.0.0</kotlin.version>
270-
<serialization.version>1.7.0</serialization.version>
270+
<serialization.version>1.7.1</serialization.version>
271271
</properties>
272272
```
273273

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.7.1-SNAPSHOT
6+
version=1.7.2-SNAPSHOT
77

88
# This version takes precedence if 'bootstrap' property passed to project
99
kotlin.version.snapshot=2.0.255-SNAPSHOT

integration-test/build.gradle.kts

+2
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ kotlin {
6666
implementation(kotlin("stdlib"))
6767
implementation("org.jetbrains.kotlinx:kotlinx-serialization-core:$serialization_version")
6868
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:$serialization_version")
69+
// To check that all expected artifacts are resolvable:
70+
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json-io:$serialization_version")
6971
implementation("org.jetbrains.kotlinx:kotlinx-serialization-protobuf:$serialization_version")
7072
implementation("org.jetbrains.kotlinx:kotlinx-serialization-cbor:$serialization_version")
7173
}

integration-test/gradle.properties

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

55
mainKotlinVersion=2.0.0
6-
mainLibVersion=1.7.1-SNAPSHOT
6+
mainLibVersion=1.7.2-SNAPSHOT
77

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

0 commit comments

Comments
 (0)