Menu

Post image 1
Post image 2
1 / 2
0

Bumping a PHP monorepo to 8.5: the mechanics

DEV Community·Russell Jones·21 days ago
#QuJujSg6
#php#waaseyaa#bump#floor#package#mission
Reading 0:00
15s threshold

Ahnii! This is the first of three posts about taking Waaseyaa to PHP 8.5. This one is about the mechanics: how a coordinated version bump across a 67-package monorepo actually happens. The next two cover the deprecation sweep that came with it and the features we deliberately did not adopt. Context: Waaseyaa is the open-source PHP framework I have been writing about. Mission: php-8-5-upgrade-01KR8DN2 . Shipped as PR #1406 , merge commit e0f8cb57 . Released in alpha.176. The starting state Before the bump, Waaseyaa required PHP 8.4. Sixty-six first-party composer.json files, all aligned on >=8.4 . Plus a skeleton package, which is a template artifact and is kept at the lowest reasonable floor on purpose. CI ran a single PHP version. PHPStan was pinned to a matching phpVersion . The floor was tight and consistent. That alignment is what makes a bump cheap. The expensive version of this story is the one where every package picks its own minimum and you have to negotiate sixty-six exceptions.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More