Skip to content

response v1.0.4

Choose a tag to compare

@github-actions github-actions released this 04 Dec 02:27
· 1 commit to main since this release
83d5fe3

Patch Changes

  • Fix compressStream(), used by compressResponse() and the compression() middleware, buffering the entire compressed response in memory when the client reads slowly. Compression now pauses the source stream until the client catches up. Cancelling a compressed response after its source stream finished also no longer throws a TypeError. (#12426)

  • Combine prepended DOCTYPE bytes into the first chunk of streamed createHtmlResponse() responses, forward stream cancellation to the underlying reader, and avoid unnecessary Headers and TextEncoder allocations. (#12463)

  • Bumped @remix-run/* dependencies: