github spatie/laravel-backup 10.0.0

7 hours ago

What's new

v10 is a major release requiring PHP 8.4+ and Laravel 12+. See the upgrade guide for migration instructions.

Breaking changes

  • All events now carry primitive data (string $diskName, string $backupName) instead of BackupDestination or BackupDestinationStatus objects — events can now be used with queued listeners
  • consoleOutput() helper replaced by backupLogger()
  • ConsoleOutput class removed
  • BackupJob::disableNotifications() removed — use EventHandler::disable() instead
  • CleanupStrategy constructor changed from Repository $config to Config $config
  • Encryption config values changed from null/false/'default' to 'none'/'default'/'aes128'/'aes192'/'aes256'
  • BackupDestinationStatus::getHealthCheckFailure() replaced by getHealthCheckFailures() (returns a collection)

New features

  • Resilient multi-destination backups with continue_on_failure config option
  • Backup verification (verify_backup config option)
  • Generic webhook notification channel
  • New command options: --filename-suffix, --exclude, --destination-path
  • Health check now reports all failures instead of stopping at the first one
  • storage/framework excluded by default
  • Events and notifications are now decoupled — events always fire, notifications are gated separately

Don't miss a new laravel-backup release

NewReleases is sending notifications on new releases.