Skip to content

Commit c2892e4

Browse files
committed
feat: add Laravel 13 compatibility
1 parent dd73918 commit c2892e4

3 files changed

Lines changed: 15 additions & 13 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-01-24
913

1014
### Added

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@
2424
],
2525
"require": {
2626
"php": "^8.2",
27-
"laravel-json-api/core": "^4.3.2|^5.2"
27+
"laravel-json-api/core": "^5.3"
2828
},
2929
"require-dev": {
30-
"orchestra/testbench": "^9.0|^10.0",
30+
"orchestra/testbench": "^9.0|^10.0|^11.0",
3131
"phpunit/phpunit": "^10.5|^11.0"
3232
},
3333
"autoload": {
@@ -46,7 +46,7 @@
4646
"dev-develop": "4.x-dev"
4747
}
4848
},
49-
"minimum-stability": "stable",
49+
"minimum-stability": "dev",
5050
"prefer-stable": true,
5151
"config": {
5252
"sort-packages": true

0 commit comments

Comments
 (0)