Skip to content

Navigation Menu

Sign up

Bump org.jetbrains.kotlinx:kotlinx-collections-immutable from 0.3.8 to 0.5.2 - #154

Open
dependabot[bot] wants to merge 1 commit into
main from
dependabot/gradle/org.jetbrains.kotlinx-kotlinx-collections-immutable-0.5.2
Open

dependabot[bot] wants to merge 1 commit into
main from
dependabot/gradle/org.jetbrains.kotlinx-kotlinx-collections-immutable-0.5.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Dec 1, 2026

Copy link
Copy Markdown
Contributor

Bumps org.jetbrains.kotlinx:kotlinx-collections-immutable from 0.3.8 to 0.5.2.

Release notes

Sourced from org.jetbrains.kotlinx:kotlinx-collections-immutable's releases.

v0.5.2

  • Fixed addingAll, removingAll, retainingAll, intersect, and containsAll on PersistentHashSet, puttingAll on PersistentHashMap, and their builder counterparts returning wrong results when a collision node meets a single element at the bottom trie level #294
  • Fixed puttingAll on PersistentHashMap, and putAll on its builder, keeping the receiver's value for a key that sits in a collision node on both sides #300
  • Fixed PersistentHashSet.equals being asymmetric after intersect, retainingAll, or the builder's retainAll #291
  • Fixed PersistentHashMapBuilder.put of an already stored value invalidating live iterators and making build() return a new map when the key is in a collision node #304
  • Fixed a live iterator of PersistentHashMapBuilder returning the old values after a putAll that only replaces values #308
  • Fixed PersistentOrderedMapBuilder iterators throwing ConcurrentModificationException after MutableMap.MutableEntry.setValue, or a put that only replaces a value, during iteration #307
  • Fixed MutableMap.MutableEntry.setValue on a PersistentOrderedMapBuilder entry re-adding the key after it was removed from the builder #310

Full changelog: Kotlin/kotlinx.collections.immutable@v0.5.1...v0.5.2

v0.5.1

  • Fixed PersistentOrderedMapBuilder returning a previously built map from build() after updating an entry value through MutableMap.MutableEntry.setValue #253, #274
  • Fixed an assertion failure in PersistentOrderedSetBuilder.build() after interleaved build and remove/removeAll calls #251
  • Provided a JPMS module descriptor for the JVM artifact — module kotlinx.collections.immutable compiled into META-INF/versions/9, the artifact stays Java 8-compatible #268

Full changelog: Kotlin/kotlinx.collections.immutable@v0.5.0...v0.5.1

v0.5.0

This release renames the copy-returning methods on PersistentCollection, PersistentList, and PersistentMap to participial forms (KEEP-0459) — add→adding, put→putting, set→replacingAt, clear→cleared, and the rest. The old imperative names continue to compile in 0.5.x as @Deprecated(WARNING), become a compile error in 0.6.0, and are removed in 0.7.0. First shipped in 0.5.0-beta01; 0.5.0 is the stable release, with only internal fixes since.

To migrate, apply the IDE quick-fixes, follow the migration guide, or use the 0.5.x migration skill with an AI assistant — each applies the rename the deprecation warnings name.

Changes since 0.4.0:

  • Renamed copy-returning methods to participial forms; deprecated the old names #233
  • Enabled the Kotlin return-value checker (-Xreturn-value-checker=full) for the core module #243
  • Updated Kotlin to 2.3.0 #242
  • Configured JDK release 8 for the Kotlin compiler #239
  • Populated Implementation-* attributes in published JAR manifests #237
  • Enabled Dokka documentation generation, upgraded to Dokka 2.2.0 #225, #245, #248

Full changelog: Kotlin/kotlinx.collections.immutable@v0.4.0...v0.5.0

v0.5.0-beta01

This release renames copy-returning methods on PersistentCollection, PersistentList, and PersistentMap to participial forms — the old imperative names continue to compile in 0.5.x as @Deprecated(WARNING), become a compile error in 0.6.0, and are removed in 0.7.0. Concretely, add → adding, put → putting, clear → cleared, set → replacingAt, removeAt → removingAt, and the rest of the family (see the migration guide for the full table). The rename follows KEEP-0459 — Naming Conventions for Copy-Returning Operations.

If your code uses any of these methods, please read the migration guide for the full rename table, the deprecation timeline, and the recommended IDE quick-fix workflow.

This is a beta — 0.5.0 is planned to drop the -beta suffix soon, and once it ships stable the participial names are committed (any further rename would need its own deprecation cycle). If any of the renames feels awkward or you've hit a migration problem, please share it on [issue #232](Kotlin/kotlinx.collections.immutable#232) before then.

What's changed

  • Renamed PersistentCollection mutating-copy methods to participial forms (add/remove/set/put/clear → adding/removing/setting/putting/clearing and *ed variants) and deprecated the original names #233
  • Enabled the Kotlin return-value checker (-Xreturn-value-checker=full) for the core module and annotated select internal helpers with @IgnorableReturnValue where discarding the result is intentional #243
  • Updated Kotlin to version 2.3.0 #242
  • Configured JDK release to 8 for the Kotlin compiler #239
  • Populated Implementation-Title/Implementation-Version/Implementation-Vendor in published JAR manifests #237
  • Enabled Dokka documentation generation and upgraded Dokka to 2.2.0 #225, #245, #248

