github connectrpc/connect-go v1.19.0

9 hours ago

This release introduces the highly requested "simple" flag for code generation, making Connect significantly more ergonomic for everyday RPC development.

The new simple flag in protoc-gen-connect-go generates cleaner, more intuitive client and handler interfaces that eliminate request/response wrappers for most use cases. This addresses community feedback about verbosity and provides a more straightforward API. When enabled, metadata (headers/trailers) can be passed through context instead of explicit wrapper objects, optimizing for the common case where developers don't need direct access to HTTP headers.

What's Changed

Enhancements

  • Add simple flag for more ergonomic generated code by @bufdev and @smaye81 in #851
  • Update Go to v1.24 and document http.Protocol use removing the dependency on golang.org/x/net/http2 by @maxbrunet in #873, #877
  • Add support for Edition 2024 by @emcfarlane in #878

Bugfixes

  • Include valid spec and headers when calling recover handler for streaming RPCs by @jhump in #817

Other changes

New Contributors

Full Changelog: v1.18.1...v1.19.0

Don't miss a new connect-go release

NewReleases is sending notifications on new releases.