Skip to content

Commit cb3f01c

Browse files
committed
Merge branch 'release/4.2.0'
2 parents 077c745 + 527d451 commit cb3f01c

File tree

3 files changed

+25
-8
lines changed

3 files changed

+25
-8
lines changed

.github/workflows/tests.yml

+15-4
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,13 @@ name: Tests
22

33
on:
44
push:
5-
branches: [ main, develop ]
5+
branches:
6+
- main
7+
- develop
68
pull_request:
7-
branches: [ main, develop ]
9+
branches:
10+
- main
11+
- develop
812

913
jobs:
1014
build:
@@ -14,8 +18,12 @@ jobs:
1418
strategy:
1519
fail-fast: true
1620
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'
1927

2028
steps:
2129
- name: Checkout Code
@@ -33,6 +41,9 @@ jobs:
3341
- name: Set Laravel JSON:API Core Version
3442
run: composer require "laravel-json-api/core:^${{ matrix.core }}" --no-update
3543

44+
- name: Set Laravel Version
45+
run: composer require "illuminate/contracts:^${{ matrix.laravel }}" --no-update
46+
3647
- name: Install dependencies
3748
uses: nick-fields/retry@v3
3849
with:

CHANGELOG.md

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

66
## Unreleased
77

8+
## [4.2.0] - 2025-02-24
9+
10+
### Added
11+
12+
- Package now supports Laravel 11 and 12.
13+
814
## [4.1.0] - 2024-11-30
915

1016
### Added

composer.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@
2525
"require": {
2626
"php": "^8.2",
2727
"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",
3131
"laravel-json-api/neomerx-json-api": "^5.0.3"
3232
},
3333
"require-dev": {
34-
"phpunit/phpunit": "^10.5"
34+
"phpunit/phpunit": "^10.5|^11.0"
3535
},
3636
"autoload": {
3737
"psr-4": {

0 commit comments

Comments
 (0)