Repository navigation
fix(deps): update module connectrpc.com/connect to v2 - #20
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
renovate
Bot
force-pushed
the
renovate/connectrpc.com-connect-2.x
branch
4 times, most recently
from
October 26, 2026 21:07
4d70062 to
cf9a60e
Compare
renovate
Bot
force-pushed
the
renovate/connectrpc.com-connect-2.x
branch
from
October 28, 2026 23:27
cf9a60e to
9bbc7d5
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v1.21.1→v2.0.2Release Notes
connectrpc/connect-go (connectrpc.com/connect)
v2.0.2Compare Source
What's Changed
Bugfixes
New Contributors
Full Changelog: connectrpc/connect-go@v2.0.1...v2.0.2
v2.0.1Compare Source
What's Changed
Bugfixes
New Contributors
Full Changelog: connectrpc/connect-go@v2.0.0...v2.0.1
v2.0.0Compare Source
What's new in version 2
connect-go v2 is a new major version of the Go API, not of ConnectRPC. The wire protocol, gRPC compatibility, and the rest of the ecosystem are unchanged. v1 remains supported on the
v1branch and the two versions can be used in the same module.Generated code takes and returns plain messages. The
connect.Request[T]andconnect.Response[T]wrappers are gone, so thesimpleoption is now the only shape:The core is now transport-agnostic. Generated code talks to a small
Transportinterface instead ofnet/http.connecthttpserves and calls Connect, gRPC, and gRPC-Web overnet/http, andconnectinprocesscalls a server directly in the same process.Servers register on a
*connect.Serverand clients are built from a transport:Test without a network
connectinprocessconnects a client to a server in the same process. Tests no longer needhttptest.Serveror a loopback listener:Interceptors wrap the whole call
Interceptors run before any decompression or unmarshaling. An auth check can reject a call from its headers alone, without separate HTTP middleware:
Errors don't leak by accident
Only a
*connect.Erroryou create sends its message to the client. Any other error, including one returned from a downstream RPC, reaches the client as a bare code with no message. Attach the original error withWithCauseto keep it forerrors.Isanderrors.Ason the server:Smaller binaries and a smaller API
Without generic client instantiation, the compiler no longer emits a client per RPC. Moving the Buf CLI to v2 shrinks its binary by about 10%. The core package exports about 25 identifiers, down from about 180 in v1, and stream types are interfaces that can be faked in tests.
The v2 guide explains what changed and why.
To upgrade, run:
v1 is still supported
v1 remains stable and supported indefinitely. It lives on the
v1branch and will keep receiving bug fixes and security patches asconnectrpc.com/connectv1.x releases. There is no deadline to migrate. v1 and v2 have different module paths, so both can be used in the same module and services can move one at a time.Full Changelog: connectrpc/connect-go@v1.21.0...v2.0.0
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.