From 66a3c1f19a267c3dcff036e2fa2f00e645a0db84 Mon Sep 17 00:00:00 2001 From: Christopher Gammie Date: Fri, 21 Mar 2025 21:18:41 +0000 Subject: [PATCH] feat: support laravel 12 --- .github/workflows/tests.yml | 2 +- CHANGELOG.md | 4 ++++ composer.json | 10 +++++----- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index c92f166a..a72c0ead 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -15,7 +15,7 @@ jobs: fail-fast: true matrix: php: [8.2, 8.3, 8.4] - laravel: [11] + laravel: [11, 12] steps: - name: Checkout Code diff --git a/CHANGELOG.md b/CHANGELOG.md index 90a5a73a..42bff957 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file. This projec ## Unreleased +### Added + +- Package now supports Laravel 12. + ## [7.1.0] - 2025-01-11 ### Changed diff --git a/composer.json b/composer.json index 26a21ce6..e17755fd 100644 --- a/composer.json +++ b/composer.json @@ -25,7 +25,7 @@ "php": "^8.2", "ext-json": "*", "laravel-json-api/neomerx-json-api": "^5.0.3", - "laravel/framework": "^11.0", + "laravel/framework": "^11.0|^12.0", "nyholm/psr7": "^1.8", "ramsey/uuid": "^4.0", "symfony/psr-http-message-bridge": "^7.0" @@ -33,12 +33,12 @@ "require-dev": { "ext-sqlite3": "*", "guzzlehttp/guzzle": "^7.8", - "laravel-json-api/testing": "^3.0", + "laravel-json-api/testing": "^3.1", "laravel/legacy-factories": "^1.4.0", - "laravel/ui": "^4.4", + "laravel/ui": "^4.6", "mockery/mockery": "^1.6", - "orchestra/testbench": "^9.0", - "phpunit/phpunit": "^10.5" + "orchestra/testbench": "^9.0|^10.0", + "phpunit/phpunit": "^10.5|^11.0" }, "suggest": { "cloudcreativity/json-api-testing": "Required to use the test helpers."