Browse packages

Changelog · v0.41.0

http

0.41.0 (2026-12-04)#

  • Update the workspace dependency on @rcompat/fs to 0.42.0.

0.40.0 (2026-12-04)#

  • Add http.websocket.connect() for outbound connections with optional subprotocols. Bun, Deno, and Node.js 26 support custom handshake headers. Browsers support outbound connections without custom headers.
  • Update workspace dependencies to @rcompat/assert 0.17.0, @rcompat/dict 0.14.0, @rcompat/fs 0.41.0, @rcompat/type 0.20.0.

0.39.0 (2026-11-22)#

  • Update the workspace dependency on @rcompat/fs to 0.40.0.

0.38.0 (2026-11-21)#

  • Add http.multipart() to stream multipart form parts with bounded parsing, cancellation, and distinct malformed-input and limit errors. The reader works on Node, Bun, Deno, and in browsers.

0.37.1 (2026-11-12)#

  • Implement the previously throwing Request.signal getter on Node server requests. Each request has a stable signal that aborts on a premature upload or response disconnect, including while a handler waits after reading the body. Normal body consumption and response completion do not abort it; lifecycle listeners are removed on completion or cancellation.
  • Pending Node WebSocket handshakes expose a usable request signal until rejection completes or a successful upgrade hands ownership to the socket.
  • Bun and Deno retain their native request signals. Deno may defer cancellation of interrupted uploads until the handler returns, despite the body read already rejecting; its legacy behavior may also abort after normal response completion. See the README for the request-lifetime contract and limitations.