kotlin-tooling-immutable-collections-0-5-x-migration

Installation
SKILL.md

kotlinx.collections.immutable 0.5.x Migration

The 0.5.x line renames every copy-returning method on the persistent collections to a participial form (per [KEEP-0459]) and deprecates the old names at WARNING level with a ReplaceWith hint. Migrating is a mechanical, binary-compatible, semantics-preserving call-site rename — same parameters, order, and return type; only the name changes.

Drive it from the compiler: bump the version, recompile, and fix each deprecation warning — the warning names the replacement. Source of truth: [0.5.0-MIGRATION.md].

When it applies

Check the version the project currently uses:

  • 0.3.x or 0.4.x (any pre-0.5.0) → run the migration below.
  • On 0.5.x but not the latest → set the version to the latest 0.5.x and stop. All 0.5.x releases share the same renames, so a within-line bump adds no new deprecations and needs no recompile.
  • On the latest 0.5.x, or on 0.6.x and later → nothing to do.
Installs
123
GitHub Stars
890
First Seen
Jun 8, 2026
kotlin-tooling-immutable-collections-0-5-x-migration — kotlin/kotlin-agent-skills