Skip to content

Releases: connectrpc/connect-rust

v0.8.1

Choose a tag to compare

@github-actions github-actions released this 02 Jul 18:39
v0.8.1
0b9e25a

What's Changed

Full Changelog: v0.8.0...v0.8.1

v0.8.0

Choose a tag to compare

@github-actions github-actions released this 01 Jul 23:18
v0.8.0
f9d5774

What's Changed

  • examples/bazel: update to connectrpc 0.7.0 / buffa 0.7.0 and fix codegen rules by @iainmcgin in #161
  • client: require END_STREAM for Connect client-streaming responses by @EffortlessSteven in #163
  • ci: bump CLA Assistant to v3.2.0 and relax comment trigger by @iainmcgin in #166
  • router: hide low-level route helpers from rustdoc by @Yong-yuan-X in #162
  • router: add top-down multi-service registration by @Yong-yuan-X in #164
  • feat(server): add max connection age to BoundServer by @Jaksenc in #165
  • connectrpc: add optional json feature for proto-only builds by @macalinao in #172
  • client: return unknown for Connect EOF without END_STREAM by @iainmcgin in #168
  • docs: document raw hyper transport config by @Jaksenc in #191
  • client: cap server-supplied trailer metadata to avoid HeaderMap panic by @iainmcgin in #169
  • grpc: return unimplemented for unsupported message codec by @iainmcgin in #183
  • client: saturate gRPC-Web trailer-length add to avoid overflow panic by @iainmcgin in #170
  • client: emit Connect Unary-Get query parameters in spec-recommended order by @iainmcgin in #167
  • envelope: saturate header+length add to avoid overflow panic by @iainmcgin in #171
  • feat(server): add with_max_concurrent_streams to Server and BoundServer by @iainmcgin in #184
  • client: bound h2 connection establishment by default; proxy keep-alive knobs by @rpb-ant in #197
  • server: add with_max_requests_per_connection (count-based connection retirement) by @iainmcgin in #185
  • feat(server): enable HTTP/2 adaptive flow-control window by default by @iainmcgin in #186
  • feat(server): add HTTP/2 keepalive ping support by @iainmcgin in #188
  • Clamp client timeouts before deadlines by @fallintoplace in #193
  • Omit content-encoding for gzip values since the body is already decompressed by the browser by @bickfordb in #196
  • Make generated client feature gate configurable by @Jaksenc in #194
  • Reject malformed Connect END_STREAM JSON by @fallintoplace in #192
  • Preserve transport ConnectErrors in client calls by @fallintoplace in #199
  • client: preserve headers on malformed end streams by @fallintoplace in #201
  • Tighten gRPC response content-type validation by @fallintoplace in #200
  • Add The Connect Authors copyright notice to LICENSE by @iainmcgin in #206
  • Replace CLA requirement with DCO sign-off by @iainmcgin in #207
  • signatures: preserve the historical CLA record on main by @iainmcgin in #208
  • codegen: add encodable_impls=all_messages for shared proto crates by @iainmcgin in #205
  • server: apply an HTTP/1.1 header read timeout to accepted connections by @iainmcgin in #189
  • feat(server): add with_max_connection_idle (idle connection reaping) by @iainmcgin in #190
  • Adopt buffa 0.8: fallible owned-message conversion, explicit fast-utf8, buffa::Map by @iainmcgin in #211
  • release: v0.8.0 by @iainmcgin in #212

New Contributors

Full Changelog: v0.7.0...v0.8.0

v0.7.0

Choose a tag to compare

@github-actions github-actions released this 10 Jun 17:57
v0.7.0
912e6f5

What's Changed

New Contributors

Full Changelog: v0.6.1...v0.7.0

v0.6.1

Choose a tag to compare

@github-actions github-actions released this 27 May 15:28
03caf1d

What's Changed

  • examples/bazel: regenerate Cargo.lock against connectrpc 0.6.0 / buffa 0.6.0 by @iainmcgin in #124
  • chore: adjust the docs.rs URLs to reference the correct ones by @DevExzh in #125
  • service: treat END_STREAM as terminal in the streaming request body reader by @iainmcgin in #130
  • compression: error on truncated gzip deflate streams by @iainmcgin in #131
  • client: bound Connect client-streaming response parsing at one message by @iainmcgin in #133
  • compression: size decompression buffers from the input, not the limit by @iainmcgin in #132
  • release: 0.6.1 (streaming reader and decompression robustness fixes) by @iainmcgin in #134

New Contributors

Full Changelog: v0.6.0...v0.6.1

v0.6.0

Choose a tag to compare

@github-actions github-actions released this 20 May 04:12
v0.6.0
567022b

What's Changed

  • spec: add Spec, StreamType, IdempotencyLevel; thread through dispatch by @aknott-ant in #112
  • response: add RequestContext::path() — the requested procedure path by @iainmcgin in #116
  • client: HttpClientBuilder with connect_timeout by @azdagron in #117
  • payload: AnyMessage and Payload — type-erased, lazily-decoded message bodies by @aknott-ant in #113
  • interceptor: Interceptor trait, Next continuation, server registration by @aknott-ant in #114
  • service: with_interceptor_arc — register a shared Arc by @iainmcgin in #118
  • router: store Spec per route so dynamic dispatch carries it by @iainmcgin in #120
  • dispatcher: pass Payload to call_unary so handlers reuse the interceptor decode by @iainmcgin in #119
  • interceptor: streaming RPC support via Stream-shaped intercept_streaming by @iainmcgin in #121
  • server: proxy with_interceptor / with_interceptor_arc to ConnectRpcService by @iainmcgin in #123
  • release: 0.6.0 (server interceptors, Spec metadata, Payload bodies) by @iainmcgin in #122

