Releases: carsdotcom/php-request-class
v1.3.0
This release introduces a new feature where children of AbstractRequest can customize their own LogFile helper by overriding getLogFileHelper. This is especially useful for logging headers -- most of the time we think it's a bad idea, headers are for boring things like Content-Type and unloggable things like Authentication and bearer tokens -- but sometimes a request is using custom headers for tracing or even application logic that are exceptions to the rule.
v1.2.1
The cache key seed shouldn't be configurable. This caused a deployment issue for us when the default seed changed (because the cached data structure changed incompatibly) and our configured value didn't. This looked fine in unit tests and local development where the cache is mostly cold, but caused a short outage in production where the cache was warm and the keys didn't update with a new seed.
v1.2.0
This release separates the method that get a Guzzle Client, which would allow one request class to use a different Guzzle Client than the main dependency injector. This is especially useful if you have a one Request that needs to use mocked responses even in production, while the requests around it are making real HTTP calls.
This also deprecated the private method MocksGuzzleInstance::mockGuzzleAppInstanceWithHandler
and added a new public GuzzleTapper::makeMockedGuzzleClient
since it's now practical to make a one-off Guzzle client inside a request's getGuzzleClient
v1.1.1
v1.1.0
v1.0.5
What's Changed
- Update to allow Laravel 10 by @skybluesofa in #7
New Contributors
- @skybluesofa made their first contribution in #7
Full Changelog: v1.0.4...v1.0.5