From ea31673985dc2a61d1bb72fb592217069003c095 Mon Sep 17 00:00:00 2001 From: Markus Podar Date: Sat, 7 Jan 2023 15:56:36 +0100 Subject: [PATCH] Remove support for Laravel 6 --- .github/workflows/integration_tests.yml | 8 +------- .github/workflows/tests.yml | 8 +------- CHANGELOG.md | 3 +++ README.md | 2 +- composer.json | 8 ++++---- 5 files changed, 10 insertions(+), 19 deletions(-) diff --git a/.github/workflows/integration_tests.yml b/.github/workflows/integration_tests.yml index 533c8441..20c3c15a 100644 --- a/.github/workflows/integration_tests.yml +++ b/.github/workflows/integration_tests.yml @@ -34,16 +34,10 @@ jobs: fail-fast: false matrix: php: ${{ fromJson(needs.supported-versions-matrix.outputs.version) }} - laravel: [^6.0, ^8.0, ^9.0] + laravel: [^8.0, ^9.0] exclude: - php: 7.4 laravel: ^9.0 - - php: 8.0 - laravel: ^6.0 - - php: 8.1 - laravel: ^6.0 - - php: 8.2 - laravel: ^6.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 bc548d43..1cc496de 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -34,17 +34,11 @@ jobs: fail-fast: false matrix: php: ${{ fromJson(needs.supported-versions-matrix.outputs.version) }} - laravel: [^6.0, ^8.0, ^9.0] + laravel: [^8.0, ^9.0] lazy_types: ['false', 'true'] exclude: - php: 7.4 laravel: ^9.0 - - php: 8.0 - laravel: ^6.0 - - php: 8.1 - laravel: ^6.0 - - php: 8.2 - laravel: ^6.0 name: P=${{ matrix.php }} L=${{ matrix.laravel }} Lazy types=${{ matrix.lazy_types }} runs-on: ubuntu-latest env: diff --git a/CHANGELOG.md b/CHANGELOG.md index 59fdd458..367b65e9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,9 @@ CHANGELOG [Next release](https://github.com/rebing/graphql-laravel/compare/8.5.0...master) -------------- +### Removed +- Laravel 6 is no longer supported [\#967 / mfn](https://github.com/rebing/graphql-laravel/pull/967) + 2023-01-13, 8.5.0 ----------------- ### Added diff --git a/README.md b/README.md index 74dbc8ef..6366adfb 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ [![Downloads](https://img.shields.io/packagist/dt/rebing/graphql-laravel.svg?style=flat-square)](https://packagist.org/packages/rebing/graphql-laravel) [![Get on Slack](https://img.shields.io/badge/slack-join-orange.svg)](https://join.slack.com/t/rebing-graphql/shared_invite/enQtNTE5NjQzNDI5MzQ4LTdhNjk0ZGY1N2U1YjE4MGVlYmM2YTc2YjQ0MmIwODY5MWMwZWIwYmY1MWY4NTZjY2Q5MzdmM2Q3NTEyNDYzZjc) -Use Facebook's GraphQL with PHP 7.4+ on Laravel 6.0 & 8.0+. It is based on the [PHP port of GraphQL reference implementation](https://github.com/webonyx/graphql-php). You can find more information about GraphQL in the [GraphQL Introduction](https://reactjs.org/blog/2015/05/01/graphql-introduction.html) on the [React](https://reactjs.org/) blog or you can read the [GraphQL specifications](https://spec.graphql.org/). +Use Facebook's GraphQL with PHP 7.4+ on Laravel 8.0+. It is based on the [PHP port of GraphQL reference implementation](https://github.com/webonyx/graphql-php). You can find more information about GraphQL in the [GraphQL Introduction](https://reactjs.org/blog/2015/05/01/graphql-introduction.html) on the [React](https://reactjs.org/) blog or you can read the [GraphQL specifications](https://spec.graphql.org/). * Allows creating **queries** and **mutations** as request endpoints * Supports multiple schemas diff --git a/composer.json b/composer.json index 6fa2c2d9..48e0e59b 100644 --- a/composer.json +++ b/composer.json @@ -36,8 +36,8 @@ "require": { "php": ">= 7.4", "ext-json": "*", - "illuminate/contracts": "^6.0|^8.0|^9.0", - "illuminate/support": "^6.0|^8.0|^9.0", + "illuminate/contracts": "^8.0|^9.0", + "illuminate/support": "^8.0|^9.0", "laragraph/utils": "^1", "thecodingmachine/safe": "^1.1|^2.4", "webonyx/graphql-php": "^14.6.4" @@ -49,9 +49,9 @@ "mfn/php-cs-fixer-config": "^2", "mockery/mockery": "^1.2", "nunomaduro/larastan": "1.0.3", - "orchestra/testbench": "4.0.*|5.0.*|^6.0|^7.0", + "orchestra/testbench": "^6.0|^7.0", "phpstan/phpstan": "1.8.4", - "phpunit/phpunit": "~7.0|~8.0|^9", + "phpunit/phpunit": "~8.0|^9", "thecodingmachine/phpstan-safe-rule": "^1" }, "autoload": {