From 499dfcc0ce836964c87be1889a3c6ca9c4f31de3 Mon Sep 17 00:00:00 2001 From: Christopher Gammie Date: Fri, 9 Feb 2024 18:37:57 +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 | 11 ++++++----- 3 files changed, 15 insertions(+), 7 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index eb90523..46deb7d 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, 8.3] - laravel: [10] + php: [8.2, 8.3] + laravel: [11] steps: - name: Checkout Code diff --git a/CHANGELOG.md b/CHANGELOG.md index 5f53bc1..3226a88 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 654754e..147ec7e 100644 --- a/composer.json +++ b/composer.json @@ -23,11 +23,11 @@ } ], "require": { - "php": "^8.1", - "laravel-json-api/core": "^3.0" + "php": "^8.2", + "laravel-json-api/core": "^4.0" }, "require-dev": { - "orchestra/testbench": "^8.0", + "orchestra/testbench": "^9.0", "phpunit/phpunit": "^10.5" }, "autoload": { @@ -43,10 +43,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 90f44e153cc2799d0c033c23b832f6ddb6acd0b0 Mon Sep 17 00:00:00 2001 From: Christopher Gammie Date: Thu, 14 Mar 2024 17:52:16 +0000 Subject: [PATCH 2/2] build(deps): update to stable dependencies --- CHANGELOG.md | 2 +- composer.json | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3226a88..37b9681 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,7 +3,7 @@ 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) +## Unreleased ### Changed diff --git a/composer.json b/composer.json index 147ec7e..a5a5234 100644 --- a/composer.json +++ b/composer.json @@ -43,11 +43,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