github spatie/laravel-backup 10.4.0

4 hours ago

Requirements

This release requires PHP 8.4 or newer. PHP 8.3 is no longer supported. The minimum is aligned with the current Pest 5 / PHPUnit 13 test toolchain; this is not a claim that Laravel itself requires PHP 8.4. Laravel 12 and 13 remain supported.

Improvements and fixes

  • Reuse file sizes from backup-directory listings to avoid per-backup metadata requests. Custom disks and Flysystem storage attributes retain their existing behavior.
  • Append manifest paths using a single lazily opened stream, with bounded memory and explicit handling of incomplete or failed writes.
  • Cache exclusion metadata for each file-selection run while preserving symlink selection and overridden exclusion rules.
  • Avoid a redundant destination-reachability check in backup:list.
  • Invalidate deleted backup sizes so cleanup does not remove retained backups to account for storage that has already been freed.
  • Reset retry state for every command invocation, including when a command instance is reused.
  • Expand the test matrix to PHP 8.4, 8.5 and 8.6 with compatible Pest versions, accept PHP 8.6's ZIP extension version, and preserve empty manifest counts on PHP 8.6.

What's Changed

New Contributors

Full Changelog: 10.3.3...10.4.0

Don't miss a new laravel-backup release

NewReleases is sending notifications on new releases.