grpc-go: protoc-gen-go-grpc Release 1.0

12 views
Skip to first unread message

Doug Fawley

unread,
Oct 2, 2020, 5:32:20 PM10/2/20
to grp...@googlegroups.com
Please let us know if you run into any problems or bugs by filing an issue in our repo.

Full Release Notes:

Background

This is the first major release of the protoc plugin for generating grpc stubs from the grpc-go repo. The previous version was part of the protoc-gen-go tool at golang/protobuf. With the migration of that tool to google.golang.org/protobuf, grpc support was removed and shifted to this repo.

Incompatible change

There is one backward-compatibility breaking change in this version of the tool, which can be disabled with a flag at generation time. The Unimplemented<Service>Server struct is now required to be embedded in implementations of the generated <Service>Server interface. This requirement guarantees that backward-compatibility is maintained by the generated code when new methods are added to a service, which is, itself, a backward-compatible operation.

To disable this behavior, which is recommended only for producing code compatible with earlier generated code, set the flag require_unimplemented_servers=false. For more details, please see the binary's README.md


Reply all
Reply to author
Forward
0 new messages