Releases: anthropics/connect-rust
Releases · anthropics/connect-rust
v0.7.0
What's Changed
- ci: check generated code freshness by @Yong-yuan-X in #126
- Add new
connectrpc-healthcrate by @torkelrogstad in #128 - client: tighten gRPC and gRPC-Web unary response parsing by @jeet-dekivadia in #147
- Bump CLA action to v3.1.0; run workflow on reopened PRs by @iainmcgin in #153
- ci: support merge queue by @iainmcgin in #154
- compression: report malformed payloads as invalid_argument by @Yong-yuan-X in #144
- service: surface streaming request body read errors to handlers by @EffortlessSteven in #150
- client: error on truncated Connect streaming responses by @Yong-yuan-X in #146
- server: include body receipt in request deadlines by @jeet-dekivadia in #148
- connectrpc-build: add Config::emit_descriptor_set for gRPC server reflection by @iainmcgin in #156
- Borrowed request views: ServiceRequest and StreamMessage on buffa 0.7.0 by @iainmcgin in #143
- ci: pin fmt and clippy toolchains by @iainmcgin in #155
- Add connectrpc-reflection crate (gRPC server reflection v1 + v1alpha) by @iainmcgin in #157
- client: streaming message() returns terminal errors as Err by @rpb-ant in #159
- docs: drop rustdoc hidden-line markers from guide health example by @iainmcgin in #152
- deadline: don't arm inter-message timer before first item is yielded by @Dev-X25874 in #127
- client: enforce the streaming terminal contract by construction by @rpb-ant in #160
- release: 0.7.0 by @iainmcgin in #158
New Contributors
- @torkelrogstad made their first contribution in #128
- @jeet-dekivadia made their first contribution in #147
- @EffortlessSteven made their first contribution in #150
- @Dev-X25874 made their first contribution in #127
Full Changelog: v0.6.1...v0.7.0
v0.6.1
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
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
- @aknott-ant made their first contribution in #112
- @azdagron made their first contribution in #117
Full Changelog: v0.5.0...v0.6.0
v0.5.0
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
- @hobostay made their first contribution in #59
- @Yong-yuan-X made their first contribution in #109
Full Changelog: v0.4.2...v0.5.0
v0.4.2
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
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
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
- @rpb-ant made their first contribution in #58
- @siketyan made their first contribution in #55
- @tejas-dharani made their first contribution in #76
- @connyay made their first contribution in #63
- @jportner-ant made their first contribution in #81
Full Changelog: v0.3.3...v0.4.0
v0.3.3
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
- @sharma-uday made their first contribution in #56
Full Changelog: v0.3.2...v0.3.3
v0.3.2
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
- @paikend made their first contribution in #16
- @tannaurus made their first contribution in #19
- @windsornguyen made their first contribution in #32
Full Changelog: v0.3.1...v0.3.2
v0.3.1
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