Skip to content

Commit 582bb6e

Browse files
feat!: upgrade to Laravel 11 and drop PHP 8.1 (#6)
1 parent 5d283a8 commit 582bb6e

File tree

3 files changed

+19
-14
lines changed

3 files changed

+19
-14
lines changed

.github/workflows/tests.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ 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
22-
uses: actions/checkout@v3
22+
uses: actions/checkout@v4
2323

2424
- name: Setup PHP
2525
uses: shivammathur/setup-php@v2
@@ -34,7 +34,7 @@ jobs:
3434
run: composer require "illuminate/contracts:^${{ matrix.laravel }}" --no-update
3535

3636
- name: Install dependencies
37-
uses: nick-fields/retry@v2
37+
uses: nick-fields/retry@v3
3838
with:
3939
timeout_minutes: 5
4040
max_attempts: 5

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

+9-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,10 @@
4747
},
4848
"extra": {
4949
"branch-alias": {
50-
"dev-develop": "2.x-dev"
50+
"dev-develop": "3.x-dev"
5151
}
5252
},
53-
"minimum-stability": "stable",
53+
"minimum-stability": "dev",
5454
"prefer-stable": true,
5555
"config": {
5656
"sort-packages": true

0 commit comments

Comments
 (0)