From 900c16718b362d4fa49a7c37041a7f9263ac2372 Mon Sep 17 00:00:00 2001 From: Christopher Gammie Date: Sat, 30 Nov 2024 17:18:19 +0000 Subject: [PATCH] build(deps): allow core v4 or v5 --- .github/workflows/tests.yml | 6 +++--- CHANGELOG.md | 4 ++++ composer.json | 4 ++-- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index f5a3ebc..eaf0932 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] + core: ['4.3.2', '5.0.1'] steps: - name: Checkout Code @@ -30,8 +30,8 @@ jobs: coverage: none ini-values: error_reporting=E_ALL - - name: Set Laravel Version - run: composer require "illuminate/contracts:^${{ matrix.laravel }}" --no-update + - name: Set Laravel JSON:API Core Version + run: composer require "laravel-json-api/core:^${{ matrix.core }}" --no-update - name: Install dependencies uses: nick-fields/retry@v3 diff --git a/CHANGELOG.md b/CHANGELOG.md index 539062e..bd0086f 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 + +- Allow `laravel-json-api/core` v4 and v5. + ### Fixed - Remove deprecation notices for PHP 8.4. diff --git a/composer.json b/composer.json index a7ce758..bee80fd 100644 --- a/composer.json +++ b/composer.json @@ -27,7 +27,7 @@ "ext-json": "*", "illuminate/contracts": "^11.0", "illuminate/pipeline": "^11.0", - "laravel-json-api/core": "^4.3.2", + "laravel-json-api/core": "^4.3.2|^5.0.1", "laravel-json-api/validation": "^4.2" }, "require-dev": { @@ -50,7 +50,7 @@ "dev-develop": "3.x-dev" } }, - "minimum-stability": "dev", + "minimum-stability": "stable", "prefer-stable": true, "config": { "sort-packages": true