Skip to content

Commit c7cc9a8

Browse files
committed
feat!: upgrade to Laravel 11 and drop PHP 8.1
1 parent 567263e commit c7cc9a8

File tree

4 files changed

+23
-18
lines changed

4 files changed

+23
-18
lines changed

.github/workflows/tests.yml

Lines changed: 2 additions & 2 deletions
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, 8.3]
18-
laravel: [10]
17+
php: [8.2, 8.3]
18+
laravel: [11]
1919

2020
steps:
2121
- name: Checkout Code

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
/dummy
22
vendor/
33
composer.lock
4-
.phpunit.result.cache
5-
.phpunit.cache
4+
.phpunit.cache/

CHANGELOG.md

Lines changed: 6 additions & 1 deletion
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
## [3.2.0] - 2024-02-14
914

composer.json

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -23,20 +23,20 @@
2323
}
2424
],
2525
"require": {
26-
"php": "^8.1",
26+
"php": "^8.2",
2727
"ext-json": "*",
28-
"laravel-json-api/core": "^3.3",
29-
"laravel-json-api/eloquent": "^3.1",
30-
"laravel-json-api/encoder-neomerx": "^3.1",
31-
"laravel-json-api/exceptions": "^2.1",
32-
"laravel-json-api/spec": "^2.0",
33-
"laravel-json-api/validation": "^3.0",
34-
"laravel/framework": "^10.0"
28+
"laravel-json-api/core": "^4.0",
29+
"laravel-json-api/eloquent": "^4.0",
30+
"laravel-json-api/encoder-neomerx": "^4.0",
31+
"laravel-json-api/exceptions": "^3.0",
32+
"laravel-json-api/spec": "^3.0",
33+
"laravel-json-api/validation": "^4.0",
34+
"laravel/framework": "^11.0"
3535
},
3636
"require-dev": {
37-
"laravel-json-api/testing": "^2.1",
38-
"orchestra/testbench": "^8.0",
39-
"phpunit/phpunit": "^10.0"
37+
"laravel-json-api/testing": "^3.0",
38+
"orchestra/testbench": "^9.0",
39+
"phpunit/phpunit": "^10.5"
4040
},
4141
"autoload": {
4242
"psr-4": {
@@ -53,7 +53,8 @@
5353
},
5454
"extra": {
5555
"branch-alias": {
56-
"dev-develop": "3.x-dev"
56+
"dev-develop": "3.x-dev",
57+
"dev-laravel11": "4.x-dev"
5758
},
5859
"laravel": {
5960
"aliases": {
@@ -65,7 +66,7 @@
6566
]
6667
}
6768
},
68-
"minimum-stability": "stable",
69+
"minimum-stability": "dev",
6970
"prefer-stable": true,
7071
"config": {
7172
"sort-packages": true

0 commit comments

Comments
 (0)