diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1e83030..1bf8583 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,15 +14,13 @@ jobs: strategy: fail-fast: true matrix: - php: ['8.2', '8.1'] - laravel: ['9.*', '8.*'] + php: ['8.1', '8.2'] + laravel: ['9.*', '10.*'] include: - laravel: '9.*' testbench: '7.*' - larastan: '2.*' - - laravel: '8.*' - testbench: '6.*' - larastan: '2.*' + - laravel: '10.*' + testbench: '8.*' name: P${{ matrix.php }} - L${{ matrix.laravel }} @@ -51,26 +49,26 @@ jobs: # Lower PHP and laravel versions. - name: PHPUnit without code coverage - if: matrix.php != '8.2' || matrix.laravel != '9.*' + if: matrix.php != '8.2' || matrix.laravel != '10.*' run: vendor/bin/testbench package:test --parallel --no-coverage # Last PHP and laravel versions. - name: Code analysis - if: matrix.php == '8.2' && matrix.laravel == '9.*' + if: matrix.php == '8.2' && matrix.laravel == '10.*' run: | vendor/bin/pint --test -vvv vendor/bin/phpmd config,src,tests text phpmd.xml vendor/bin/phpstan analyse - name: PHPUnit with code coverage - if: matrix.php == '8.2' && matrix.laravel == '9.*' + if: matrix.php == '8.2' && matrix.laravel == '10.*' run: | mkdir -p build/logs vendor/bin/testbench package:test --parallel --coverage-text --coverage-clover build/logs/clover.xml - name: Code coverage upload to Coveralls - if: env.COVERALLS_REPO_TOKEN && matrix.php == '8.2' && matrix.laravel == '9.*' + if: env.COVERALLS_REPO_TOKEN && matrix.php == '8.2' && matrix.laravel == '10.*' env: COVERALLS_RUN_LOCALLY: 1 COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} diff --git a/CHANGELOG.md b/CHANGELOG.md index 281914a..4c0cbe7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## [2.4.0](https://github.com/Okipa/laravel-supervisor-downtime-notifier/compare/2.3.0...2.4.0) + +2023-01-22 + +* Added Laravel 10 support +* Dropped Laravel 8 support +* Locked PHP versions to 8.1 and 8.2 + ## [2.3.0](https://github.com/Okipa/laravel-supervisor-downtime-notifier/compare/2.2.2...2.3.0) 2022-12-16 diff --git a/README.md b/README.md index 9ee935d..b3f90f9 100644 --- a/README.md +++ b/README.md @@ -30,13 +30,14 @@ Found this package helpful? Please consider supporting my work! ## Compatibility -| Laravel version | PHP version | Package version | -|---|---|---| -| ^8.0 | ^9.0 | ^8.1 | ^8.2 | ^2.3 | -| ^8.0 | ^9.0 | ^8.0 | ^8.1 | ^2.2 | -| ^7.0 | ^8.0 | ^7.4 | ^8.0 | ^2.1 | -| ^7.0 | ^8.0 | ^7.4 | ^2.0 | -| ^6.0 | ^7.0 | ^7.4 | ^1.0 | +| Laravel version | PHP version | Package version | +|-------------------|--------------------|-----------------| +| ^9.0 | ^10.0 | 8.1.* | 8.2.* | ^2.4 | +| ^8.0 | ^9.0 | ^8.1 | ^8.2 | ^2.3 | +| ^8.0 | ^9.0 | ^8.0 | ^8.1 | ^2.2 | +| ^7.0 | ^8.0 | ^7.4 | ^8.0 | ^2.1 | +| ^7.0 | ^8.0 | ^7.4 | ^2.0 | +| ^6.0 | ^7.0 | ^7.4 | ^1.0 | ## Upgrade guide diff --git a/composer.json b/composer.json index ea2166f..d2790c7 100644 --- a/composer.json +++ b/composer.json @@ -28,16 +28,16 @@ } ], "require": { - "php": "^8.1|^8.2", - "illuminate/contracts": "^8.0|^9.0" + "php": "8.1.*|8.2.*", + "illuminate/contracts": "^9.0|^10.0" }, "require-dev": { "brianium/paratest": "^6.4", - "laravel-notification-channels/webhook": "^2.3", - "laravel/slack-notification-channel": "^2.4", - "nunomaduro/collision": "^5.10|^6.0", - "nunomaduro/larastan": "^1.0|^2.0", - "orchestra/testbench": "^6.0|^7.0", + "laravel-notification-channels/webhook": "^2.4", + "laravel/slack-notification-channel": "^2.5", + "nunomaduro/collision": "^6.0", + "nunomaduro/larastan": "^2.0", + "orchestra/testbench": "^7.0|^8.0", "phpmd/phpmd": "^2.11", "roave/security-advisories": "dev-latest", "laravel/pint": "^1.1"