Bump kotlinx.collections.immutable to 0.5.0-beta01#1
Closed
DmitryNekrasov wants to merge 1 commit into
Closed
Conversation
Applied via kotlin-tooling-immutable-collections-0-5-0-migration skill. 0.5.0-beta01 is binary-compatible with 0.4.0; per KEEP-0459 the copy-returning methods on Persistent* types are renamed (e.g. add->adding, remove->removing) and the old names remain as @deprecated(WARNING) overloads. element-x-android uses the library as a read-only consumer (persistentListOf -> ImmutableList<T> typed values, no in-place mutation via Persistent* receivers), so the compiler emits zero deprecation warnings post-bump and no call sites need to be renamed. See MIGRATION_REPORT.md for per-phase details. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Owner
Author
|
Superseded by upstream PR element-hq#6788. Closing this fork-internal test PR. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
kotlinx.collections.immutablefrom 0.4.0 → 0.5.0-beta01 (one line ingradle/libs.versions.toml).persistentListOf(...)factories, values typed asImmutableList<T>/ImmutableMap<K, V>/ImmutableSet<T>). None of the renamed copy-returning methods onPersistent*are visible at any call site. The compiler emits zerokotlinx.collections.immutabledeprecation warnings after the bump.kotlin-tooling-immutable-collections-0-5-0-migration) — head and base both on the fork. Not intended for upstream.Scope checks
implementation, 4testImplementation).Persistent(List|Map|Set|Collection)<…>..mutate { }call (inIncomingVerificationStateMachine.kt) is a state-machine helper, not the kotlinx extension.Test plan
:app(Gplay + Fdroid debug, main + UnitTest) pluscompileDebugUnitTestKotlinacross all ~200 subprojects —BUILD SUCCESSFUL in 4m 58s(4939 tasks), zerokotlinx.collections.immutabledeprecation warnings.:libraries:recentemojis:impl:testDebugUnitTest,:libraries:usersearch:impl:testDebugUnitTest,:features:roomcall:impl:testDebugUnitTest— all pass.See
MIGRATION_REPORT.mdfor per-phase details.🤖 Generated with Claude Code