v0.2.0
Pre-release
Pre-release
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