Skip to content

release: 0.7.0#158

Merged
iainmcgin merged 1 commit into
mainfrom
release-0.7.0
Jun 10, 2026
Merged

release: 0.7.0#158
iainmcgin merged 1 commit into
mainfrom
release-0.7.0

Conversation

@iainmcgin

@iainmcgin iainmcgin commented Jun 10, 2026

Copy link
Copy Markdown
Collaborator

Summary

Prepares the 0.7.0 release: lockstep version bumps for five crates, changelog restructuring and finalization, a documentation accuracy pass across README / guide / rustdoc, and one small behavior fix surfaced by the pre-release audit.

Release mechanics

  • All five crates bump to 0.7.0: connectrpc, connectrpc-codegen, connectrpc-build, plus connectrpc-health (Add new connectrpc-health crate #128) and connectrpc-reflection (Add connectrpc-reflection crate (gRPC server reflection v1 + v1alpha) #157), which both join the lockstep scheme with this as their first published version. Inter-crate version requirements move to 0.7.
  • publish-crates.yml gains publish steps for connectrpc-health and connectrpc-reflection — the workflow previously published only three crates, so a tag push would have silently skipped both new crates.
  • Both new crates gain docs.rs metadata (all-features + --cfg docsrs) and feature badges on their client-gated re-exports, matching the connectrpc pattern.

Changelog

The [Unreleased] section accumulated two stacked fragments (the #143 conversion plus the #159/#160 entries appended above it). Restructured into one coherent [0.7.0] - 2026-06-10 entry:

Documentation accuracy pass

  • Guide: new Server reflection section (dependency snippet, both descriptor sources, schema-exposure callout, demo pointers), fifth crate-table row, streaming-client section now states the client: streaming message() returns terminal errors as Err #159 Err-on-terminal-error contract, bidi snippet fixed to unwrap the Option before .reborrow(), inter-message timeout wording updated for deadline: don't arm inter-message timer before first item is yielded #127, ctx.deadline field access replaced with the real accessors, ConnectError sketch corrected, stale 0.5/0.6 version snippets bumped.
  • Rustdoc: connectrpc-reflection's build.rs quick-start used the prost-style compile(&files, &includes) signature that doesn't exist — fixed to the real Config API; with_inter_message_timeout now documents when the timer arms; connectrpc crate-doc module index and Protocol Support section refreshed; duplicated ServerStream summary line removed.

Behavior fix

The default CompressionProvider::decompress_with_limit implementation mapped read failures to internal, while #144 moved the built-in providers to invalid_argument — a custom provider relying on the default would silently keep the old 5xx behavior the changelog says was fixed. The default now maps read failures to invalid_argument, with a documented convention and a regression test.

Verification

  • task lint (clippy all targets -D warnings + nightly fmt) clean
  • task test passes
  • task doc (broken intra-doc links denied) clean

After merge

Tag v0.7.0 on the merge commit to trigger crates.io publish (now five crates) and the binary release. Post-release follow-up: regenerate examples/bazel/Cargo.lock against the published 0.7.0 crates (its pins cannot resolve before publish). Optional: pick up buffa 0.7.1 in lockfiles when it ships — the 0.7 floor needs no change.

@github-actions

github-actions Bot commented Jun 10, 2026

Copy link
Copy Markdown

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@iainmcgin iainmcgin marked this pull request as ready for review June 10, 2026 02:48
@iainmcgin iainmcgin requested a review from rpb-ant June 10, 2026 02:49
@iainmcgin iainmcgin marked this pull request as draft June 10, 2026 14:37
@iainmcgin

Copy link
Copy Markdown
Collaborator Author

waiting for the streaming err handling fix and reflection crate before release

rpb-ant
rpb-ant previously approved these changes Jun 10, 2026
…alth and reflection crates)

Bump all five crates to 0.7.0 in lockstep; connectrpc-health and
connectrpc-reflection join the scheme with their first published
versions. Add the missing connectrpc-health and connectrpc-reflection
steps to the publish workflow.

Restructure the changelog into one coherent 0.7.0 entry: a single
intro and Breaking section covering both the server-side request
rework and the client streaming terminal-error contract, a previously
missing entry for connectrpc-health, a new entry for the inter-message
timer fix, PR references on the streaming entries, and a before/after
handler signature for the ServiceRequest migration.

Documentation accuracy pass: bump stale dependency versions across
README and guide, fix the guide's RequestContext accessor usage and
ConnectError field sketch, add a Server reflection guide section and
a fifth crate-table row, document when the inter-message timer arms,
state the streaming-client error contract in the guide, fix the
reflection crate's build.rs quick-start to the real Config API, and
add docs.rs feature-badge metadata to both new crates.

Align the default CompressionProvider::decompress_with_limit with the
built-in providers: read failures now map to invalid_argument instead
of internal, with a regression test.
@iainmcgin iainmcgin marked this pull request as ready for review June 10, 2026 17:19
@iainmcgin iainmcgin enabled auto-merge June 10, 2026 17:19
@iainmcgin iainmcgin added this pull request to the merge queue Jun 10, 2026
Merged via the queue into main with commit 912e6f5 Jun 10, 2026
13 checks passed
@iainmcgin iainmcgin deleted the release-0.7.0 branch June 10, 2026 17:23
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 10, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants