Skip to content

Releases: amphp/byte-stream

1.8.1

30 Mar 17:22
v1.8.1
Compare
Choose a tag to compare
  • 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

23 Jul 17:33
v1.8.0
f0c20cf
Compare
Choose a tag to compare
  • Added custom delimiter support to LineReader (#77)
  • Added base64 streams (#73)
  • Increased minimum PHP version to PHP 7.1

1.7.3

04 Apr 17:02
v1.7.3
Compare
Choose a tag to compare
  • Add psalm annotations for static analysis

1.7.2

29 Jan 18:37
1e52f17
Compare
Choose a tag to compare
  • Updated ResourceOutputStream to be compatible with changes made to EAGAIN and EPIPE error handling in PHP 7.4 (#70, #71)

1.7.1

28 Oct 09:16
v1.7.1
Compare
Choose a tag to compare
  • Fixed ResourceInputStream not properly nulling the resource on close (#67, #68)

1.7.0

07 Oct 20:37
v1.7.0
3d45773
Compare
Choose a tag to compare
  • Added LineReader (#64)
  • Added line delimited JSON parser (#65)
  • Added InputStreamChain (#66)

1.6.1

26 Jul 21:26
47908f8
Compare
Choose a tag to compare
  • 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

03 Jun 21:53
v1.6.0
c75af37
Compare
Choose a tag to compare
  • 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

27 Dec 21:07
v1.5.1
Compare
Choose a tag to compare
  • Fixed broken symlink in release tars.

1.5.0

22 Oct 20:56
37b9ab1
Compare
Choose a tag to compare
  • 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)