Skip to content

Releases: carsdotcom/php-request-class

v1.3.0

Choose a tag to compare

@jwadhams jwadhams released this 30 Oct 21:35
a085746

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

Choose a tag to compare

@jwadhams jwadhams released this 20 Aug 19:13
926581a

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

Choose a tag to compare

@jwadhams jwadhams released this 19 Aug 14:15
066cd42

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

Choose a tag to compare

@bbene bbene released this 07 Aug 14:25
827b0ce

What's Changed

  • feat: On cache hit, the request class has access to the log file when the cache was written by @jwadhams in #11

Full Changelog: v1.1.0...v1.1.1

v1.1.0

Choose a tag to compare

@jwadhams jwadhams released this 12 Jul 19:26
c7488fd

Formal support for Laravel 10 and 11, including a matrix test runner for PRs.

v1.0.5

Choose a tag to compare

@bbene bbene released this 26 Jun 15:17
79c4517

What's Changed

New Contributors

Full Changelog: v1.0.4...v1.0.5

v1.0.4

Choose a tag to compare

@jwadhams jwadhams released this 19 Apr 21:06
d5d7a22

What's Changed

  • Add replaceMatchBody and replaceMatchFile by @czedonis in #5
  • Add instructions to unit test to the README by @jwadhams in #6

New Contributors

Full Changelog: v1.0.3...v1.0.4

v1.0.3

Choose a tag to compare

@jwadhams jwadhams released this 12 Jul 18:39
9c2ef52

What's Changed

  • MR-1748, default timeout on all requests, easy setter to customize by @jwadhams in #4

Full Changelog: v1.0.2...v1.0.3

v1.0.2

Choose a tag to compare

@jwadhams jwadhams released this 10 Jul 16:46
2e0b3a6

What's Changed

  • Remove Mockery as a direct dependency by @jwadhams in #3

Full Changelog: v1.0.1...v1.0.2

v1.0.1

Choose a tag to compare

@jwadhams jwadhams released this 10 Jul 16:41
1f1fa89

What's Changed

Full Changelog: v1.0.0...v1.0.1