Skip to content

Releases: anthropics/connect-rust

v0.6.1

27 May 15:28
03caf1d

Choose a tag to compare

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

20 May 04:12
v0.6.0
567022b

Choose a tag to compare

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

18 May 22:07
v0.5.0
18ab744

Choose a tag to compare

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

08 May 01:19
v0.4.2
4599ae3

Choose a tag to compare

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

07 May 16:41
v0.4.1
a9a43e7

Choose a tag to compare

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

06 May 01:11
15d5bd8

Choose a tag to compare

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

22 Apr 20:24
e18c6f3

Choose a tag to compare

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

v0.3.2

03 Apr 18:09
4797d85

Choose a tag to compare

What's Changed

  • Add Bazel example for buffa+connectrpc protoc plugins by @iainmcgin in #38
  • Update outdated dependencies by @iainmcgin in #37
  • Add timeout-minutes to all workflow jobs by @iainmcgin in #21
  • fix: use service name const instead of string literal in generated clients by @paikend in #16
  • Add wasm32 support and browser-based client example by @tannaurus in #19
  • fix(codegen): use fully qualified paths to prevent E0252 on multi-service include by @windsornguyen in #32
  • Document protoc-gen-connect-rust installation by @iainmcgin in #40
  • Prepare connectrpc 0.3.2 release by @iainmcgin in #41

New Contributors

Full Changelog: v0.3.1...v0.3.2

v0.3.1

02 Apr 16:39
v0.3.1
30132af

Choose a tag to compare

What's Changed

  • Expose emit_register_fn option in codegen and build configs by @iainmcgin in #35
  • Prepare connectrpc 0.3.1 release by @iainmcgin in #36

Full Changelog: v0.3.0...v0.3.1

v0.3.0

02 Apr 02:21
v0.3.0
95c2c1d

Choose a tag to compare

What's Changed

  • Remove in-repo BSR plugin artifacts by @iainmcgin in #13
  • Add lazy_with_connector + Unix socket support by @iantay-ant in #15
  • Switch CLA action to Node 24 fork v2.7.1 by @iainmcgin in #20
  • Use write-if-changed pattern in connectrpc-build by @iainmcgin in #22
  • [benches] Update RPC benches for current client API by @washanhanzi in #17
  • Add --all-targets to CI cargo check and clippy by @iainmcgin in #25
  • Escape Rust keywords in generated RPC method names by @iainmcgin in #26
  • Suffix service trait name when it collides with Self keyword by @iainmcgin in #27
  • Reject RPC method names that collide after snake_case normalization by @iainmcgin in #28
  • Bump buffa to v0.3.0 and migrate to TypeRegistry API by @iainmcgin in #24
  • Expose mTLS peer credentials and remote address to handlers by @iainmcgin in #31
  • Prepare connectrpc 0.3.0 release by @iainmcgin in #29

New Contributors

Full Changelog: v0.2.1...v0.3.0