Phase 4 — Mise à jour assistée (v14.0)
Problem
No assisted update mechanism. Developers must manually update composer.json and manage breaking changes.
Proposed solution
Interactive pollora:update Artisan command that:
- Checks installed version vs latest available (reuse
VersionComparator)
- Displays changelog for intermediate versions
- Highlights breaking changes
- Updates the constraint in
composer.json
- Runs
composer update pollora/framework
- Executes migrations if needed
Key files
src/VersionCheck/ (reuse existing checker)
- New:
src/Update/UI/Console/UpdateCommand.php
Target version
v14.0
Phase 4 — Mise à jour assistée (v14.0)
Problem
No assisted update mechanism. Developers must manually update
composer.jsonand manage breaking changes.Proposed solution
Interactive
pollora:updateArtisan command that:VersionComparator)composer.jsoncomposer update pollora/frameworkKey files
src/VersionCheck/(reuse existing checker)src/Update/UI/Console/UpdateCommand.phpTarget version
v14.0