grpc-go v1.0.0 Release Notes
Release Date: 2020-10-02 // over 3 years ago-
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 theprotoc-gen-go
tool at https://github.com/golang/protobuf. With the migration of that tool to https://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