0.36.4
(fix): Now, import paths are correctly added to stream wrapper tests.
0.36.3
(fix): Support starting the stream on StreamWrapper.pipe(...) for shorter syntax when dealing with node:stream primitives.
0.36.2
(fix): This release comes with numerous improvements to streaming responses:
- Introduces new stream wrapper polyfills that implement the ability to stream to more streams, per environment.
- For
Node 18+, stream responses can now be piped toWritableStream. They can also be streamed tostream.Writable, as possible before. - For
< Node 18, stream responses can be piped tostream.Writeable, as before. - For
Browserenvironments, stream responses can be piped toWritableStream. - For
Cloudflare Workers, stream responses can be piped toWritableStream.
(fix): Now, there are generated unit tests for the fetcher/stream-wrappers core directory which makes sure that Fern’s stream wrapping from responses work as expected!