Sourced from org.jetbrains.kotlinx:kotlinx-collections-immutable's releases.
v0.5.0
This release renames the copy-returning methods on
PersistentCollection,PersistentList, andPersistentMapto participial forms (KEEP-0459) —add→adding,put→putting,set→replacingAt,clear→cleared, and the rest. The old imperative names continue to compile in0.5.xas@Deprecated(WARNING), become a compile error in0.6.0, and are removed in0.7.0. First shipped in0.5.0-beta01;0.5.0is 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: https://github.com/Kotlin/kotlinx.collections.immutable/compare/v0.4.0...v0.5.0
v0.5.0-beta01
This release renames copy-returning methods on
PersistentCollection,PersistentList, andPersistentMapto participial forms — the old imperative names continue to compile in0.5.xas@Deprecated(WARNING), become a compile error in0.6.0, and are removed in0.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.0is planned to drop the-betasuffix 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
PersistentCollectionmutating-copy methods to participial forms (add/remove/set/put/clear→adding/removing/setting/putting/clearingand*edvariants) 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@IgnorableReturnValuewhere 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-Vendorin published JAR manifests #237- Enabled Dokka documentation generation and upgraded Dokka to 2.2.0 #225, #245, #248
Sourced from org.jetbrains.kotlinx:kotlinx-collections-immutable's changelog.
0.5.0
- Promoted
0.5.0-beta01to stable; no API or behavior changes0.5.0-beta01
- Renamed copy-returning methods on
PersistentCollection,PersistentList, andPersistentMapfrom 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@IgnorableReturnValuewhere 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-Vendorin published JAR manifests #237- Enabled Dokka documentation generation and upgraded Dokka to 2.2.0 #225, #245, #248
0727896
Release v0.5.00e1a24c
Document return values in the KDoc summary instead of
@return (#256)2069a62
Fix equals/hashCode contract violation in random-operations stress tests
(#262)6f7abb9
Updated team infra plugin (#260)15a77d7
Fix the package-list location (#258)1ab038c
Add .kotlin to .gitignore to exclude build
metadata produced by KGP (#259)dc6ba40
Add top-level README for kotlinx-collections-immutable module (#255)a6ad2e1
Release v0.5.0-beta0154f4815
Rename PersistentCollection methods to participial forms and deprecate
origin...753924c
Added missing reference to deployment id parameter (#250)