Repository navigation
Update all third-party dependencies to latest - #6
Merged
Merged
Conversation
Android: FontAwesomeCompose 1.0.0 -> 1.1.0 (remaining 57 catalog coordinates were already current). Backend: embed/embed 4.6.2, enshrined/svg-sanitize 1.1.1, firebase/php-jwt 7.2.2, slim/psr7 1.8.1, slim/slim 4.15.3, symfony/yaml 8.1.11, phpstan 2.3.6, phpunit 13.4.7. Python: raise the requirement floors in both scripts and manifests to the current releases (requests 2.34.2, urllib3 2.8.0, trafilatura 2.3.1, pyyaml 6.0.3). Version bumps required four small code changes: php-jwt 7 rejects HS256 keys shorter than 32 bytes, embed 4.6 types providerName as non-nullable, and phpstan 2.3 no longer needs the redundant null guards in EntryController and AuthMiddleware.
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.
What
Every third-party dependency in the repo, bumped to the newest published version.
Android — one coordinate was behind:
FontAwesomeCompose1.0.0 → 1.1.0. The other 57 catalog entries already matched the newest release (AGP 9.5.1, Kotlin 2.4.21, Compose BOM 2026.09.00, Ktor 3.6.1, Firebase BOM 35.2.0, Gradle 9.9.1).Backend — six direct packages and both dev tools:
slim/psr7slim/slimembed/embedenshrined/svg-sanitizefirebase/php-jwtsymfony/yamlphpstan/phpstanphpunit/phpunitTransitive drift comes along in
composer.lock(nikic/fast-route,symfony/polyfill-ctype,composer/ca-bundle). Thephpfloor moves to>=8.4.1, which is whatsymfony/yaml8.1 and PHPUnit 13.4 require.Python — no lockfiles, so
uvalready resolved the latest at run time; the declared floors were simply stale.requests2.31.0 → 2.34.2,urllib32.0.0 → 2.8.0,trafilatura2.0.0 → 2.3.1,pyyaml6.0.0 → 6.0.3, in bothpyproject.tomlfiles, bothrequirements.txtfiles and the four PEP 723 headers.Review focus
firebase/php-jwt7 is the one that can bite in production. It hard-enforces a 32-byte minimum for HS256 keys;JWT::encodenow throwsDomainException: Provided key is too short.secrets.yml.examplealready documents a 32-character minimum, so deployed configs should be compliant — but check the realjwt.secretbefore merging. If it is shorter, login breaks on deploy. The two affected tests used a 15-character fixture; they now use a compliant one.enshrined/svg-sanitize0.22 → 1.1 crosses a major, butImageServiceonly instantiatesSanitizerand calls the existing API, so nothing changed beyond the constraint.Code touched by stricter types: four guards became dead under the new versions —
isset()/null checks inEntryController(×2),&& $dbinAuthMiddlewarewhere PHPStan proves$dbnon-null on that path, and the trailing?? nullonproviderNameinUrlEmbedService(×2), whichembed4.6 now types asstring. Four correspondingphpstan-baseline.neonentries were removed because they no longer match anything.Verification
composer test— 120 tests, 320 assertions, 26 skipped (integration tests need a live DB), 2 pre-existing PHP 8.5curl_close()deprecations inApiSecurityTest.composer analyseclean../gradlew :app:assembleDebug :app:testDebugUnitTest— BUILD SUCCESSFUL.uv run --script entry-rewriter/rewrite_entry.py --helpresolves and runs against the new floors.CI runs PHP 8.4; a
8.4.0toolchain would failcomposer installon the new floor.setup-phpresolves the latest 8.4.x, so it is fine — noting it since the floor is exact.