diff --git a/CHANGELOG.md b/CHANGELOG.md index c00d579f..7010c6b2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # CHANGELOG +## 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) +- 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) diff --git a/README.md b/README.md index cf7adfb4..1b01f669 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. @@ -118,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 @@ -137,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.4.0") } } } @@ -153,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.4.0 ```