Skip to content

Releases: MattiasBuelens/wasm-streams

v0.4.0

31 Oct 19:12
Compare
Choose a tag to compare
  • Added ReadableStream::from(async_iterable) and try_from(async_iterable). (#23)
  • Stop calling byobRequest.respond(0) on cancel (#16)
  • Breaking change: The system modules (readable::sys, writable::sys and transform::sys) now re-export directly from the web-sys crate. This should make it easier to use from_raw(), as_raw() and into_raw(). (#22)

v0.3.0

15 Oct 22:30
Compare
Choose a tag to compare
  • Added support for web workers, by removing usage of JavaScript snippets. (#13, #14)
  • Breaking change: This removes a workaround for Chromium bug #1187774 that was previously needed for ReadableStream::from_async_read. This bug was fixed upstream in March 2021 with Chrome 91. (#14)
  • Updated documentation of ReadableStream(Default|BYOB)Reader::release_lock() around the expected behavior when there are pending read requests. See the corresponding Streams specification change for details. (#15)

v0.2.3

18 May 21:11
Compare
Choose a tag to compare
  • Replaced futures dependency with futures-util to improve compilation times (#11, #12)

v0.2.2

09 Dec 20:08
Compare
Choose a tag to compare
  • Added WritableStream::into_async_write() to turn a WritableStream accepting Uint8Arrays into an AsyncWrite (#9, #10)
  • Added IntoSink::abort() (#10)

v0.2.1

22 Sep 22:47
Compare
Choose a tag to compare
  • ReadableStream::into_stream() and ReadableStream::into_async_read() now automatically cancel the stream when dropped (#7, #8)
  • Added IntoStream::cancel() and IntoAsyncRead::cancel() (#8)

v0.2.0

22 Jun 19:56
Compare
Choose a tag to compare
  • Add support for readable byte streams (#6)
    • Add ReadableStream::(try_)get_byob_reader to acquire a BYOB reader.
    • Add ReadableStream::from_async_read to turn an AsyncRead into a readable byte stream.
    • Add ReadableStream::(try_)into_async_read to turn a readable byte stream into an AsyncRead.
  • Improve error handling and drop behavior of ReadableStream::from_stream()

v0.1.2

30 Oct 23:50
Compare
Choose a tag to compare
  • Include license files in repository (#5)

v0.1.1

08 Aug 18:44
Compare
Choose a tag to compare
  • Specify TypeScript type for raw streams (#1)

v0.1.0

14 Jun 22:09
Compare
Choose a tag to compare

First release! 🎉