From a47199e35e39a76d42744918f536c67602a8e0e0 Mon Sep 17 00:00:00 2001 From: Filipp Zhinkin Date: Tue, 19 Nov 2024 16:00:06 -0500 Subject: [PATCH] Release 0.6.0 (#418) --- CHANGELOG.md | 9 +++++++++ README.md | 15 ++++++++++++--- gradle.properties | 2 +- 3 files changed, 22 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ec7b69e5..9a84a0d5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,14 @@ # CHANGELOG +## 0.6.0 +> Published 19 November 2024 + +### Features +- On JVM, libraries now include Java Platform Module System (JPMS) modules [#406](https://github.com/Kotlin/kotlinx-io/pull/406) +- Made Segment's size and capacity public [#409](https://github.com/Kotlin/kotlinx-io/pull/409) +- Improved performance of extension functions reading and writing using little-endian byte order [#414](https://github.com/Kotlin/kotlinx-io/pull/414) +- Minor documentation improvements + ## 0.5.4 > Published 17 September 2024 diff --git a/README.md b/README.md index bca1c2c7..42771efe 100644 --- a/README.md +++ b/README.md @@ -48,7 +48,7 @@ repositories { Add the library to dependencies: ```kotlin dependencies { - implementation("org.jetbrains.kotlinx:kotlinx-io-core:0.5.4") + implementation("org.jetbrains.kotlinx:kotlinx-io-core:0.6.0") } ``` @@ -58,7 +58,7 @@ kotlin { sourceSets { commonMain { dependencies { - implementation("org.jetbrains.kotlinx:kotlinx-io-core:0.5.4") + implementation("org.jetbrains.kotlinx:kotlinx-io-core:0.6.0") } } } @@ -72,10 +72,19 @@ Add the library to dependencies: org.jetbrains.kotlinx kotlinx-io-core-jvm - 0.5.4 + 0.6.0 ``` +### JPMS support + +On JVM, `kotlinx-io` supports Java Modules: +- `kotlinx-io-bytestring` library provides `kotlinx.io.bytestring` module; +- `kotlinx-io-core` library provides `kotlinx.io.core` module. + +Read [this](https://kotlinlang.org/docs/gradle-configure-project.html#configure-with-java-modules-jpms-enabled) article +for details on how to configure a Gradle project to utilize JPMS. + ### Android `kotlinx-io` is not tested on Android on a regular basis, diff --git a/gradle.properties b/gradle.properties index db68238e..6d0f34ee 100644 --- a/gradle.properties +++ b/gradle.properties @@ -4,7 +4,7 @@ # group=org.jetbrains.kotlinx -version=0.6.0-SNAPSHOT +version=0.6.1-SNAPSHOT kotlin.code.style=official org.gradle.jvmargs=-Xmx4G nativeBenchmarksEnabled=true