Kotlin Tooling Immutable Collections 0 5 X Migration

kotlin/kotlin-agent-skills/skills/kotlin-tooling-immutable-collections-0-5-x-migration

by kotlinc2f90697bf71Apache-2.01K starsListed Oct 8, 2026Updated Oct 8, 2026Repository updated today

Migrate Kotlin (and Java) code from kotlinx.collections.immutable 0.3.x / 0.4.x to the latest 0.5.x. The 0.5.x line renames every copy-returning method on PersistentList / PersistentMap / PersistentSet / PersistentCollection to a participial form per KEEP-0459 (add→adding, removeAt→removingAt, set→replacingAt, put→putting, clear→cleared, …) and deprecates the old names (WARNING, with ReplaceWith). Driven by the compiler: bump the version, recompile, and apply the rename each deprecation warning names. Use when the user mentions kotlinx.collections.immutable 0.5.x, PersistentList migration, "Use adding() instead", KEEP-0459, or sees deprecation warnings from kotlinx.collections.immutable.

Instructions onlySoftware Development
  1. c2f90697bf71Currentcommit c2f9069Published Oct 8, 2026

Source and attribution

Source:kotlin/kotlin-agent-skillsinskills/kotlin-tooling-immutable-collections-0-5-x-migrationat commitc2f9069

License: Apache-2.0

Content belongs to its original authors. SourceWeft indexes it from a public repository.

Report or request removal