Skip to content

Commit 271c9fe

Browse files
committed
Merge branch 'release/1.1.0'
2 parents 624955d + 5773f19 commit 271c9fe

14 files changed

+51
-27
lines changed

.github/workflows/tests.yml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,15 @@ jobs:
1010
build:
1111

1212
runs-on: ubuntu-latest
13-
13+
1414
strategy:
1515
fail-fast: true
1616
matrix:
17-
php: ['7.4', '8.0']
18-
laravel: ['^8.0']
17+
php: [7.4, '8.0', 8.1]
18+
laravel: [8, 9]
19+
exclude:
20+
- php: 7.4
21+
laravel: 9
1922

2023
steps:
2124
- name: Checkout Code
@@ -25,19 +28,20 @@ jobs:
2528
uses: shivammathur/setup-php@v2
2629
with:
2730
php-version: ${{ matrix.php }}
28-
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, gd
31+
extensions: dom, curl, libxml, mbstring, zip
2932
tools: composer:v2
3033
coverage: none
34+
ini-values: error_reporting=E_ALL
3135

3236
- name: Set Laravel Version
33-
run: composer require "laravel/framework:${{ matrix.laravel }}" --no-update -n
37+
run: composer require "illuminate/contracts:^${{ matrix.laravel }}" --no-update
3438

3539
- name: Install dependencies
3640
uses: nick-invision/retry@v1
3741
with:
3842
timeout_minutes: 5
3943
max_attempts: 5
40-
command: composer install --no-suggest --prefer-dist -n -o
41-
44+
command: composer update --prefer-dist --no-interaction --no-progress
45+
4246
- name: Execute tests
4347
run: vendor/bin/phpunit

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,14 @@
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+
## [1.1.0] - 2022-02-09
7+
8+
### Added
9+
10+
- Package now supports Laravel 9.
11+
- Added support for PHP 8.1.
12+
- Package now supports v2 of the `laravel-json-api/core` and `laravel-json-api/validation` dependencies.
13+
614
## [1.0.0] - 2021-07-31
715

816
Initial stable release, with no changes from `1.0.0-beta.4`.

composer.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,15 @@
2525
"require": {
2626
"php": "^7.4|^8.0",
2727
"ext-json": "*",
28-
"illuminate/contracts": "^8.0",
29-
"illuminate/pipeline": "^8.0",
30-
"laravel-json-api/core": "^1.0.0",
31-
"laravel-json-api/validation": "^1.0.0"
28+
"illuminate/contracts": "^8.0|^9.0",
29+
"illuminate/pipeline": "^8.0|^9.0",
30+
"laravel-json-api/core": "^1.0|^2.0",
31+
"laravel-json-api/validation": "^1.0|^2.0"
3232
},
3333
"require-dev": {
34-
"laravel-json-api/testing": "^1.0.0",
35-
"orchestra/testbench": "^6.9",
36-
"phpunit/phpunit": "^9.5"
34+
"laravel-json-api/testing": "^1.1",
35+
"orchestra/testbench": "^6.23|^7.0",
36+
"phpunit/phpunit": "^9.5.10"
3737
},
3838
"autoload": {
3939
"psr-4": {
@@ -51,7 +51,7 @@
5151
}
5252
},
5353
"minimum-stability": "stable",
54-
"prefer-stable": true,
54+
"prefer-stable": false,
5555
"config": {
5656
"sort-packages": true
5757
}

phpunit.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
convertErrorsToExceptions="true"
99
convertNoticesToExceptions="true"
1010
convertWarningsToExceptions="true"
11+
convertDeprecationsToExceptions="true"
1112
processIsolation="false"
1213
stopOnError="false"
1314
stopOnFailure="false"
@@ -28,6 +29,7 @@
2829
</testsuite>
2930
</testsuites>
3031
<php>
32+
<ini name="error_reporting" value="E_ALL"/>
3133
<env name="DB_CONNECTION" value="testing"/>
3234
</php>
3335
</phpunit>

src/ExceptionParser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
/*
3-
* Copyright 2021 Cloud Creativity Limited
3+
* Copyright 2022 Cloud Creativity Limited
44
*
55
* Licensed under the Apache License, Version 2.0 (the "License");
66
* you may not use this file except in compliance with the License.

src/Pipes/AuthenticationExceptionHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
/*
3-
* Copyright 2021 Cloud Creativity Limited
3+
* Copyright 2022 Cloud Creativity Limited
44
*
55
* Licensed under the Apache License, Version 2.0 (the "License");
66
* you may not use this file except in compliance with the License.

src/Pipes/Concerns/SetsHttpTitle.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
/*
3-
* Copyright 2021 Cloud Creativity Limited
3+
* Copyright 2022 Cloud Creativity Limited
44
*
55
* Licensed under the Apache License, Version 2.0 (the "License");
66
* you may not use this file except in compliance with the License.

src/Pipes/HttpExceptionHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
/*
3-
* Copyright 2021 Cloud Creativity Limited
3+
* Copyright 2022 Cloud Creativity Limited
44
*
55
* Licensed under the Apache License, Version 2.0 (the "License");
66
* you may not use this file except in compliance with the License.

src/Pipes/RequestExceptionHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
/*
3-
* Copyright 2021 Cloud Creativity Limited
3+
* Copyright 2022 Cloud Creativity Limited
44
*
55
* Licensed under the Apache License, Version 2.0 (the "License");
66
* you may not use this file except in compliance with the License.

src/Pipes/ValidationExceptionHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
/*
3-
* Copyright 2021 Cloud Creativity Limited
3+
* Copyright 2022 Cloud Creativity Limited
44
*
55
* Licensed under the Apache License, Version 2.0 (the "License");
66
* you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)