New Contributors

Full Changelog: v0.5.0...v0.6.0

v0.5.0

Choose a tag to compare

@github-actions github-actions released this 18 May 22:07
v0.5.0
18ab744

What's Changed

  • handler: PreEncoded body type + Encodable items for streaming handlers by @rpb-ant in #98
  • fix(build): skip rerun-if-changed for .files() in Buf mode by @hobostay in #59
  • ci: pass repo-token to setup-protoc to avoid anonymous rate limit by @iainmcgin in #107
  • client: ClientConfig/CallOptions accessors, rename builders to with_* by @iainmcgin in #100
  • service: DeadlinePolicy for server-side timeout moderation by @iainmcgin in #103
  • RequestContext: #[non_exhaustive] + accessor methods by @iainmcgin in #101
  • server: with_* builder consistency + ConnectRpcService dispatch-config proxies by @iainmcgin in #105
  • deps: bump buffa to 0.6.0, regenerate checked-in code by @iainmcgin in #108
  • error: add ConnectError::into_http_response for short-circuiting layers by @iainmcgin in #111
  • docs: add doc(cfg) annotations for feature-gated APIs by @Yong-yuan-X in #109
  • release: 0.5.0 (buffa 0.6.0 sync, contract-locking runtime types) by @iainmcgin in #115

New Contributors

Full Changelog: v0.4.2...v0.5.0

v0.4.2

Choose a tag to compare

@github-actions github-actions released this 08 May 01:19
v0.4.2
4599ae3

What's Changed

  • axum: serve_tls helper + mtls-identity example by @iainmcgin in #80
  • ci(cla): bump cla-github-action pin to v3.0.0 by @iainmcgin in #96
  • client: stream call_client_stream request body via channel by @connyay in #84
  • fix: server feature → tokio/macros, source mod.rs allow list from buffa ALLOW_LINTS by @iainmcgin in #97

Full Changelog: v0.4.1...v0.4.2

v0.4.1

Choose a tag to compare

@github-actions github-actions released this 07 May 16:41
v0.4.1
a9a43e7

What's Changed

  • ci: trigger publish-crates on tag push by @iainmcgin in #85
  • fix(connectrpc-build): suppress unused_qualifications + impl_trait_redundant_captures in generated mod.rs by @iainmcgin in #94

Full Changelog: v0.4.0...v0.4.1

v0.4.0

Choose a tag to compare

@github-actions github-actions released this 06 May 01:11
15d5bd8

What's Changed

  • Bring graceful shutdown in line with Go's net/http.Server.Shutdown behavior by @rpb-ant in #58
  • codegen: embed buffa CodeGenConfig directly in Options by @iainmcgin in #64
  • error: box ConnectError header maps to fix result_large_err by @iainmcgin in #65
  • Adapt to buffa 0.4: __buffa:: sentinel paths + ViewEncode by @rpb-ant in #62
  • connectrpc-build: add Config::emit_rerun_directives(bool) by @iainmcgin in #69
  • add CONTRIBUTING.md, project CLAUDE.md, and rust-api-ergonomics-reviewer agent by @iainmcgin in #70
  • handler: split Context into RequestContext/Response, add Encodable trait by @iainmcgin in #66
  • handler: view-body Encodable, MaybeBorrowed, and filter benchmark by @iainmcgin in #67
  • fix: do not require default features for axum by @siketyan in #55
  • ci: bump cla-github-action to 1ecf0d2f (impersonation guard, co-author trailers) by @iainmcgin in #73
  • ci: bump cla-github-action to 73f6929 (email-based allowlist) by @iainmcgin in #74
  • codegen: detect colliding OwnedFooView aliases instead of always emitting by @iainmcgin in #77
  • compression: gzip defaults to zlib-rs + level 1 (~2.7× throughput) by @rpb-ant in #78
  • connectrpc: add include_generated!() macro by @tejas-dharani in #76
  • ci: bump cla-github-action to 5b54183 (retry transient 5xx) by @iainmcgin in #79
  • service: spawn body reader via wasm-bindgen-futures on wasm32 by @connyay in #63
  • drop [patch.crates-io] now that buffa 0.4.0 is published by @iainmcgin in #71
  • Pin GitHub Actions to commit SHAs by @jportner-ant in #81
  • release: 0.4.0 (buffa 0.5.0 sync, Companion files, natural-path examples) by @iainmcgin in #82
  • codegen: add file_per_package output layout by @iainmcgin in #83

New Contributors

Full Changelog: v0.3.3...v0.4.0

v0.3.3

Choose a tag to compare

@github-actions github-actions released this 22 Apr 20:24
e18c6f3

What's Changed

  • Pin MSRV to Rust 1.88 and verify in CI by @iainmcgin in #44
  • Add streaming-tour and middleware examples by @iainmcgin in #46
  • Add user guide and adoption-helpful README signposts by @iainmcgin in #48
  • ci: replace manual protoc install with arduino/setup-protoc action by @paikend in #52
  • connectrpc-build: skip rerun-if-changed for .files() in Precompiled mode by @sharma-uday in #56
  • Release v0.3.3 by @iainmcgin in #57

New Contributors

Full Changelog: v0.3.2...v0.3.3