From badf015197fe6fd75a78435813ea0634b3fbf671 Mon Sep 17 00:00:00 2001 From: Dmitry Nekrasov Date: Fri, 9 May 2025 15:12:56 +0400 Subject: [PATCH 1/6] #220: Release v0.3.9 --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index cf7adfb4..c5657c41 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,8 @@ [![GitHub license](https://img.shields.io/github/license/kotlin/kotlinx.collections.immutable)](LICENSE.txt) [![Build status](https://teamcity.jetbrains.com/guestAuth/app/rest/builds/buildType:(id:KotlinTools_KotlinxCollectionsImmutable_Build_All)/statusIcon.svg)](https://teamcity.jetbrains.com/viewType.html?buildTypeId=KotlinTools_KotlinxCollectionsImmutable_Build_All) [![Maven Central](https://img.shields.io/maven-central/v/org.jetbrains.kotlinx/kotlinx-collections-immutable.svg?label=Maven%20Central)](https://central.sonatype.com/artifact/org.jetbrains.kotlinx/kotlinx-collections-immutable) +[![Kotlin](https://img.shields.io/badge/kotlin-2.1.20-blue.svg?logo=kotlin)](http://kotlinlang.org) + Immutable collection interfaces and implementation prototypes for Kotlin. From 9ea015c291632839c635aa18df207f82e4b20d3a Mon Sep 17 00:00:00 2001 From: Dmitry Nekrasov Date: Fri, 9 May 2025 16:03:26 +0400 Subject: [PATCH 2/6] #220: Update CHANGELOG.md --- CHANGELOG.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index c00d579f..69859fd2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # CHANGELOG +## 0.3.9 + +- Fixed the equality bug in PersistentMap — Added proper node promotion during mutable operations to ensure a consistent internal tree structure [#217](https://github.com/Kotlin/kotlinx.collections.immutable/pull/217) +- Fixed the bug in PersistentMap equals implementation — Ensured proper node promotion during mutable key removal even when nodes share the same owner [#218](https://github.com/Kotlin/kotlinx.collections.immutable/pull/218) +- Fixed the ghost element issue in PersistentHashSet — Corrected condition check order to ensure proper recursive element promotion after collision removal [#219](https://github.com/Kotlin/kotlinx.collections.immutable/pull/219) +- Updated Kotlin to version 2.1.20 and core dependencies [#213](https://github.com/Kotlin/kotlinx.collections.immutable/pull/213) +- Enabled '-Xjvm-default=disable' explicitly to prevent API dump changes [#210](https://github.com/Kotlin/kotlinx.collections.immutable/pull/210) + ## 0.3.8 - Add extension functions to convert Array to persistent collections [#159](https://github.com/Kotlin/kotlinx.collections.immutable/issues/159) From b398070f6d6fed70dde2a915dcd7c1a1f4209dd5 Mon Sep 17 00:00:00 2001 From: Dmitry Nekrasov Date: Fri, 9 May 2025 16:06:19 +0400 Subject: [PATCH 3/6] #220: Update library version --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c5657c41..28ef8961 100644 --- a/README.md +++ b/README.md @@ -139,7 +139,7 @@ kotlin { sourceSets { commonMain { dependencies { - implementation("org.jetbrains.kotlinx:kotlinx-collections-immutable:0.3.8") + implementation("org.jetbrains.kotlinx:kotlinx-collections-immutable:0.3.9") } } } @@ -155,7 +155,7 @@ Add dependencies (you can also add other modules that you need): org.jetbrains.kotlinx kotlinx-collections-immutable-jvm - 0.3.8 + 0.3.9 ``` From 3fdfd188e98053e159e7102193b968f8b870afb1 Mon Sep 17 00:00:00 2001 From: Dmitry Nekrasov Date: Fri, 9 May 2025 16:07:12 +0400 Subject: [PATCH 4/6] #220: Update Kotlin version --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 28ef8961..4fe76111 100644 --- a/README.md +++ b/README.md @@ -120,7 +120,7 @@ collection.mutate { some_actions_on(it) } The library is published to Maven Central repository. -The library depends on the Kotlin Standard Library of the version at least `1.9.21`. +The library depends on the Kotlin Standard Library of the version at least `2.1.20`. ### Gradle From ff44ebc06ee4b898ceed4176665d8553c99a912d Mon Sep 17 00:00:00 2001 From: Dmitry Nekrasov Date: Mon, 12 May 2025 17:55:26 +0400 Subject: [PATCH 5/6] #220: Update version to 0.4 --- CHANGELOG.md | 2 +- README.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 69859fd2..7b3d4ea4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # CHANGELOG -## 0.3.9 +## 0.4 - Fixed the equality bug in PersistentMap — Added proper node promotion during mutable operations to ensure a consistent internal tree structure [#217](https://github.com/Kotlin/kotlinx.collections.immutable/pull/217) - Fixed the bug in PersistentMap equals implementation — Ensured proper node promotion during mutable key removal even when nodes share the same owner [#218](https://github.com/Kotlin/kotlinx.collections.immutable/pull/218) diff --git a/README.md b/README.md index 4fe76111..a166461c 100644 --- a/README.md +++ b/README.md @@ -139,7 +139,7 @@ kotlin { sourceSets { commonMain { dependencies { - implementation("org.jetbrains.kotlinx:kotlinx-collections-immutable:0.3.9") + implementation("org.jetbrains.kotlinx:kotlinx-collections-immutable:0.4") } } } @@ -155,7 +155,7 @@ Add dependencies (you can also add other modules that you need): org.jetbrains.kotlinx kotlinx-collections-immutable-jvm - 0.3.9 + 0.4 ``` From 529bc563a5e7282de3da4d72ebab4b490dde54af Mon Sep 17 00:00:00 2001 From: Dmitry Nekrasov Date: Tue, 13 May 2025 10:55:47 +0400 Subject: [PATCH 6/6] #220: Change version to 0.4.0 --- CHANGELOG.md | 2 +- README.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7b3d4ea4..7010c6b2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # CHANGELOG -## 0.4 +## 0.4.0 - Fixed the equality bug in PersistentMap — Added proper node promotion during mutable operations to ensure a consistent internal tree structure [#217](https://github.com/Kotlin/kotlinx.collections.immutable/pull/217) - Fixed the bug in PersistentMap equals implementation — Ensured proper node promotion during mutable key removal even when nodes share the same owner [#218](https://github.com/Kotlin/kotlinx.collections.immutable/pull/218) diff --git a/README.md b/README.md index a166461c..1b01f669 100644 --- a/README.md +++ b/README.md @@ -139,7 +139,7 @@ kotlin { sourceSets { commonMain { dependencies { - implementation("org.jetbrains.kotlinx:kotlinx-collections-immutable:0.4") + implementation("org.jetbrains.kotlinx:kotlinx-collections-immutable:0.4.0") } } } @@ -155,7 +155,7 @@ Add dependencies (you can also add other modules that you need): org.jetbrains.kotlinx kotlinx-collections-immutable-jvm - 0.4 + 0.4.0 ```