diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 56121ad..1afd7a6 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -42,6 +42,7 @@ jobs: - { package: devops, version: { php: "8.0", laravel: "8.*", testbench: "^6.23", phpunit: "^9.5" } } - { package: devops, version: { php: "8.1", laravel: "9.*", testbench: "^7.6", phpunit: "^9.5" } } - { package: devops, version: { php: "8.4", laravel: "12.*", testbench: "^10.0", phpunit: "^11.5" } } + - { package: devops, version: { php: "8.4", laravel: "13.*", testbench: "^11.0", phpunit: "^12.0" } } - { package: support, version: { php: "8.2", laravel: "11.*", testbench: "^9.0", phpunit: "^10.5" } } - { package: support, version: { php: "8.4", laravel: "12.*", testbench: "^10.0", phpunit: "^11.5" } } - { package: notifications, version: { php: "8.2", laravel: "11.*", testbench: "^9.0", phpunit: "^10.5" } } diff --git a/CHANGELOG.md b/CHANGELOG.md index 9719b2b..d051b8b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,12 @@ All notable changes to the packages are documented here. The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and every package shares the same version number. +## [Unreleased] + +### Added + +- `witify/devops`: runs on Laravel 13. The `illuminate/*` constraints accept `^13.0`, the test suite runs on Testbench 11 and PHPUnit 12, and CI adds the PHP 8.4 + Laravel 13 pair. + ## [1.4.1] - 2026-09-24 ### Fixed diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index ed22146..5a0a6e4 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -31,7 +31,7 @@ composer update --with "illuminate/support:8.*" --with "orchestra/testbench:^6.2 vendor/bin/phpunit ``` -CI runs this matrix for every package on each push and pull request (`.github/workflows/tests.yml`), one entry per package and pair. `witify/devops` runs on PHP 8.0 + Laravel 8, PHP 8.1 + Laravel 9 and PHP 8.4 + Laravel 12; `witify/support` and `witify/notifications` on PHP 8.2 + Laravel 11 and PHP 8.4 + Laravel 12. +CI runs this matrix for every package on each push and pull request (`.github/workflows/tests.yml`), one entry per package and pair. `witify/devops` runs on PHP 8.0 + Laravel 8, PHP 8.1 + Laravel 9, PHP 8.4 + Laravel 12 and PHP 8.4 + Laravel 13; `witify/support` and `witify/notifications` on PHP 8.2 + Laravel 11 and PHP 8.4 + Laravel 12. The path repository of the root `composer.json` pins every package to the upcoming version (`options.versions`), so a package can require another one with a caret constraint while both are checked out. diff --git a/packages/devops/README.md b/packages/devops/README.md index 105356a..0b3e60e 100644 --- a/packages/devops/README.md +++ b/packages/devops/README.md @@ -11,7 +11,7 @@ It also ships two generic checks, `CpuCheck` and `FailedJobsCheck`, and the `Cli | | | |---|---| | PHP | 8.0 to 8.4 | -| Laravel | 8.75 to 12 | +| Laravel | 8.75 to 13 | | Database | any, only for the `failed_jobs` table read by `FailedJobsCheck` and the health results table when you keep the default result store | `spatie/laravel-health` and `spatie/cpu-load-health-check` are installed with the package. `spatie/laravel-backup` is optional: when it is present, the backup name is reported to the portal. @@ -97,7 +97,7 @@ Keep only the checks that apply. An application without a queue worker has no `Q Register the provider: - Laravel 8 to 10: add `App\Providers\HealthServiceProvider::class` to the `providers` array of `config/app.php`. -- Laravel 11 and 12: add it to `bootstrap/providers.php`. +- Laravel 11 to 13: add it to `bootstrap/providers.php`. ### 3. Schedule the checks @@ -114,7 +114,7 @@ protected function schedule(Schedule $schedule): void } ``` -Laravel 11 and 12, in `routes/console.php`: +Laravel 11 to 13, in `routes/console.php`: ```php use Illuminate\Support\Facades\Schedule; diff --git a/packages/devops/composer.json b/packages/devops/composer.json index a7892f7..8271c5f 100644 --- a/packages/devops/composer.json +++ b/packages/devops/composer.json @@ -12,18 +12,18 @@ ], "require": { "php": "^8.0", - "illuminate/broadcasting": "^8.75|^9.0|^10.0|^11.0|^12.0", - "illuminate/contracts": "^8.75|^9.0|^10.0|^11.0|^12.0", - "illuminate/database": "^8.75|^9.0|^10.0|^11.0|^12.0", - "illuminate/http": "^8.75|^9.0|^10.0|^11.0|^12.0", - "illuminate/routing": "^8.75|^9.0|^10.0|^11.0|^12.0", - "illuminate/support": "^8.75|^9.0|^10.0|^11.0|^12.0", + "illuminate/broadcasting": "^8.75|^9.0|^10.0|^11.0|^12.0|^13.0", + "illuminate/contracts": "^8.75|^9.0|^10.0|^11.0|^12.0|^13.0", + "illuminate/database": "^8.75|^9.0|^10.0|^11.0|^12.0|^13.0", + "illuminate/http": "^8.75|^9.0|^10.0|^11.0|^12.0|^13.0", + "illuminate/routing": "^8.75|^9.0|^10.0|^11.0|^12.0|^13.0", + "illuminate/support": "^8.75|^9.0|^10.0|^11.0|^12.0|^13.0", "spatie/cpu-load-health-check": "^1.0", "spatie/laravel-health": "^1.34" }, "require-dev": { - "orchestra/testbench": "^6.23|^7.6|^8.0|^9.0|^10.0", - "phpunit/phpunit": "^9.5|^10.5|^11.0" + "orchestra/testbench": "^6.23|^7.6|^8.0|^9.0|^10.0|^11.0", + "phpunit/phpunit": "^9.5|^10.5|^11.0|^12.0" }, "suggest": { "spatie/laravel-backup": "Reports the backup destination in the health payload."