Repository navigation
v0.2.0
·
72 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
A lot of changes between v0.1.19 and v0.2.0. This release breaks prior sidecar support (presumed to be early enough that friction will be low), and includes a wide range of fixes and improvements. Changes are significant enough that I think this warranted a v0.2 version:
Features
- Streaming responses — All protocols now stream response bodies to clients and into history as data arrives (SSE, long-poll, chunked). flow_get reports in_progress: true while streaming; poll again for more. Optional full_buffer config flag restores whole-body buffering when rules must match across chunk boundaries.
- TTL and client-awareness on upstream ALPN cache. Cached ALPN results expire and are keyed per client.
- Pass identity through Accept-Encoding filter. Identity encoding is no longer stripped during negotiation, and supported by proxy rules.
Fixes
- Detect truncated chunked trailers instead of fabricating a terminator.
- Bound streaming chunk reads to 32 KB to prevent OOM on oversized declared sizes.
- Respond to client on buffered body read errors instead of hanging.
- Answer Expect: 100-continue locally to avoid client deadlock on H1 uploads.
- Fallback to identity in Accept-Encoding negotiation when no match.
- Enforce timeouts and maxBodyBytes in WebSocket handler.
- Preserve unframed request bodies for HTTP/2 and force sends.
- Prevent crawl flow data corruption during replay.
- Replenish HTTP/2 connection recv window on aborted streams.
- Deleting a parent flow now cascades to child flows (no orphans).
- Ensure prompt shutdown on Ctrl+C / bound deadline-less shutdown contexts.
Sidecar
- Added StreamConn / StreamRouter in sidecar SDK for ordered messaging.
- Drop queued write ops and stream writes when abort fires mid-run.
- Reject terminate claims at raw-accept seam.
- Classify stream truncation reasons by cause.
- Buffer stream_deliver bytes arriving before DialUpstream response.
- Wire robustness: frame size handling and peer handler setting.
- Fix re-registration conflict checks and ownership data race.
- Forward annotations and invoked-by through sidecar replay sink.
- Order stream writes through FIFO notifications and per-stream queues.
- Compile claims at registration and propagate SNI.
- Isolate stream write errors; clean up connection deadlines.
- Seed rules before claims; drop snapshot versions.
- Preserve peeked bytes across declined early claims.
- Listener Close no longer hangs on unregistered sessions.