Skip to content

Commit 900c167

Browse files
committed
build(deps): allow core v4 or v5
1 parent 0e890e8 commit 900c167

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

.github/workflows/tests.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
fail-fast: true
1616
matrix:
1717
php: [8.2, 8.3, 8.4]
18-
laravel: [11]
18+
core: ['4.3.2', '5.0.1']
1919

2020
steps:
2121
- name: Checkout Code
@@ -30,8 +30,8 @@ jobs:
3030
coverage: none
3131
ini-values: error_reporting=E_ALL
3232

33-
- name: Set Laravel Version
34-
run: composer require "illuminate/contracts:^${{ matrix.laravel }}" --no-update
33+
- name: Set Laravel JSON:API Core Version
34+
run: composer require "laravel-json-api/core:^${{ matrix.core }}" --no-update
3535

3636
- name: Install dependencies
3737
uses: nick-fields/retry@v3

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file. This projec
55

66
## Unreleased
77

8+
### Added
9+
10+
- Allow `laravel-json-api/core` v4 and v5.
11+
812
### Fixed
913

1014
- Remove deprecation notices for PHP 8.4.

composer.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"ext-json": "*",
2828
"illuminate/contracts": "^11.0",
2929
"illuminate/pipeline": "^11.0",
30-
"laravel-json-api/core": "^4.3.2",
30+
"laravel-json-api/core": "^4.3.2|^5.0.1",
3131
"laravel-json-api/validation": "^4.2"
3232
},
3333
"require-dev": {
@@ -50,7 +50,7 @@
5050
"dev-develop": "3.x-dev"
5151
}
5252
},
53-
"minimum-stability": "dev",
53+
"minimum-stability": "stable",
5454
"prefer-stable": true,
5555
"config": {
5656
"sort-packages": true

0 commit comments

Comments
 (0)