Skip to content

Add Laravel 12 support #39

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 17, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 10 additions & 6 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.*
Expand All @@ -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 }}

Expand Down
32 changes: 20 additions & 12 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
Loading