Releases: amphp/byte-stream
Releases · amphp/byte-stream
1.8.1
- Fixed
ResourceInputStream::close()
if resource is already closed on PHP 8
- Fixed
ResourceOutputStream::close()
if resource is already closed on PHP 8
1.8.0
- Added custom delimiter support to
LineReader
(#77)
- Added base64 streams (#73)
- Increased minimum PHP version to PHP 7.1
1.7.3
- Add psalm annotations for static analysis
1.7.2
- Updated
ResourceOutputStream
to be compatible with changes made to EAGAIN
and EPIPE
error handling in PHP 7.4 (#70, #71)
1.7.1
- Fixed
ResourceInputStream
not properly nulling the resource on close (#67, #68)
1.7.0
- Added
LineReader
(#64)
- Added line delimited JSON parser (#65)
- Added
InputStreamChain
(#66)
1.6.1
- Fixed
ResourceOutputStream::write()
or ResourceOutputStream::end()
when writing to a peer closed stream throwing from the method call instead of failing the returned promise.
1.6.0
- Added
setChunkSize()
to ResourceInputStream
and ResourceOutputStream
(#50)
- Added
getInputBufferStream()
and getOutputBufferStream()
(#61)
- Fixed closed detection for
ResourceOutputStream
, allowing usage with systemd (#58)
1.5.1
- Fixed broken symlink in release tars.
1.5.0
- Added functions
getStdin()
, getStdout()
, and getStderr()
which each return a single instance of ResourceInputStream
or ResourceOutputStream
associated with the currently active event loop for the standard streams. (#44)
- Fixed a performance issue when writing large chunks to a
ResourceOutputStream
. (#41, #42)