Skip to content

Releases: php-http/mock-client

1.6.1

Choose a tag to compare

@dbu dbu released this 31 Oct 10:31
1.6.1
  • Fix warnings with PHP 8.4.

1.6.0

Choose a tag to compare

@dbu dbu released this 21 May 08:32
1.6.0
ae5d717

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)

Choose a tag to compare

@dbu dbu released this 17 May 10:59
1.5.2

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

Choose a tag to compare

@dbu dbu released this 30 Apr 19:12
1.5.1
19e9ce6

Added

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

1.5.0

Choose a tag to compare

@dbu dbu released this 25 Aug 07:07
1.5.0
a797c2a

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

Choose a tag to compare

@dbu dbu released this 14 Jul 08:05
1.4.1
1f89dc2

Fixed

  • Support PHP 7.4 and 8.0

1.4.0

Choose a tag to compare

@dbu dbu released this 02 Jul 06:57
1.4.0
9947c7f

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

Choose a tag to compare

@dbu dbu released this 19 Dec 08:57
1.3.1
186547b

Fixed

  • reset() also resets conditionalResults

1.3.0

Choose a tag to compare

@dbu dbu released this 21 Feb 08:51
1.3.0

Added

  • Conditional mock functionality

1.2.0

Choose a tag to compare

@dbu dbu released this 20 Jan 10:56
1.2.0

Added

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