Skip to content

Latest commit

 

History

History
34 lines (20 loc) · 1.56 KB

File metadata and controls

34 lines (20 loc) · 1.56 KB

Releases

Unreleased

  • Set body to null in the Client.request() response for null-body statuses (101, 204, 205, 304), matching Fetch API semantics.

v0.5.2

  • Fix Handoff frame-boundary parsing to avoid re-accumulating already-processed frames across chunks; incomplete trailing frames are now buffered separately, preventing data from being forwarded twice.
  • Reject the Client.request() promise immediately when the HTTP/2 stream closes before a response is received, rather than hanging indefinitely.

v0.5.1

  • Add Client.closeLocal() as a delegation method so callers no longer need to reach into client.transport directly.
  • Defer closing the local transport until after the GOAWAY write has flushed, ensuring the frame is delivered before outbound writes are dropped.

v0.5.0

  • Add Transport.closeLocal and Transport.closeRemote for more granular control over transport shutdown.
  • Ensure Handoff sends a GOAWAY frame and closes the transport when the server initiates shutdown, to prevent hanging connections and prevent incidental writes from interfering with the protocol.

v0.4.0

  • Streaming requests by default.

v0.3.0

  • Suppress ordinary writes to stdout and stderr while Server.open is running so incidental logs don't interfere with HTTY protocol bytes.
  • Guard against non-TTY stdin in Server.open, which is not supported by interactive HTTY sessions.
  • Make Client.request streaming-first, with explicit requestText and requestBuffer helpers for buffered responses.

v0.2.2

  • Current release.