File tree 3 files changed +25
-8
lines changed
3 files changed +25
-8
lines changed Original file line number Diff line number Diff line change @@ -2,9 +2,13 @@ name: Tests
2
2
3
3
on :
4
4
push :
5
- branches : [ main, develop ]
5
+ branches :
6
+ - main
7
+ - develop
6
8
pull_request :
7
- branches : [ main, develop ]
9
+ branches :
10
+ - main
11
+ - develop
8
12
9
13
jobs :
10
14
build :
14
18
strategy :
15
19
fail-fast : true
16
20
matrix :
17
- php : [8.2, 8.3, 8.4]
18
- core : ['4.3.2', '5.0.1']
21
+ php : [ 8.2, 8.3, 8.4 ]
22
+ core : [ '4.3.2', '5.2' ]
23
+ laravel : [ 11, 12 ]
24
+ exclude :
25
+ - laravel : 12
26
+ core : ' 4.3.2'
19
27
20
28
steps :
21
29
- name : Checkout Code
33
41
- name : Set Laravel JSON:API Core Version
34
42
run : composer require "laravel-json-api/core:^${{ matrix.core }}" --no-update
35
43
44
+ - name : Set Laravel Version
45
+ run : composer require "illuminate/contracts:^${{ matrix.laravel }}" --no-update
46
+
36
47
- name : Install dependencies
37
48
uses : nick-fields/retry@v3
38
49
with :
Original file line number Diff line number Diff line change @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. This projec
5
5
6
6
## Unreleased
7
7
8
+ ## [ 4.2.0] - 2025-02-24
9
+
10
+ ### Added
11
+
12
+ - Package now supports Laravel 11 and 12.
13
+
8
14
## [ 4.1.0] - 2024-11-30
9
15
10
16
### Added
Original file line number Diff line number Diff line change 25
25
"require" : {
26
26
"php" : " ^8.2" ,
27
27
"ext-json" : " *" ,
28
- "illuminate/contracts" : " ^11.0" ,
29
- "illuminate/support" : " ^11.0" ,
30
- "laravel-json-api/core" : " ^4.3.2|^5.0.1 " ,
28
+ "illuminate/contracts" : " ^11.0|^12.0 " ,
29
+ "illuminate/support" : " ^11.0|^12.0 " ,
30
+ "laravel-json-api/core" : " ^4.3.2|^5.2 " ,
31
31
"laravel-json-api/neomerx-json-api" : " ^5.0.3"
32
32
},
33
33
"require-dev" : {
34
- "phpunit/phpunit" : " ^10.5"
34
+ "phpunit/phpunit" : " ^10.5|^11.0 "
35
35
},
36
36
"autoload" : {
37
37
"psr-4" : {
You can’t perform that action at this time.
0 commit comments