Releases: bilfeldt/laravel-http-client-logger
Releases · bilfeldt/laravel-http-client-logger
v2.2.0
What's Changed
- docs: update publish config artisan command by @maartenpaauw in #30
- Laravel 11 support by @bilfeldt in #31
New Contributors
- @maartenpaauw made their first contribution in #30
Full Changelog: v2.1.0...v2.2.0
v2.1.0
What's Changed
- Add support for PHP 8.3 by @okaufmann in #29
New Contributors
- @okaufmann made their first contribution in #29
Full Changelog: v2.0.0...v2.1.0
v2.0.0
v1.3.0
What's Changed
- Added type hint by @shahruslan in #24
New Contributors
- @shahruslan made their first contribution in #24
Full Changelog: v1.2.1...v1.3.0
v1.2.1
What's Changed
- Change PUT to Append for Log Storage by @afiqiqmal in #21
- Add Prefix Config : Able to add prefix to log file disk by @afiqiqmal in #20
New Contributors
- @afiqiqmal made their first contribution in #21
Full Changelog: v1.2.0...v1.2.1
v1.2.0
What's Changed
- Laravel 9.x Compatibility by @laravel-shift in #16
New Contributors
- @laravel-shift made their first contribution in #16
Full Changelog: v1.1.0...v1.2.0
v1.1.0
v1.0.1
v1.0.0
v0.3.0
Changes
- 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
This release includes breaking changes:
Note that the breaking changes only affects more advanced usage of the package, for most users these breaking changes will require no code change.
HttpLoggerInterface
: Signature changed with the addition of optional array parameter$config
HttpLoggingFilterInterface
: Signature changed with the addition of optional array parameter$config
- Macro
log()
: Signature changed with the addition of optional array parameter$config
- Macro
logWhen()
: Signature changed with the addition of optional array parameter$config
Upgrade path from 0.2.0 => 0.3.0
Details can be found in CHANGELOG.md
and below:
- If the parameter
$context['replace']
is provided to any of the methods above this must instead be provided in the newly added$config['replace']
- The same change must be made if the parameter
$context['filename']
has been provided - Any calls to the
log
orlogWhen
macro where logger or filter is provided must add an empty array before the logger parameter due to the new method signature - Any custom implementation of
HttpLoggerInterface
andHttpLoggingFilterInterface
must be refactored to fit the new method signature - Optional: Republish configuration file