- Fixed compatibility with
psr/http-message
v2 - The
Http\Client\Socket\Stream
has BC breaks if you extended it. It is not meant to be extended, declaring it as@internal
now.
- Allow installation with Symfony 7
- Fixed constructor to work nicely with version 1 style arguments (e.g. HttplugBundle)
- Fixed PHP 8 compatibility for stream timeouts
- Renamed
master
branch to2.x
for semantic branch naming. - Add Symfony 6 compatibility
- Add php 8 compatibility
- Fixed composer "provide" section to say that we provide
psr/http-client-implementation
- Fix wrong call to trigger_error
- Remove response and stream factory, use direct implementation of nyholm/psr7
- PSR18 and HTTPlug 2 support
- Remove support for php 5.5, 5.6, 7.0 and 7.1
- SSL Method now defaults to
STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT
- Support for Symfony 4
- Make sure
Stream::__toString
never throws exception - Added more exception
BrokenPipeException
ConnectionException
InvalidRequestException
SSLConnectionException
- Dropped PHP 5.4 support
- Using stable version of
php-http/discovery
- Added discovery as hard dependency
- Reading more bytes than expected in a stream now returns the remaining content instead of throwing an Error
Initial release