mirror of
https://github.com/getgrav/grav.git
synced 2026-05-20 21:41:00 +02:00
- Remove SafeUpgradeService, RollbackCommand, SafeUpgradeRunCommand, and bin/restore - Simplify Install.php: remove all snapshot logic; keep forceSafeUpgrade() as no-op stub for backward compat with pre-2.0 upgrade scripts that call it in finally blocks - Simplify SelfupgradeCommand: remove --safe/--legacy flags, safe-upgrade window tracking, and manifest block; keep RecoveryManager plugin-disable calls - Simplify PreflightCommand: use Install::instance()->generatePreflightReport() directly - Simplify recovery.php: remove auth, rollback, and quarantine sections; keep clear-flag and disable-recovery actions - Upgrader::isUpgradable() now returns false when remote is a different major.minor family (e.g. 1.8.x will not auto-upgrade to 2.0.x) - Add Upgrader::isNextMajorAvailable() for future informational notices - Add bin/gpm-cache-inject helper for local E2E testing without a live server - Add UpgraderFamilyTest covering all cross-family and same-family scenarios (10/10)