Skip to content

Releases: bilfeldt/laravel-http-client-logger

v1.0.0

19 Apr 20:05
Compare
Choose a tag to compare

First stable release.

Note that this contains breaking changes that only affect those users that have modified the configuration. Check CHANGELOG.md for upgrade instructions (a few minutes).

v0.3.0

05 Apr 21:06
Compare
Choose a tag to compare

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 or logWhen 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 and HttpLoggingFilterInterface must be refactored to fit the new method signature
  • Optional: Republish configuration file

v0.2.0

17 Feb 14:30
Compare
Choose a tag to compare
  • Refactor configuration (breaking change)
  • Add logging to a flysystem disk
  • Bugfix: $context not being passed down when using request macros

v0.1.0

15 Feb 22:55
Compare
Choose a tag to compare

Initial release