- 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