github remix-run/remix response@1.0.4
response v1.0.4

one hour ago

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:

Don't miss a new remix release

NewReleases is sending notifications on new releases.