Skip to content

Releases: swisnl/php-http-fixture-client

3.1.0

23 Feb 10:09
16a2eb8
Compare
Choose a tag to compare

Changed

  • Allow PSR-17 response factory in client
  • Bumped php-http/mock-client to ^1.6

Fixed

  • Allow installation of psr/http-message: ^2.0 #41
  • Allow installation of symfony/string: ^7.0

3.0.0

10 Jan 09:37
b0b731e
Compare
Choose a tag to compare

Changed

  • The ResponseBuilder now requires PSR-17 factories instead of a PHP-HTTP factory, to align it with the Client. This is only a breaking change in the rare case where you provide your own factory to the ResponseBuilder.
  • Removed domainAliases from constructor arguments. Please use setDomainAliases() on the instance instead.
  • Replaced danielstjules/stringy with symfony/string. In some edge cases, mainly special or accented characters, this will affect how query parameters are transformed to a fixture.

Removed

  • Dropped PHP <7.4 support.

2.4.0

06 Jan 12:16
f43ebbc
Compare
Choose a tag to compare

Added

  • Added an option to ignore certain query parameters. See readme for more info.

2.3.2

30 Aug 09:43
6ceb830
Compare
Choose a tag to compare

Fixed

  • Fixed issue introduced by internal refactor

2.3.1

30 Aug 09:34
205e16e
Compare
Choose a tag to compare

Fixed

  • Fixed compatibility with php-http/mock-client: ^1.5 #29

2.3.0

12 Jul 14:56
68f2ceb
Compare
Choose a tag to compare

Added

  • PHP 8 support

Removed

  • Dropped PHP <7.2 support

2.2.0

06 Mar 15:40
Compare
Choose a tag to compare

Added

  • Add support for HTTPlug 2.0 and PSR-18 #6

2.1.0

05 Oct 13:56
Compare
Choose a tag to compare

Added

  • Added strict mode #3

2.0.0

05 Sep 13:49
Compare
Choose a tag to compare

This release changes the way URIs with GET-params are resolved to fixtures. GET-params are now separated with & and key/value pairs are combined with = instead of -. Besides that, more characters are allowed in the filename. Please see the updated README and pull request #2 for more information.

Changed

  • Changed logic for converting GET-params to a filename #2

1.0.0

05 Sep 13:48
Compare
Choose a tag to compare

Initial release.