All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Added support for Symfony 8
- Added support for PHP 8.5
- Remove support for PHP < 8.1
- Added support for PHP 8.4
- Fixed running the tests with Guzzle PSR-7 and PSR-17 implementations.
- Allow installation with Symfony 7.
- Test with PHP 8.2
- This client needs a PSR-17 factories implementation. Instead of requiring an implementation,
previous versions only required the interfaces which could lead to a non-functional installation.
Fixed by requiring
psr/http-factory-implementation.
- Symfony 6 support
- Tested with PHP 8.1
- PHP 8.0 support
- Symfony 5 support
- HHVM support removed.
- Minimal PHP version changed to 7.1.
Client::__constructnow expects PSR-17 factories instead of HTTPlug ones.
- #36: Failure evaluating code:
is_resource($handle)(string assertions are deprecated in PHP 7.2)
- #30: Make sure we rewind streams
- #29: Request not using CURLOPT_POSTFIELDS have content-length set to
- Use binary mode to create response body stream.
- #27: ErrorPlugin and sendAsyncRequest() incompatibility
Client::sendRequestnow throwsHttp\Client\Exception\NetworkExceptionon network errors.\UnexpectedValueExceptionreplaced withHttp\Client\Exception\RequestExceptioninClient::sendRequestandClient::sendAsyncRequest
- #26: Combining CurlClient with StopwatchPlugin causes Promise onRejected handler to never be invoked.
- Request body can be send with any method except GET, HEAD and TRACE.
- #25: Make discovery a hard dependency.
- #23: "php-http/async-client-implementation" added to "provide" section.
- #22: Cannot create the client using
HttpClientDiscovery.
- #20: Minimize memory usage when reading large response body.
- #18: Invalid "Expect" header.
- #13: Remove HeaderParser.
- #16: Make sure discovery can find the curl client
- #15: "Out of memory" sending large files.
- Switch to php-http/message 1.0.
First stable release.
- Migrate from
php-http/discoveryandphp-http/utilstophp-http/message.
- Root namespace changed from
Http\CurltoHttp\Client\Curl. - Main client class name renamed from
CurlHttpClienttoClient. - Minimum required php-http/discovery version changed to 0.5.
- Compatibility with php-http/httplug 1.0 beta
- Switch to php-http/discovery 0.4
- Switch to php-http/message-factory 1.0
- Requirements fixed.
- Use cURL constants as options keys.
- HttpAsyncClient support.
- Initial release