Skip to content

Update Composer dependencies to mobile 4.9 and mobile-ui 0.11 - #222

Merged
simonhamp merged 2 commits into
mainfrom
chore/update-dependencies
Nov 26, 2026
Merged

simonhamp merged 2 commits into
mainfrom
chore/update-dependencies

Conversation

@simonhamp

@simonhamp simonhamp commented Nov 26, 2026 •

Copy link
Copy Markdown
Member

Moves both NativePHP packages onto their new releases and runs composer update for the rest.

The app no longer tracks dev-main of either package, so the mobile-ui VCS repository is gone from composer.json. packages/adaptive-layout asked for mobile-ui ^0.9 || dev-main, which doesn't take 0.11, so it now asks for ^0.11.

One view needed a change. Core now wraps @include and other directives so an element keeps its id when an @if above it changes (NativePHP/mobile-air#691). At first it found the end of a directive's arguments without knowing about PHP comments. The commit sheet's @include of the mention suggestions had a // comment with an apostrophe in it, so the view failed to compile and 915 tests failed. I reworded the comment. 4.9 fixes this in core (NativePHP/mobile-air#773), so the reword could go back, but it does no harm.

Full suite: 2405 passed, 1 skipped. It has to run one test at a time; with --parallel about 300 tests fail because they share state.

Worth checking on a device: core brings Android changes to pushed screens in tabs layouts (back button shown, tab bar hidden), safe-area padding for the side system bars, and a smaller iOS bundle with opcache's file cache kept between launches. On iOS the tab bar band no longer draws while a screen hides the tab bar, and no longer turns solid after a light/dark switch. mobile-ui 0.11 also caches and downsamples remote images.

Screenshots

No screenshots. This only moves dependencies, and the core changes above may change some Android screens.

  • No visible change

🤖 Generated with Claude Code

This moves nativephp/mobile from a9fd09f to ec860d2 and nativephp/mobile-ui
from 633ebed to 135faca, with patch updates to Symfony, laravel/mcp and a few
others.

The new core marks @include and other directives so element ids survive an
@if above them changing (NativePHP/mobile-air#691). To find the end of a
directive's arguments it counts brackets and quotes, and an apostrophe in a
// comment inside the commit sheet's @include made it think a string never
closed. The comment is reworded so it has no apostrophe.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@shanesmithdev

Copy link
Copy Markdown
Contributor

Working well on physical Android device and the iOS simulator. No crashing on the profile any more with this build.

Both are on Packagist now, so the app no longer tracks dev-main and the
mobile-ui VCS repository is gone. 4.9 is the core this branch already
had plus the directive comment fix (#773) and the tab bar band fix
(#774). adaptive-layout now asks for mobile-ui ^0.11, since its old
^0.9 range doesn't take 0.11.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@simonhamp simonhamp changed the title Update Composer dependencies to the latest mobile-air and mobile-ui Update Composer dependencies to mobile 4.9 and mobile-ui 0.11 Nov 26, 2026
@simonhamp
simonhamp marked this pull request as ready for review November 26, 2026 23:40
@simonhamp
simonhamp merged commit 3a26535 into main Nov 26, 2026
5 of 6 checks passed
@simonhamp
simonhamp deleted the chore/update-dependencies branch November 26, 2026 23:41
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