What's Changed
This is the first release of Connect in the connectrpc
GitHub organization. The import path has changed to connectrpc.com/connect
.
All previous releases are available under the new import path. The code for these releases is identical to the code for github.com/bufbuild/connect-go
.
To migrate to the new import path, a shell script is usually sufficient:
On Linux, or anywhere with GNU 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
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
When you change your source code, you'll also need to switch to the version of protoc-gen-connect-go
in this repository. If you're using the Buf CLI with the buf.build/bufbuild/connect-go
remote plugin, switch to the buf.build/connectrpc/go
plugin.
We apologize for any inconvenience that this rename causes. We're doing this to prepare Connect for donation to a foundation, which will put it on a better footing for long-term maintenance by multiple stakeholders.
If you encounter any problems or have questions, please reach out to us by filing an issue or joining #connectrpc
in the Gophers Slack.
Full Changelog: v1.10.0...v1.11.0