Update Compose BOM to 2026.06.01#6
Merged
Merged
Conversation
24afca7 to
26889c8
Compare
Compose UI/foundation move from 1.7.0 to 1.11.4 (with the matching Material 3 release). No code changes needed. Notably the initial-focus grab worked around on the day entry screen still reproduces on 1.11.4 when the workaround is removed, so the focusProperties override stays; Focusability.Always never became a modifier-level API (it is only exposed on FocusTargetModifierNode), so focusProperties remains the idiomatic override. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RKEvj3ttnWkJSs4UHnf37z
The 2026.06.01 BOM ships new error-level lint checks from androidx.compose.ui. Replace Locale.getDefault() in composables with LocalLocale.current.platformLocale (NonObservableLocale) and context.getString() with LocalResources-derived getString (LocalContextGetResourceValueCall) so locale/resource reads invalidate composition when the configuration changes. No suppressions, no baseline. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RKEvj3ttnWkJSs4UHnf37z
9398d7d to
1070eed
Compare
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.
Originally stacked on #5 (now merged); rebased onto main.
Summary
2024.09.00to2026.06.01, the latest stable — Compose UI/foundation 1.7.0 → 1.11.4, plus the matching Material 3 release. No code changes were needed; the material3-adaptive libraries are separately versioned and already at their latest stable (1.2.0).Notes on the day-entry focus workaround
focusProperties { canFocus = true }override on the selector rows with a first-classFocusability.AlwaysAPI. It turns out that API never made it to the modifier level, even in foundation 1.11.4 —Focusabilityis only exposed onFocusTargetModifierNodefor custom modifier nodes — sofocusPropertiesremains the idiomatic override and stays as-is.Testing
:app:testDebugUnitTestpasses;:app:assembleRelease(R8 full mode) builds clean.verify36emulator: day entry opens at the top with focus landing on the first severity row (no keyboard), severity auto-scroll, pill time chip, save, and calendar recoloring all behave the same as on the old BOM.🤖 Generated with Claude Code
https://claude.ai/code/session_01RKEvj3ttnWkJSs4UHnf37z