Changelog
0.3.3 - 2026-11-23
Fixed
grpc_tlsand the conformance client take libcrypto from the modules they import instead of namingcrypto. Withhttp v0.8.2andtls v0.4.5, a consumer whose aws-lc installslibcrypto-awslcandlibssl-awslclinks; build that package withsymbolPrefix = null.
0.3.2 - 2026-11-23
Fixed
grpc_tlsand the conformance suite align withtls v0.4.5andhttp v0.8.1. tls v0.4.5 resolves the libcrypto family through pkg-config, so a consumer whose aws-lc installslibcrypto-awslcandlibssl-awslclinks; build that package withsymbolPrefix = null.
0.3.1 - 2026-11-22
Fixed
grpc_tlsand the conformance suite now align withhttp v0.8.0andtls v0.4.4(http_tls.client.Connection.Options.trustandtls_std.Server.accept's scratch argument).
0.3.0 - 2026-11-21
Added
KeepAlive(idle_time,timeout) andClient.setKeepAlive/Client.IoOptions.keepalive/readiness.Session.setKeepAlivesend HTTP/2 PING frames on idle connections and fail open calls withUNAVAILABLEwhen a PING goes unanswered pasttimeout.Client.stepUntil,Stream.advanceUntil, andreadiness.Session.waitUntilbound a step by a caller-supplied deadline without expiring open calls.
0.2.0 - 2026-11-16
Added
- The wire compression registry,
grpc.compression:gzip,deflate(the zlib container, RFC 1950),snappy(Google's framed stream format), andzstd, overbaskingspot/compress, which is now a required dependency. A request setsencoding_codeconClient.unaryorClient.openand its messages are compressed on the wire under the namedgrpc-encoding; a response names its encoding in the head andCall.nextMessagedecodes it, bounded by the call'smessage_limit(the plaintext budget; compressed wire bytes stay bounded by the framing limit). The server decodes request messages the same way, in both the bufferedserver.Handlerpath andserver.Stream(whoseinitLimitedalso threads the limit into the framing checks), answers UNIMPLEMENTED with agrpc-accept-encodinglist for a name outside the registry, and answers INTERNAL for a compressed frame under identity or bytes that fail their codec. A caller with its own bytes keeps the raw primitive:Call.writeMessageFlaggedwrites a compressed-flagged frame untouched,allow_compressedhands a compressed response back whole, andserver.Stream.writetakes framed bytes as-is. The connectrpc conformance claim now covers all five registered compressions in both directions, cleartext and TLS.
Fixed
Client.open(and the streamingServerStream) withencoding_codecset butencodingleft at the default sent compressed messages with nogrpc-encodinghead. The head now derives the field from the codec, as the unary path always did.
0.1.1 - 2026-11-15
Changed
-
The
httppin is v0.5.0 and thetlspin is v0.4.2, both releases rather than commit pins. http renamed the h2 engine module fromblockingtodirect; the internal call sites follow, and no grpc API changes. -
The client writes a call's HEADERS and DATA frames in one
sendmsg: both drivers (Client.unary's pump and the multiplexedClient.step) now queue the request body behind the head before the first flush, instead of flushing between the two frames. Multiplexed calls coalesce further, so a batch of concurrent calls can share one write. One syscall per call less on the wire, and a peer that coalesced frames (nghttp2) no longer wins the comparison.
Fixed
- Long-lived connections with heavy call churn no longer slow down as the
connection ages, and busy connections carry less CPU per call. Both fixes
ride the
httppin (baskingspot/http0144d33,0266fef, and0fcded6, whose slot pool isstdx.slot, withstdxmoving to the same commit): the session's stream table rebuilds once removals outnumber live streams (each gRPC call leaves one tombstone otherwise), and the engine walks live streams through a used list instead of scanning every configured slot. Per-request server cycles fell 63% (9,840 โ 3,606) across the five fixes below, and single-connection capacity rose 60% (8-byte payloads): the stream-table rebuild (0144d33), the engine's live-only slot walk (0266fef), the one-block request-head copy (5ce1d35), and the stream table that grows with the live count instead of a pre-reservedmax_streams(4f44384) โ the pre-reserve made every lookup probe long chains and every rebuild walk an oversized table โ the scatter append into the output queue (465a956) that stopped staging every outgoing frame through a second buffer, and the SIMD field validation (e459b83..5acc5c5) that validates wide header sets a block at a time. grpc's own dispatch walks request messages on the stack for the common unary case, spilling to the arena only past four messages.
0.1.0 - 2026-11-12
Added
message,status,timeout, andhead: the framing layer.message.parseHeaderandwritehandle one length-prefixed frame with no allocator;statuscarries the seventeen codes withparse,Code.fromInt, anddecodefor the percent-escapedgrpc-message;timeoutreads and writesgrpc-timeoutin the coarsest exact unit;headbuilds the request fields and validates metadata.Call: one call over one HTTP/2 stream. It frames the request, reassembles response messages across DATA frames, and ends ongrpc-status, a trailers-only head, an HTTP error status, a reset, or a GOAWAY.grpc.Client: one connection across calls.unaryandunaryCapturedreturn the response, status, and metadata;openandsteprun several calls at once;ServerStreampulls a server-streaming response;Streamis the byte-oriented facade over a call, shared with the readiness client.server.serveandserver.serveStreamingaccept on the caller'sIo, one task per connection, so a handler can block and take locks.server.Handlerbuffers the request;server.Streamanswers incrementally, full-duplex included, and retains unsent bytes across backpressure.grpc_tls: the opt-in TLS module.grpc_tls.Connectionpresents a client over the plaintext side;grpc_tls.serveandserveStreamingrun the same handlers over TLS. The core module links no crypto.- The experimental readiness surfaces, with removal intended:
server.ReadinessServer,grpc_tls.ReadinessServer, andreadiness. - The connectrpc conformance suite passes in full: 2,025 cases over the client and the server, cleartext and TLS, identity and gzip, and all five stream types.