From e74744fd4cc10b79264d7d2d7ecbd939bdc1a0b5 Mon Sep 17 00:00:00 2001 From: Christopher Gammie Date: Fri, 9 Feb 2024 17:54:41 +0000 Subject: [PATCH 1/2] feat!: upgrade to Laravel 11 and drop PHP 8.1 --- .github/workflows/tests.yml | 4 ++-- CHANGELOG.md | 7 +++++++ composer.json | 17 +++++++++-------- 3 files changed, 18 insertions(+), 10 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 07fce94..ae67938 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -14,8 +14,8 @@ jobs: strategy: fail-fast: true matrix: - php: [8.1, 8.2] - laravel: [10] + php: [8.2, 8.3] + laravel: [11] steps: - name: Checkout Code diff --git a/CHANGELOG.md b/CHANGELOG.md index 71d9ff1..f2c87c3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,13 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/) and [this changelog format](http://keepachangelog.com/). +## Unreleased (Laravel 11) + +### Changed + +- **BREAKING** Package now requires Laravel 11. +- Minimum PHP version is now `8.2`. + ## [3.0.0] - 2023-02-14 ### Changed diff --git a/composer.json b/composer.json index f0c99fc..6222fe5 100644 --- a/composer.json +++ b/composer.json @@ -23,15 +23,15 @@ } ], "require": { - "php": "^8.1", + "php": "^8.2", "ext-json": "*", - "illuminate/database": "^10.0", - "illuminate/pagination": "^10.0", - "illuminate/support": "^10.0", - "laravel-json-api/eloquent": "^3.0" + "illuminate/database": "^11.0", + "illuminate/pagination": "^11.0", + "illuminate/support": "^11.0", + "laravel-json-api/eloquent": "^4.0" }, "require-dev": { - "orchestra/testbench": "^8.0", + "orchestra/testbench": "^9.0", "phpunit/phpunit": "^10.5" }, "autoload": { @@ -48,10 +48,11 @@ }, "extra": { "branch-alias": { - "dev-develop": "3.x-dev" + "dev-develop": "3.x-dev", + "dev-laravel11": "4.x-dev" } }, - "minimum-stability": "stable", + "minimum-stability": "dev", "prefer-stable": true, "config": { "sort-packages": true From acaa3a4f586d6087ddab40157051b35ffefd7423 Mon Sep 17 00:00:00 2001 From: Christopher Gammie Date: Thu, 14 Mar 2024 17:16:25 +0000 Subject: [PATCH 2/2] build(deps): update to stable dependencies --- composer.json | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index 6222fe5..93861e7 100644 --- a/composer.json +++ b/composer.json @@ -48,11 +48,10 @@ }, "extra": { "branch-alias": { - "dev-develop": "3.x-dev", - "dev-laravel11": "4.x-dev" + "dev-develop": "4.x-dev" } }, - "minimum-stability": "dev", + "minimum-stability": "stable", "prefer-stable": true, "config": { "sort-packages": true