Skip to content

Releases: amphp/byte-stream

1.4.0

03 Oct 16:08
v1.4.0
Compare
Choose a tag to compare
  • Added Amp\ByteStream\buffer()

1.3.1

04 Apr 18:52
v1.3.1
Compare
Choose a tag to compare
  • Fixed detecting when some types of streams are closed (particularly process pipes on macOS) (#40)

1.3.0

13 Mar 15:39
6d6c89f
Compare
Choose a tag to compare
  • Added Payload as a replacement for Message.
  • Deprecated Message.

1.2.5

11 Mar 09:21
v1.2.5
Compare
Choose a tag to compare
  • Fixed issue with ResourceInputStream (#38)

1.2.4

09 Mar 16:53
v1.2.4
Compare
Choose a tag to compare
  • Fixed issue with immediate reads, which could result in a blocking loop in combination with immediate writes. Such a situation is only likely on pipes or files, network sockets are probably not affected here, unless they receive data very quickly. Reads now deferred to the next tick in case they're immediate. (#37)

1.2.3

08 Mar 10:48
v1.2.3
Compare
Choose a tag to compare
  • Fixed wrong exception being thrown for writing to closed ResourceOutputStream (#35)
  • Fixed performance issue with STDIN on Windows. This might also improve performance for other streams.
  • Fixed condition to detect a broken pipe in ResourceOutputStream.

1.2.2

12 Jan 19:49
v1.2.2
Compare
Choose a tag to compare
  • Polyfill STDOUT and STDERR for SAPIs not being CLI. (#34)
  • Correctly throw a PendingReadError in IteratorStream if a previous read is still pending.

1.2.1

14 Dec 16:29
v1.2.1
Compare
Choose a tag to compare
  • Suppress errors for feof, because pthreads. (#32)

1.2.0

05 Dec 20:06
v1.2.0
Compare
Choose a tag to compare
  • Added OutputBuffer.
  • Fixed ResourceInputStream for STDIO pipes.

1.1.6

17 Oct 07:28
v1.1.6
Compare
Choose a tag to compare
  • Do not release resource on __destruct() in ResourceInputStream. This ensures getResource() still returning a valid resource during cyclic garbage collection. See #29.
  • Optimize memory consumption of Amp\ByteStream\pipe().