- Fix warnings with PHP 8.4.
- 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
.
Broken, use 1.6.0 instead
- Removed dependency on
php-http/message-factory
as the mock client does not use it.
- Allow
psr/http-message
version 2 - Build with PHP 8.1 and 8.2
- 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.
- Support PHP 7.4 and 8.0
- Support for the PSR-17 response factory
- Drop support for PHP 5 and 7.0
- Consistent implementation of union type checking
reset()
should not triggersetDefaultException
error condition
reset()
also resetsconditionalResults
- Conditional mock functionality
- Support for HTTPlug 2.0.
- Support for php-http/client-common 2.0.
- Default response functionality
- Default exception functionality
getLastRequest
method
php-http/client-common
minimum dependency
Stable release with no changes since 0.3
- Support for custom MessageFactory
- Updated dependencies
- Updated dependencies
- Initial release