From 24f7c0521c34e041b830d3c945454aecf9487c00 Mon Sep 17 00:00:00 2001 From: Laravel Shift Date: Tue, 7 Apr 2026 00:03:43 -0400 Subject: [PATCH 1/3] fix(l12): add support for laravel 12 * Bump dependencies for Laravel 12 * Update GitHub Actions for Laravel 12 --- .github/workflows/test.yml | 14 +++++++++++++- composer.json | 6 +++--- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0fdca61..e1fca4b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,7 +14,7 @@ jobs: fail-fast: true matrix: php: [7.1, 7.2, 7.3, 7.4, 8.0, 8.1, 8.2] - laravel: ['5.8.*', '11.*', ^6.0, ^7.0, ^8.0, ^9.0, ^10.0] + laravel: ['5.8.*', '11.*', '12.*', ^6.0, ^7.0, ^8.0, ^9.0, ^10.0] exclude: - php: 7.1 laravel: ^6.0 @@ -72,6 +72,18 @@ jobs: php: 8.0 - laravel: 11.* php: 8.1 + - laravel: 12.* + php: 7.1 + - laravel: 12.* + php: 7.2 + - laravel: 12.* + php: 7.3 + - laravel: 12.* + php: 7.4 + - laravel: 12.* + php: 8.0 + - laravel: 12.* + php: 8.1 name: P${{ matrix.php }} - L${{ matrix.laravel }} diff --git a/composer.json b/composer.json index 8f0bf3f..a960e91 100644 --- a/composer.json +++ b/composer.json @@ -30,11 +30,11 @@ "require": { "php": "^7.1.3|^8.0|^8.1|^8.2", "craftsys/msg91-php": "^0.15.4", - "illuminate/support": "^5.2|^6.0|^7.0|^8.0|^9.0|^10.0|^11.0" + "illuminate/support": "^5.2|^6.0|^7.0|^8.0|^9.0|^10.0|^11.0|^12.0" }, "require-dev": { - "orchestra/testbench": "~3.8|^4.0|^5.0|^6.0|^7.0|^8.0|^9.0", - "phpunit/phpunit": "^5.3|^6.0|^7.0|^8.0|^9.4|^10.0" + "orchestra/testbench": "~3.8|^4.0|^5.0|^6.0|^7.0|^8.0|^9.0|^10.0", + "phpunit/phpunit": "^5.3|^6.0|^7.0|^8.0|^9.4|^10.0|^11.5.3" }, "config": { "optimize-autoloader": true, From 41254db211e369d94c3b0359398299a839601b83 Mon Sep 17 00:00:00 2001 From: Sudhir Mitharwal Date: Tue, 7 Apr 2026 09:42:18 +0530 Subject: [PATCH 2/3] chore(actions): update the dependent actions in workflows --- .github/workflows/release.yml | 4 ++-- .github/workflows/test.yml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 50e5000..dde17a9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -2,14 +2,14 @@ name: New Release on: push: - branches: [ master ] + branches: [master] jobs: release: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v6 - name: New Release uses: cycjimmy/semantic-release-action@v3 id: release # Need an `id` for output variables diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e1fca4b..2fb3c7f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,7 +14,7 @@ jobs: fail-fast: true matrix: php: [7.1, 7.2, 7.3, 7.4, 8.0, 8.1, 8.2] - laravel: ['5.8.*', '11.*', '12.*', ^6.0, ^7.0, ^8.0, ^9.0, ^10.0] + laravel: ["5.8.*", "11.*", "12.*", ^6.0, ^7.0, ^8.0, ^9.0, ^10.0] exclude: - php: 7.1 laravel: ^6.0 @@ -89,10 +89,10 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v6 - name: Cache dependencies - uses: actions/cache@v1 + uses: actions/cache@v5 with: path: ~/.composer/cache/files key: dependencies-laravel-${{ matrix.laravel }}-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }} From 06fc203d7af28d8c71f81c52b4285d0d533adfee Mon Sep 17 00:00:00 2001 From: Sudhir Mitharwal Date: Tue, 7 Apr 2026 09:45:14 +0530 Subject: [PATCH 3/3] chore(actions): remove the no-suggestion flag from composer v2 --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2fb3c7f..16cef02 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -106,7 +106,7 @@ jobs: ini-values: error_reporting=E_ALL - name: Install dependencies - run: composer require "illuminate/contracts=${{ matrix.laravel }}" --prefer-dist --no-interaction --no-suggest + run: composer require "illuminate/contracts=${{ matrix.laravel }}" --prefer-dist --no-interaction - name: Execute tests run: composer run-script test