Skip to content

Releases: swisnl/php-http-fixture-client

3.2.0

Choose a tag to compare

@JaZo JaZo released this 19 Mar 13:53
f58f66d

Fixed

  • Allow installation of symfony/string: ^8.0

Removed

  • Dropped PHP <8.0 support.

3.1.0

Choose a tag to compare

@JaZo JaZo released this 23 Feb 10:09
16a2eb8

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

Choose a tag to compare

@JaZo JaZo released this 10 Jan 09:37
b0b731e

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

Choose a tag to compare

@JaZo JaZo released this 06 Jan 12:16
f43ebbc

Added

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

2.3.2

Choose a tag to compare

@JaZo JaZo released this 30 Aug 09:43
6ceb830

Fixed

  • Fixed issue introduced by internal refactor

2.3.1

Choose a tag to compare

@JaZo JaZo released this 30 Aug 09:34
205e16e

Fixed

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

2.3.0

Choose a tag to compare

@JaZo JaZo released this 12 Jul 14:56
68f2ceb

Added

  • PHP 8 support

Removed

  • Dropped PHP <7.2 support

2.2.0

Choose a tag to compare

@JaZo JaZo released this 06 Mar 15:40

Added

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

2.1.0

Choose a tag to compare

@JaZo JaZo released this 05 Oct 13:56

Added

  • Added strict mode #3

2.0.0

Choose a tag to compare

@JaZo JaZo released this 05 Sep 13:49

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