Skip to content

v3.0.0 — Laravel 13 support

Choose a tag to compare

@marksitko marksitko released this 08 Jun 07:34
· 1 commit to master since this release
dfdfdc8

This is a major release. It adds support for Laravel 13 and drops all
Laravel versions that are no longer within their security-support
window. The runtime code of the package is unchanged — it already relied
only on long-lived Laravel APIs — so for applications on a supported
Laravel version the upgrade is a drop-in dependency bump.

Closes #17.

⚠️ Breaking changes

  • Dropped support for Laravel 8, 9, 10 and 11. Supported range is now
    Laravel 12 and 13.
  • Minimum PHP is now 8.2 (Laravel 12 floor). Laravel 13 itself requires
    PHP 8.3+.
  • The published migration stubs now use anonymous migration classes
    (only newly published stubs are affected).

If you are on Laravel ≤ 11, stay on ^2.3 until you upgrade your
application.

Because the advisory has no patched release on the 11.x branch, Composer
refuses to install any Laravel 11 version on a clean machine and in CI.
Supporting only 12/13 keeps every installable combination on a patched,
advisory-free release.

Added

  • Laravel 13 compatibility (illuminate/support: ^12.0|^13.0).
  • A GitHub Actions matrix replacing the retired Travis CI: PHP 8.2–8.4 ×
    Laravel 12–13, mit prefer-lowest/prefer-stable.

Changed

  • Raised minimum PHP to 8.2.
  • Modernized migration stubs (anonymous classes, $table->id()).
  • Migrated phpunit.xml.dist to the PHPUnit 10+ schema and tests to
    #[Test] attributes.

Removed

  • Travis CI configuration and the legacy build badge.
  • Support for Laravel 8, 9, 10 and 11.

Upgrade

composer require marksitko/laravel-unsplash:^3.0
No code changes are required for applications already running on Laravel
12 or 13.

Full changelog:
2.3.0...v3.0.0