Skip to content

Update Compose to BOM 2026.06.01 - #144

Merged
aaronbrethorst merged 1 commit into
OneBusAway:mainfrom
diveshpatil9104:chore/android-compose-deps
Oct 11, 2026
Merged

aaronbrethorst merged 1 commit into
OneBusAway:mainfrom
diveshpatil9104:chore/android-compose-deps

Conversation

@diveshpatil9104

@diveshpatil9104 diveshpatil9104 commented Oct 10, 2026 •

Copy link
Copy Markdown
Contributor

Updates the Android app's Compose libraries to the newest versions that still build with our AGP 8.11 and compileSdk 36. No app code changes.

  • Compose BOM 2025.06.01 to 2026.06.01 (Compose 1.8.3 to 1.11.4, material3 1.3.2 to 1.4.0)
  • navigation-compose 2.9.0 to 2.9.8, activity-compose 1.10.1 to 1.13.0
  • lifecycle 2.9.1 to 2.9.4 and core-ktx 1.16.0 to 1.18.0. activity-compose 1.13.0 already pulls these in, so the catalog now says what actually ships.

Why now: the Android UI work for #36 needs APIs that are stable only in these versions (shared element transitions, Text autoSize, haptics with fallbacks on older phones). Doing the update on its own means any regression shows up here, not inside a UI change.

Why not newer: Compose 1.12, navigation 2.10 and material3 1.5 (the Material 3 Expressive components) all need AGP 9.1 and compileSdk 37. I'd like to do the AGP 9 upgrade as its own PR next. material3 1.5 is still beta, so the UI work will copy its motion values until it is stable.

Tested:

  • 223 unit tests pass, the same count as main, and lint has no new errors
  • 17 instrumented tests pass on an API 36 emulator
  • a minified build runs end to end: sign in, start a trip, tracking with the map, end trip, resume. This ran on an API 32 emulator, because the API 36 image has no Play Services and can't get a location fix.
  • also on top of feat(android): draw the trip over an offline street map #139: all 318 unit tests and 17 instrumented tests pass, and the screens look the same in light and dark, except the loading spinner. material3 1.4 changed how it moves: it shows an arc right away instead of growing from a dot, and with animations turned off it is a still arc instead of a dot. Size, stroke and colour are the same. It shows at launch, while the vehicle, route and run lists load, and on "Starting".
  • release APK 20,782 KB to 20,930 KB

Summary by CodeRabbit

  • Chores
    • Updated Android platform library versions.

@coderabbitai

coderabbitai Bot commented Oct 10, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: abec0294-9083-41d4-9c4f-b29b0502e3fa

📥 Commits

Reviewing files that changed from the base of the PR and between a672ab2 and b38b5b6.


📒 Files selected for processing (1)
  • android/gradle/libs.versions.toml

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.



📝 Walkthrough

Walkthrough

The Android version catalog updates the Compose BOM, Activity Compose, Navigation Compose, Lifecycle, and Core KTX versions.

Changes

Android dependency updates

Layer / File(s) Summary
Update Android dependency versions
android/gradle/libs.versions.toml
The catalog updates the Compose BOM to 2026.06.01, Activity Compose to 1.13.0, Navigation Compose to 2.9.8, Lifecycle to 2.9.4, and Core KTX to 1.18.0.

Priority: ⬇️ Low

Estimated code review effort: 2 (Simple) | ~5 minutes

Change: Other

Suggested reviewers: aaronbrethorst


Merge Risk: ⚪ Minimal · up to b38b5

This change updates Android dependency versions, with no demonstrated incompatibility or material behavior risk. It appears ready for normal checks.

Pre-merge checks | Passed 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title clearly and concisely describes the primary change: updating the Compose BOM to 2026.06.01.
Docstring Coverage Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create a new PR

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@aaronbrethorst

Copy link
Copy Markdown
Member

Code review

No issues found. Checked for bugs and CLAUDE.md compliance.

🤖 Generated with Claude Code

@aaronbrethorst aaronbrethorst left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Version-catalog-only, no Compose artifacts pinned against the BOM, and CI built both debug and minified release and ran the instrumented suite. Good to go. A follow-up for later: createComposeRule is now deprecated in favor of the v2 rule.

@aaronbrethorst
aaronbrethorst merged commit 3134f4b into OneBusAway:main Oct 11, 2026
5 checks passed
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.

2 participants