Skip to content

Update Compose BOM to 2026.06.01#6

Merged
ghackett merged 2 commits into
mainfrom
compose-bom-2026
Jul 14, 2026
Merged

Update Compose BOM to 2026.06.01#6
ghackett merged 2 commits into
mainfrom
compose-bom-2026

Conversation

@ghackett

@ghackett ghackett commented Jul 14, 2026

Copy link
Copy Markdown
Member

Originally stacked on #5 (now merged); rebased onto main.

Summary

  • Updates the Compose BOM from 2024.09.00 to 2026.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

  • The original plan was to replace the focusProperties { canFocus = true } override on the selector rows with a first-class Focusability.Always API. It turns out that API never made it to the modifier level, even in foundation 1.11.4 — Focusability is only exposed on FocusTargetModifierNode for custom modifier nodes — so focusProperties remains the idiomatic override and stays as-is.
  • Verified empirically that the initial-focus grab from Add a brief notes section to the day entry screen #5 still reproduces on 1.11.4 with the workaround stripped (the notes field again took focus and popped the keyboard), so the workaround is still required on the new BOM.

Testing

  • :app:testDebugUnitTest passes; :app:assembleRelease (R8 full mode) builds clean.
  • Smoke-tested on the verify36 emulator: 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

Base automatically changed from day-entry-notes to main July 14, 2026 21:39
ghackett and others added 2 commits July 14, 2026 17:41
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
@ghackett ghackett marked this pull request as ready for review July 14, 2026 21:54
@ghackett ghackett merged commit 753ae47 into main Jul 14, 2026
6 checks passed
@ghackett ghackett deleted the compose-bom-2026 branch July 14, 2026 21:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant