4.4 KiB
4.4 KiB
Changelog
v0.5.0 (2026-01-22)
- Added support for
panic=unwind. (#26, #28) - Persist the error state of
writable::IntoSink. (#27) - Fixed lifetime elision warnings. (#29)
- Updated to
wasm-bindgen0.2.108 andweb-sys0.3.85.
v0.4.2 (2024-10-25)
- Updated to
wasm-bindgen0.2.95 andweb-sys0.3.72. - Used more
web-systypes directly for the crate's internals.
v0.4.1 (2024-09-28)
- Fixed "closure invoked recursively or after being dropped" when dropping
IntoStreamandIntoAsyncRead. (#24, #25)
v0.4.0 (2023-10-31)
- Added
ReadableStream::from(async_iterable)andtry_from(async_iterable). (#23) - Stop calling
byobRequest.respond(0)on cancel (#16) - ⚠ Breaking change: The system modules (
readable::sys,writable::sysandtransform::sys) now re-export directly from theweb-syscrate. This should make it easier to usefrom_raw(),as_raw()andinto_raw(). (#22)
v0.3.0 (2022-10-16)
- 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 (2022-05-18)
v0.2.2 (2021-12-09)
- Added
WritableStream::into_async_write()to turn aWritableStreamacceptingUint8Arrays into anAsyncWrite(#9, #10) - Added
IntoSink::abort()(#10)
v0.2.1 (2021-09-23)
ReadableStream::into_stream()andReadableStream::into_async_read()now automatically cancel the stream when dropped (#7, #8)- Added
IntoStream::cancel()andIntoAsyncRead::cancel()(#8)
v0.2.0 (2021-06-22)
- Add support for readable byte streams (#6)
- Add
ReadableStream::(try_)get_byob_readerto acquire a BYOB reader. - Add
ReadableStream::from_async_readto turn anAsyncReadinto a readable byte stream. - Add
ReadableStream::(try_)into_async_readto turn a readable byte stream into anAsyncRead.
- Add
- Improve error handling and drop behavior of
ReadableStream::from_stream()
v0.1.2 (2020-10-31)
- Include license files in repository (#5)
v0.1.1 (2020-08-08)
- Specify TypeScript type for raw streams (#1)
v0.1.0 (2020-06-15)
First release! 🎉