From 19d12f7cb7b7dfe1e6910693b08bd8b6b9477988 Mon Sep 17 00:00:00 2001 From: Christopher Gammie Date: Sat, 30 Nov 2024 17:34:45 +0000 Subject: [PATCH] build(deps): allow core v4 and 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 37514a3..d63d26e 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/database:^${{ 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 cc64dbd..b180418 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 in PHP 8.4. diff --git a/composer.json b/composer.json index 715f51c..82dde58 100644 --- a/composer.json +++ b/composer.json @@ -27,7 +27,7 @@ "ext-json": "*", "illuminate/database": "^11.0", "illuminate/support": "^11.0", - "laravel-json-api/core": "^4.3.2" + "laravel-json-api/core": "^4.3.2|^5.0.1" }, "require-dev": { "orchestra/testbench": "^9.0", @@ -50,7 +50,7 @@ "dev-develop": "4.x-dev" } }, - "minimum-stability": "dev", + "minimum-stability": "stable", "prefer-stable": true, "config": { "sort-packages": true