What's Changed
Breaking Changes
- Send binary data with error details by @akshayjshah in #329
So that proxies can translate between the Connect and gRPC protocols without a schema, we've changed the Connect protocol to include base64-encoded binary data with error details. Any code sending error details must now create details withconnect.NewErrorDetail
instead ofanypb.New
. For code unmarshaling error details, theconnect.ErrorDetail
type has changed from an interface to a struct with a more-ergonomicValue()
method.
Note that we will not make breaking changes in minor releases after connect-go
reaches v1.0. We anticipate a stable release around October of 2022, shortly after Go 1.19 is released.
Full Changelog: v0.2.0...v0.3.0