Releases: connectrpc/connect-go
v0.5.0
What's Changed
Enhancements
- Add a helper to write RPC errors from
net/http
middleware by @rhbuf in #337 - Expose peer information to handlers and clients by @akshayjshah in #364
- Interoperate cleanly with
http.MaxBytesHandler
by @akshayjshah in #355 - Support
application/json; charset=utf8
Content-Type by @buildbreaker in #358
Bugfixes
- Fix error code for ReadMaxBytes by @akshayjshah in #354
Other changes
- Improve test coverage of bidi streams @pkwarren in #352
- Shorten stability section of README by @akshayjshah in #353
- Add Github Actions workflow to notify on unreviewed changes by @rubensf in #365
New Contributors
Full Changelog: v0.4.0...v0.5.0
v0.4.0
What's Changed
Enhancements
- Add SendMaxBytes option for clients and handlers by @pkwarren in #341
- Add client option to disable gzip support by @alexandrem in #349
- Use Go 1.19 links in GoDoc by @akshayjshah in #347
Bugfixes
- Handle Go keywords in Protobuf definitions by @akshayjshah in #348
New Contributors
- @rubensf made their first contribution in #338
- @alexandrem made their first contribution in #349
Full Changelog: v0.3.0...v0.4.0
v0.3.0
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
v0.2.0
What's Changed
Breaking Changes
- Rework streaming interceptors by @akshayjshah in #316.
To better accommodate a variety of common use cases, this release changes the interface for streaming interceptors. The new interface makes simple interceptors (like header-based authentication) easier to write, and it allows streaming handlers to recover from panics with well-formed gRPC or Connect errors. Only users with custom streaming interceptors are affected - unary interceptors are unchanged.
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.
Enhancements
- Add ReadMaxBytes option by @pkwarren in #311
- Add a panic-recovering interceptor by @akshayjshah in #320
Bugfixes
- Fix path separators when generating code on Windows by @bufdev in #298
- Require grpc-status trailer with gRPC protocol by @lixin9311 and @pkwarren in #288
- Dedupe compression algorithm names by @mattrobenolt in #308
- Improve support for 32-bit platforms by @pkwarren in #318
- Map HTTP/2 RST_STREAM codes back to RPC codes by @akshayjshah in #321
New Contributors
- @mattrobenolt made their first contribution in #308
Full Changelog: v0.1.1...v0.2.0
v0.1.1
What's Changed
Enhancements
- Improved interceptor documentation by @abhinav in #246
- Reduce binary size by @akshayjshah in #253
- Fix compression negotiation for streaming with Connect protocol by @akshayjshah in #268
- Use registration order to prioritize client Accept-Encoding by @akshayjshah in #269
Bugfixes
- Miscellaneous documentation fixes by @mfridman and @bufdev.
- Guard against client stream panics by @pkwarren in #265
- Expand test coverage of codes by @pkwarren in #266
- Make HTTP internals less error-prone by @pkwarren in #267
New Contributors
Full Changelog: v0.1.0...v0.1.1
v0.1.0
What's Changed
This is the first public release of connect-go
, a slim framework for building browser and gRPC-compatible HTTP APIs 🤩 See the blog post and connectrpc.com for details and documentation.
New Contributors
Many engineers at @bufbuild worked on connect-go
, but we're especially appreciative of @severb's contributions. He's our first external contributor! In alphabetical order, this release contains contributions by:
- @akshayjshah
- @amckinney
- @bufdev
- @buildbreaker
- @cyinma
- @doriable
- @lrewega
- @mfridman
- @severb
- @smaye81
- @timostamm
Full Changelog: https://github.com/connectrpc/connect-go/commits/v0.1.0