From 2d8f23a23f4feced188bd58447dc154552b5bdcd Mon Sep 17 00:00:00 2001 From: Markus Podar Date: Mon, 24 Feb 2025 20:42:44 +0100 Subject: [PATCH] Remove support for Laravel 10 / PHP 8.1 Laravel 10 become EOL on 2025-02-04, see https://laravel.com/docs/10.x/releases#support-policy --- .github/workflows/integration_tests.yml | 7 ++----- .github/workflows/tests.yml | 9 ++------- CHANGELOG.md | 3 +++ composer.json | 10 +++++----- 4 files changed, 12 insertions(+), 17 deletions(-) diff --git a/.github/workflows/integration_tests.yml b/.github/workflows/integration_tests.yml index 6b0cfc1f..e5889163 100644 --- a/.github/workflows/integration_tests.yml +++ b/.github/workflows/integration_tests.yml @@ -25,11 +25,8 @@ jobs: strategy: fail-fast: false matrix: - php: [8.1, 8.2, 8.3, 8.4] - laravel: [^10.0, ^11.0] - exclude: - - php: 8.1 - laravel: ^11.0 + php: [8.2, 8.3, 8.4] + laravel: [^11.0] name: P=${{ matrix.php }} L=${{ matrix.laravel }} runs-on: ubuntu-latest env: diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 1e7c634a..be1252cc 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -25,14 +25,9 @@ jobs: strategy: fail-fast: false matrix: - php: [8.1, 8.2, 8.3, 8.4] - laravel: [^10.0, ^11.0, ^12.0] + php: [8.2, 8.3, 8.4] + laravel: [^11.0, ^12.0] stability: [prefer-lowest, prefer-stable] - exclude: - - php: 8.1 - laravel: ^11.0 - - php: 8.1 - laravel: ^12.0 name: P=${{ matrix.php }} L=${{ matrix.laravel }} ${{ matrix.stability }} runs-on: ubuntu-latest env: diff --git a/CHANGELOG.md b/CHANGELOG.md index 32ddd070..bf8e5775 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,9 @@ CHANGELOG [Next release](https://github.com/rebing/graphql-laravel/compare/9.8.0...master) +## Removed +- Support for Laravel 10 & PHP 8.1 have been removed [\#1170 / mfn](https://github.com/rebing/graphql-laravel/pull/1170) + 2025-02-24, 9.8.0 ----------------- diff --git a/composer.json b/composer.json index 9a58d588..e986b67d 100644 --- a/composer.json +++ b/composer.json @@ -34,10 +34,10 @@ "license": "MIT", "type": "library", "require": { - "php": "^8.1", + "php": "^8.2", "ext-json": "*", - "illuminate/contracts": "^10.0|^11.0|^12.0", - "illuminate/support": "^10.0|^11.0|^12.0", + "illuminate/contracts": "^11.0|^12.0", + "illuminate/support": "^11.0|^12.0", "laragraph/utils": "^2.0.1", "thecodingmachine/safe": "^3.0", "webonyx/graphql-php": "^15.0.3" @@ -47,11 +47,11 @@ "fakerphp/faker": "^1.6", "friendsofphp/php-cs-fixer": "^3", "larastan/larastan": "^3", - "laravel/framework": "^10.0|^11.0|^12.0", + "laravel/framework": "^11.0|^12.0", "mfn/php-cs-fixer-config": "^2", "mockery/mockery": "^1.5", "phpstan/phpstan": "^2", - "orchestra/testbench": "^8.0|^9.0|^10.0", + "orchestra/testbench": "^9.0|^10.0", "phpunit/phpunit": "^10.5.32 || ^11.0", "thecodingmachine/phpstan-safe-rule": "^1" },