Skip to content

Commit 7fe3007

Browse files
committed
feat: add Laravel 13 compatibility
1 parent f6b54cc commit 7fe3007

3 files changed

Lines changed: 16 additions & 14 deletions

File tree

.github/workflows/tests.yml

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,17 @@ jobs:
1818
strategy:
1919
fail-fast: true
2020
matrix:
21-
php: [ 8.2, 8.3, 8.4 ]
22-
core: [ '4.3.2', '5.2' ]
23-
laravel: [ 11, 12 ]
21+
php: [ 8.2, 8.3, 8.4, 8.5 ]
22+
laravel: [ 11, 12, 13 ]
2423
exclude:
25-
- laravel: 12
26-
core: '4.3.2'
24+
- php: 8.5
25+
laravel: 11
26+
- php: 8.2
27+
laravel: 13
2728

2829
steps:
2930
- name: Checkout Code
30-
uses: actions/checkout@v4
31+
uses: actions/checkout@v6
3132

3233
- name: Setup PHP
3334
uses: shivammathur/setup-php@v2
@@ -38,14 +39,11 @@ jobs:
3839
coverage: none
3940
ini-values: error_reporting=E_ALL
4041

41-
- name: Set Laravel JSON:API Core Version
42-
run: composer require "laravel-json-api/core:^${{ matrix.core }}" --no-update
43-
4442
- name: Set Laravel Version
4543
run: composer require "illuminate/contracts:^${{ matrix.laravel }}" --no-update
4644

4745
- name: Install dependencies
48-
uses: nick-fields/retry@v3
46+
uses: nick-fields/retry@v4
4947
with:
5048
timeout_minutes: 5
5149
max_attempts: 5

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
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+
### Changed
9+
10+
- Dropped support for `laravel-json-api/core` v4.
11+
812
## [4.2.0] - 2025-02-24
913

1014
### Added

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@
2525
"require": {
2626
"php": "^8.2",
2727
"ext-json": "*",
28-
"illuminate/contracts": "^11.0|^12.0",
29-
"illuminate/support": "^11.0|^12.0",
30-
"laravel-json-api/core": "^4.3.2|^5.2",
28+
"illuminate/contracts": "^11.0|^12.0|^13.0",
29+
"illuminate/support": "^11.0|^12.0|^13.0",
30+
"laravel-json-api/core": "^5.3",
3131
"laravel-json-api/neomerx-json-api": "^5.0.3"
3232
},
3333
"require-dev": {
@@ -53,7 +53,7 @@
5353
]
5454
}
5555
},
56-
"minimum-stability": "stable",
56+
"minimum-stability": "dev",
5757
"prefer-stable": true,
5858
"config": {
5959
"sort-packages": true

0 commit comments

Comments
 (0)