If you don't use gRPC-Go or protobuf, you can stop reading now.

As you may be aware, the protobuf module at github.com/golang/protobuf has
been superseded by google.golang.org/protobuf
<https://pkg.go.dev/mod/google.golang.org/protobuf>.  In combination with
this change, the new module will not provide any gRPC codegen capabilities;
those are being transitioned to
google.golang.org/grpc/cmd/protoc-gen-go-grpc
<https://github.com/grpc/grpc-go/tree/master/cmd/protoc-gen-go-grpc>.

We are using this opportunity to correct a long-standing issue with the
generated code for gRPC-Go: adding new methods to a service should be a
backward-compatible change.  Unfortunately, this will require some minor
changes to application code.  However, we believe this is worth the
benefit, and provides some additional flexibility not previously possible.

The proposed API for the new version of the codegen tool is now ready for
testing.  It is still v0, meaning API changes are still possible.  You can
find the details in the tool's README
<https://github.com/grpc/grpc-go/blob/master/cmd/protoc-gen-go-grpc/README.md>.
For discussions about the API, you are welcome to follow-up either here or
in the issue <https://github.com/grpc/grpc-go/issues/3669> tracking these
changes.

Thanks,
Doug

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/CAMTLis%2BexXW8cXT1k__LOhcSNfpstxV8nKFps25s5nwm9mGxMQ%40mail.gmail.com.

Reply via email to