Skip to content

Commit

Permalink
Prepare 1.7.1 release (#2726)
Browse files Browse the repository at this point in the history
  • Loading branch information
sandwwraith authored Jun 25, 2024
1 parent c628e29 commit c75b46d
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 6 deletions.
23 changes: 23 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,27 @@

1.7.1 / 2024-06-25
==================

This is a bugfix release that aims to fix missing `kotlinx-serialization-hocon` artifact.
It also contains experimental integration with `kotlinx-io` library.
Kotlin 2.0.0 is used by default.

## Fixed HOCON publication

Sadly, 1.7.0 release was published incomplete: `kotlinx-serialization-hocon` artifact is missing from 1.7.0 and 1.7.0-RC releases.
This release fixes this problem and now `kotlinx-serialization-hocon` is available again with 1.7.1 version.
No other changes were made to this artifact. Related ticket: [#2717](https://github.com/Kotlin/kotlinx.serialization/issues/2717).

## Add integration with a kotlinx-io library

[`kotlinx-io`](https://github.com/Kotlin/kotlinx-io) is an official multiplatform library that provides basic IO primitives, similar to Okio.
kotlinx.serialization integration is now available in a separate artifact, located at the `kotlinx-serialization-json-io` coordinates.
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`.
Check out the [PR](https://github.com/Kotlin/kotlinx.serialization/pull/2707) for more details.

## Other bugfixes
* Prohibited use of elements other than JsonObject in JsonTransformingSerializer with polymorphic serialization (#2715)

1.7.0 / 2024-06-05
==================

Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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-2.0.0-blue.svg?logo=kotlin)](http://kotlinlang.org)
[![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)
[![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)
[![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/)

Expand Down Expand Up @@ -164,7 +164,7 @@ repositories {
}

dependencies {
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.7.0")
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.7.1")
}
```

Expand All @@ -176,7 +176,7 @@ repositories {
}
dependencies {
implementation "org.jetbrains.kotlinx:kotlinx-serialization-json:1.7.0"
implementation "org.jetbrains.kotlinx:kotlinx-serialization-json:1.7.1"
}
```

Expand Down Expand Up @@ -267,7 +267,7 @@ Ensure the proper version of Kotlin and serialization version:
```xml
<properties>
<kotlin.version>2.0.0</kotlin.version>
<serialization.version>1.7.0</serialization.version>
<serialization.version>1.7.1</serialization.version>
</properties>
```

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#

group=org.jetbrains.kotlinx
version=1.7.1-SNAPSHOT
version=1.7.2-SNAPSHOT

# This version takes precedence if 'bootstrap' property passed to project
kotlin.version.snapshot=2.0.255-SNAPSHOT
Expand Down
2 changes: 2 additions & 0 deletions integration-test/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ kotlin {
implementation(kotlin("stdlib"))
implementation("org.jetbrains.kotlinx:kotlinx-serialization-core:$serialization_version")
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:$serialization_version")
// To check that all expected artifacts are resolvable:
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json-io:$serialization_version")
implementation("org.jetbrains.kotlinx:kotlinx-serialization-protobuf:$serialization_version")
implementation("org.jetbrains.kotlinx:kotlinx-serialization-cbor:$serialization_version")
}
Expand Down
2 changes: 1 addition & 1 deletion integration-test/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#

mainKotlinVersion=2.0.0
mainLibVersion=1.7.1-SNAPSHOT
mainLibVersion=1.7.2-SNAPSHOT

kotlin.code.style=official
kotlin.js.compiler=ir
Expand Down

0 comments on commit c75b46d

Please sign in to comment.