Skip to content

Commit 4426653

Browse files
committed
feat!: upgrade to Laravel 11 and drop PHP 8.1
1 parent 5d283a8 commit 4426653

File tree

3 files changed

+18
-12
lines changed

3 files changed

+18
-12
lines changed

.github/workflows/tests.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ jobs:
1414
strategy:
1515
fail-fast: true
1616
matrix:
17-
php: [8.1, 8.2]
18-
laravel: [10]
17+
php: [8.2, 8.3]
18+
laravel: [11]
1919

2020
steps:
2121
- name: Checkout Code

CHANGELOG.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,12 @@
33
All notable changes to this project will be documented in this file. This project adheres to
44
[Semantic Versioning](http://semver.org/) and [this changelog format](http://keepachangelog.com/).
55

6-
## Unreleased
6+
## Unreleased (Laravel 11)
7+
8+
### Changed
9+
10+
- **BREAKING** Package now requires Laravel 11.
11+
- Minimum PHP version is now `8.2`.
712

813
## [2.1.0] - 2023-11-08
914

composer.json

+10-9
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,16 @@
2323
}
2424
],
2525
"require": {
26-
"php": "^8.1",
26+
"php": "^8.2",
2727
"ext-json": "*",
28-
"illuminate/contracts": "^10.0",
29-
"illuminate/pipeline": "^10.0",
30-
"laravel-json-api/core": "^3.0",
31-
"laravel-json-api/validation": "^3.0"
28+
"illuminate/contracts": "^11.0",
29+
"illuminate/pipeline": "^11.0",
30+
"laravel-json-api/core": "^4.0",
31+
"laravel-json-api/validation": "^4.0"
3232
},
3333
"require-dev": {
34-
"laravel-json-api/testing": "^2.0",
35-
"orchestra/testbench": "^8.0",
34+
"laravel-json-api/testing": "^3.0",
35+
"orchestra/testbench": "^9.0",
3636
"phpunit/phpunit": "^10.5"
3737
},
3838
"autoload": {
@@ -47,10 +47,11 @@
4747
},
4848
"extra": {
4949
"branch-alias": {
50-
"dev-develop": "2.x-dev"
50+
"dev-develop": "2.x-dev",
51+
"dev-laravel11": "3.x-dev"
5152
}
5253
},
53-
"minimum-stability": "stable",
54+
"minimum-stability": "dev",
5455
"prefer-stable": true,
5556
"config": {
5657
"sort-packages": true

0 commit comments

Comments
 (0)