Skip to content

Releases: php-http/mock-client

1.6.1

31 Oct 10:31
@dbu dbu
1.6.1
Compare
Choose a tag to compare
  • Fix warnings with PHP 8.4.

1.6.0

21 May 08:32
@dbu dbu
1.6.0
ae5d717
Compare
Choose a tag to compare

Fixed

  • We actually did fallback to the legacy message factory discovery so 1.5.2 is broken.
    Changed to use PSR 17 factory discovery.
    If you allow the composer plugin of php-http/discovery, things will work out of the box.
    When disabled and you do not have a PSR-17 factory installed, you will need to explicitly require one, e.g. nyholm/psr7.

1.5.2 (broken)

17 May 10:59
@dbu dbu
1.5.2
Compare
Choose a tag to compare

Broken, use 1.6.0 instead

Removed

  • Removed dependency on php-http/message-factory as the mock client does not use it.

1.5.1

30 Apr 19:12
@dbu dbu
1.5.1
19e9ce6
Compare
Choose a tag to compare

Added

  • Allow psr/http-message version 2
  • Build with PHP 8.1 and 8.2

1.5.0

25 Aug 07:07
@dbu dbu
1.5.0
a797c2a
Compare
Choose a tag to compare

Changed

  • Provide psr/http-client-implementation
  • Drop support for php-http/httplug: 1.* to be sure to implement a version of the client interface that implements the PSR.

1.4.1

14 Jul 08:05
@dbu dbu
1.4.1
1f89dc2
Compare
Choose a tag to compare

Fixed

  • Support PHP 7.4 and 8.0

1.4.0

02 Jul 06:57
@dbu dbu
1.4.0
9947c7f
Compare
Choose a tag to compare

Added

  • Support for the PSR-17 response factory

Changed

  • Drop support for PHP 5 and 7.0
  • Consitent implementation of union type checking

Fixed

  • reset() should not trigger setDefaultException error condition

1.3.1

19 Dec 08:57
@dbu dbu
1.3.1
186547b
Compare
Choose a tag to compare

Fixed

  • reset() also resets conditionalResults

1.3.0

21 Feb 08:51
@dbu dbu
1.3.0
Compare
Choose a tag to compare

Added

  • Conditional mock functionality

1.2.0

20 Jan 10:56
@dbu dbu
1.2.0
Compare
Choose a tag to compare

Added

  • Support for HTTPlug 2.0.
  • Support for php-http/client-common 2.0.