From c5beb4ff7c2aee25b5e80d2026b57fe99e8ef777 Mon Sep 17 00:00:00 2001 From: Attila Fulop <1162360+fulopattila122@users.noreply.github.com> Date: Wed, 13 Mar 2024 10:34:52 +0200 Subject: [PATCH] Added Laravel 11 Support --- .github/workflows/tests.yml | 2 +- Changelog.md | 3 +++ Traits/BuyableImageSpatieV7.php | 23 ----------------------- Traits/BuyableImageSpatieV8.php | 23 ----------------------- composer.json | 8 ++++---- 5 files changed, 8 insertions(+), 51 deletions(-) delete mode 100644 Traits/BuyableImageSpatieV7.php delete mode 100644 Traits/BuyableImageSpatieV8.php diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index c4c2790..4248d02 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -9,7 +9,7 @@ jobs: strategy: matrix: php: ['8.2', '8.3'] - laravel: ['10.38', '10.46'] + laravel: ['10.38', '10.48', '11.0'] name: PHP ${{ matrix.php }} Laravel ${{ matrix.laravel }} steps: - name: Checkout diff --git a/Changelog.md b/Changelog.md index 718361c..c588e89 100644 --- a/Changelog.md +++ b/Changelog.md @@ -8,10 +8,13 @@ - Dropped PHP 8.0 & PHP 8.1 Support - Dropped Laravel 9 Support - Added PHP 8.3 Support +- Added Laravel 11 Support - Changed minimum Laravel version to v10.38.2 - Added the `Features` accessor class, which is a syntactic sugar for areas of the configuration - Added the `Merchant` DTO class, that complies with the common, v4 `Merchant` interface - Added the `Address` DTO class (implements the `Address` interface) +- Removed the deprecated `BuyableImageSpatieV7` and `BuyableImageSpatieV8` traits +- Upgraded to Laravel Media Library v11 ## 3.x Series diff --git a/Traits/BuyableImageSpatieV7.php b/Traits/BuyableImageSpatieV7.php deleted file mode 100644 index 3d7c7c8..0000000 --- a/Traits/BuyableImageSpatieV7.php +++ /dev/null @@ -1,23 +0,0 @@ -