diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index fc401cf..feab499 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -16,8 +16,8 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, windows-latest] - php: [8.4, 8.3, 8.2, 8.1] - laravel: ['9.*', '10.*', '11.*'] + php: [8.1, 8.2, 8.3, 8.4] + laravel: ['9.*', '10.*', '11.*', '12.*'] dependency-version: [prefer-stable] include: - laravel: 9.* @@ -26,13 +26,17 @@ jobs: testbench: 8.* - laravel: 11.* testbench: 9.* + - laravel: 12.* + testbench: 10.* exclude: - - laravel: 11.* - php: 8.1 - - laravel: 10.* - php: 8.4 - laravel: 10.* php: 8.3 + - laravel: 10.* + php: 8.4 + - laravel: 11.* + php: 8.1 + - laravel: 12.* + php: 8.1 name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} - ${{ matrix.os }} diff --git a/CHANGELOG.md b/CHANGELOG.md index 167ca7c..577a496 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -55,63 +55,71 @@ The following changes are required when updating: ## Changes -### 2.2.0 +### 2.4.0 - 2025-02-17 + +- Add Laravel 12 support + +### 2.3.0 - 2024-12-26 + +- Add PHP 8.4 support + +### 2.2.0 - 2024-02-28 - Add Laravel 11 support -### 2.1.0 +### 2.1.0 - 2023-12-21 - Add PHP 8.3 support -### 2.0.0 +### 2.0.0 - 2023-02-14 - Minimum PHP requirement 8.1 - Add support for PHP 8.2 - Minimum Laravel requirement 9.0 - Add support for Laravel 10.* -### 1.3.0 +### 1.3.0 - 2023-01-18 - Added return types for better IDE completion by @shahruslan in #24 -### 1.2.1 +### 1.2.1 - 2022-05-7 - Append instead of override when writign to a log file by @afiqiqmal in #21 - Add Prefix Config by @afiqiqmal in #20 -### 1.2.0 +### 1.2.0 - 2022-02-10 - Add Laravel 9 support -### 1.1.0 +### 1.1.0 - 2021-12-19 - Implement new MessageAccessor class by @bilfeldt in #13 - Implement a new logWith-method + a LogAllFilter class and a NullLogger by @bilfeldt in #15 - Apply fixes from StyleCI by @bilfeldt in #11 - Apply fixes from StyleCI by @bilfeldt in #14 -### 1.0.1 +### 1.0.1 - 2021-07-01 - Add unofficial support for Lumen -### 1.0.0 +### 1.0.0 - 2021-04-19 - Release first stable release - Flatten configuration (breaking change) -### 0.3.0 +### 0.3.0 - 2021-04-05 - Add on-demand configuration array (breaking change) - Fix evaluation of closures in `logWhen` macro - Add environmental variables for filtering options - Add new filtering option for enabling all logging -### 0.2.0 +### 0.2.0 - 2021-02-17 - Refactor configuration (breaking change) - Add logging to a flysystem disk - Bugfix: `$context` not being passed down when using request macros -### 0.1.0 +### 0.1.0 - 2021-02-15 - initial release diff --git a/README.md b/README.md index ad6def0..c928d3c 100644 --- a/README.md +++ b/README.md @@ -8,10 +8,10 @@ An easy yet very flexible logger for the Laravel HTTP Client. -| Version | Laravel | PHP | -|---------|---------------------|----------------------------------| -| 1.* | 8.* \| 9.* | 7.4.* \| 8.0.* | -| 2.* | 9.* \| 10.* \| 11.* | 8.1.* \| 8.2.* \| 8.3.* \| 8.4.* | +| Version | Laravel | PHP | +|---------|-----------------------------|----------------------------------| +| 1.* | 8.* \| 9.* | 7.4.* \| 8.0.* | +| 2.* | 9.* \| 10.* \| 11.* \| 12.* | 8.1.* \| 8.2.* \| 8.3.* \| 8.4.* | ## Installation diff --git a/composer.json b/composer.json index 7e14c0d..bebf34c 100644 --- a/composer.json +++ b/composer.json @@ -20,16 +20,16 @@ } ], "require": { - "php": "~8.4.0 | ~8.3.0 | ~8.2.0 | ~8.1.0", + "php": "~8.1.0 | ~8.2.0 | ~8.3.0 | ~8.4.0", "ext-json": "*", "guzzlehttp/guzzle": "^7.2", - "illuminate/http": "^9.0 || ^10.0 || ^11.0", - "illuminate/support": "^9.0 || ^10.0 || ^11.0", + "illuminate/http": "^9.0 || ^10.0 || ^11.0 || ^12.0", + "illuminate/support": "^9.0 || ^10.0 || ^11.0 || ^12.0", "spatie/laravel-package-tools": "^1.1" }, "require-dev": { - "orchestra/testbench": "^7.0 || ^8.0 || ^9.0", - "phpunit/phpunit": "^9.5.10 || ^10.0", + "orchestra/testbench": "^7.0 || ^8.0 || ^9.0 || ^10.0", + "phpunit/phpunit": "^9.5.10 || ^10.0 || ^11.0", "timacdonald/log-fake": "^2.0" }, "autoload": {