Repository navigation
Upgrade Kotlin to 2.4.21 [CLF-719] - #197
Merged
Merged
Conversation
zach-klippenstein
force-pushed
the
zachklipp/kotlin-upgrade-a07950
branch
from
November 4, 2026 00:55
1a385fe to
3155638
Compare
zach-klippenstein
changed the base branch from
main
to
zachklipp/fix-main-ci-c61e01
November 4, 2026 00:55
Bumps the Kotlin version (and the Compose compiler Gradle plugin, which shares the version ref) from 2.3.10 to 2.4.21. Android lint under Kotlin 2.4.21 reports `Iterable.forEach` in `Radiography.scan` as a NewApi error (requires API 24, min is 23), so the inline `forEach` is replaced with an equivalent `for` loop. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
zach-klippenstein
force-pushed
the
zachklipp/kotlin-upgrade-a07950
branch
from
November 4, 2026 01:25
3155638 to
9edc71a
Compare
zach-klippenstein
changed the base branch from
main
to
zachklipp/radiography-ktlint-ktfmt-cfa2a9
November 4, 2026 01:25
joshfriend
approved these changes
Nov 4, 2026
Base automatically changed from
zachklipp/radiography-ktlint-ktfmt-cfa2a9
to
main
November 4, 2026 01:29
pyricau
approved these changes
Nov 4, 2026
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.
Upgrades Kotlin from 2.3.10 to 2.4.21 (latest stable) ahead of the 2.11 release.
Stacked on #200 (ktfmt migration); GitHub will retarget to
mainonce that merges.Version changes
kotlin: 2.3.10 → 2.4.21. The Compose compiler Gradle plugin shares this version ref, so it moves with it.Source fix needed for a green
./gradlew buildroots.forEach { ... }inRadiography.scanas aNewApierror (java.lang.Iterable#forEachrequires API 24, min is 23). Replaced with an equivalentforloop. No behavior change.apiCheckpasses with no API dump changes.ktfmtCheckpasses.Testing
./gradlew ktfmtCheck buildpasses locally../gradlew connectedCheckpasses on an API 35 emulator and a physical Samsung device on Android 16: all 34compose-tests, 5radiography, and thecompose-unsupported-testsand sample tests. (Onesample-composerun hit a "No compose hierarchies found" failure while another session was sharing the emulator; it passed on rerun.)Linear: CLF-719
🤖 Generated with Claude Code