Development of this package has moved to
connectrpc/connect-go. The new
import path is connectrpc.com/connect
.
To keep Connect well-maintained and responsive to its users' needs over the long term, we're preparing to donate it to a foundation. (More details on that soon!) To cleanly separate Connect from Buf's other code, we're moving development to the connectrpc GitHub organization.
This repository is now frozen: it will continue to function, but won't receive further updates. Apart from its import path, the new package is identical to this one — it contains the same code and releases, so migration usually takes just a few minutes and a handful of shell scripts.
1. Find all instances of github.com/bufbuild/connect-go
and replace them with connectrpc.com/connect
On Linux, or anywhere with GNU sed
:
find . -name "*.go" -exec sed -i 's|github.com/bufbuild/connect-go|connectrpc.com/connect|g' {} \;
On Mac, or anywhere with BSD sed
:
find . -name "*.go" -exec sed -i '' 's|github.com/bufbuild/connect-go|connectrpc.com/connect|g' {} \;
go get connectrpc.com/connect@latest
go mod tidy
go install connectrpc.com/connect/cmd/protoc-gen-connect-go@latest
If you're using remote plugins on the Buf Schema Registry, switch to the connectrpc/go plugin.