... (truncated)

Changelog

Sourced from org.jetbrains.kotlinx:kotlinx-collections-immutable's changelog.

0.5.2

  • Fixed addingAll, removingAll, retainingAll, intersect, and containsAll on PersistentHashSet, puttingAll on PersistentHashMap, and their builder counterparts returning wrong results when a collision node meets a single element at the bottom trie level #294
  • Fixed puttingAll on PersistentHashMap, and putAll on its builder, keeping the receiver's value for a key that sits in a collision node on both sides #300
  • Fixed PersistentHashSet.equals being asymmetric after intersect, retainingAll, or the builder's retainAll #291
  • Fixed PersistentHashMapBuilder.put of an already stored value invalidating live iterators and making build() return a new map when the key is in a collision node #304
  • Fixed a live iterator of PersistentHashMapBuilder returning the old values after a putAll that only replaces values #308
  • Fixed PersistentOrderedMapBuilder iterators throwing ConcurrentModificationException after MutableMap.MutableEntry.setValue, or a put that only replaces a value, during iteration #307
  • Fixed MutableMap.MutableEntry.setValue on a PersistentOrderedMapBuilder entry re-adding the key after it was removed from the builder #310

0.5.1

  • Fixed PersistentOrderedMapBuilder returning a previously built map from build() after updating an entry value through MutableMap.MutableEntry.setValue #253, #274
  • Fixed an assertion failure in PersistentOrderedSetBuilder.build() after interleaved build and remove/removeAll calls #251
  • Provided a JPMS module descriptor for the JVM artifact — module kotlinx.collections.immutable compiled into META-INF/versions/9, the artifact stays Java 8-compatible #268

0.5.0

  • Promoted 0.5.0-beta01 to stable; no API or behavior changes

0.5.0-beta01

  • Renamed copy-returning methods on PersistentCollection, PersistentList, and PersistentMap from imperative to participial forms (add/remove/put/clear/set/removeAt/... → adding/removing/putting/cleared/replacingAt/removingAt/...) per KEEP-0459 and deprecated the original names #233
  • Enabled the Kotlin return-value checker (-Xreturn-value-checker=full) for the core module and annotated select internal helpers with @IgnorableReturnValue where discarding the result is intentional #243
  • Updated Kotlin to version 2.3.0 #242
  • Configured JDK release to 8 for the Kotlin compiler #239
  • Populated Implementation-Title/Implementation-Version/Implementation-Vendor in published JAR manifests #237
  • Enabled Dokka documentation generation and upgraded Dokka to 2.2.0 #225, #245, #248

0.4.0

  • Fixed the equality bug in PersistentMap — Added proper node promotion during mutable operations to ensure a consistent internal tree structure #217
  • Fixed the bug in PersistentMap equals implementation — Ensured proper node promotion during mutable key removal even when nodes share the same owner #218
  • Fixed the ghost element issue in PersistentHashSet — Corrected condition check order to ensure proper recursive element promotion after collision removal #219
  • Updated Kotlin to version 2.1.20 and core dependencies #213
  • Enabled '-Xjvm-default=disable' explicitly to prevent API dump changes #210
Commits
  • 9f961e4 Release v0.5.2
  • 1d00eea Skip the setValue write when the entry's key is gone from the builder (#315)
  • 8a49b20 Count the value overwrites of putAll and keep the stored keys (#312)
  • 59bc873 Count only size changes for the ordered map builder's iterators (#311)
  • 2b9cc44 Return the collision node as is when the put value is already stored (#309)
  • c9a67cb Take the argument's value when two collision nodes share a key (#302)
  • 024f04c Dispatch bulk trie ops to collision helpers at the bottom level (#301)
  • 578f6ed Update kotlinx.benchmark to 0.4.17
  • e72f86e Lift the single remaining element to the root in set retainAll (#293)
  • 1fd89dd Restore commented-out invariant asserts (#290)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [org.jetbrains.kotlinx:kotlinx-collections-immutable](https://github.com/Kotlin/kotlinx.collections.immutable) from 0.3.8 to 0.5.2.
- [Release notes](https://github.com/Kotlin/kotlinx.collections.immutable/releases)
- [Changelog](https://github.com/Kotlin/kotlinx.collections.immutable/blob/master/CHANGELOG.md)
- [Commits](Kotlin/kotlinx.collections.immutable@v0.3.8...v0.5.2)
---
updated-dependencies:
- dependency-name: org.jetbrains.kotlinx:kotlinx-collections-immutable
 dependency-version: 0.5.2
 dependency-type: direct:production
 update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file java Pull requests that update java code labels Dec 1, 2026

coderabbitai Bot commented Dec 1, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: f1c0499b-9052-4edf-947a-b7c9231aba81

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

dependencies Pull requests that update a dependency file java Pull requests that update java code

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

0 participants

AltStyle によって変換されたページ (->オリジナル) /