- Run tests with the renamed laminas diactoros (formerly known as zend diactoros)
Assets
2
Added
- Symfony 5 support
Assets
2
Removed
- HHVM support removed.
Changed
- Minimal PHP version changed to 7.1.
Client::__construct
now expects PSR-17 factories instead of HTTPlug ones.
Added
Assets
2
Fixed
- #36: Failure evaluating code: is_resource($handle) (string assertions are deprecated in PHP 7.2)
Assets
2
Changed
- #30: Make sure we rewind streams
Assets
2
Fixed
- #29: Request not using CURLOPT_POSTFIELDS have content-length set to
Changed
- Use binary mode to create response body stream.
Assets
2
Fixed
- #27: ErrorPlugin and sendAsyncRequest() incompatibility
Assets
2
Client::sendRequest
now throwsHttp\Client\Exception\NetworkException
on network errors.\UnexpectedValueException
replaced withHttp\Client\Exception\RequestException
in
Client::sendRequest
andClient::sendAsyncRequest
Assets
2
Fixed
- #26: Combining CurlClient with StopwatchPlugin causes Promise onRejected handler to never be invoked.
Assets
2
PreviousNext