Skip to content

Releases

0.1.0-rc.1

0.1.0-rc.1 Pre-release
Pre-release

Choose a tag to compare

@williamthome williamthome released this 25 Nov 17:42
ad6526b

The first release candidate of roadrunner_grpc_protobuf: Protocol Buffers for Roadrunner's gRPC, with modules generated by gpb. It goes with Roadrunner 0.17.0-rc.1, the release candidate that brings gRPC, and 0.1.0 will follow Roadrunner 0.17.0.

Highlights

  • roadrunner_grpc_protobuf is a roadrunner_grpc_codec for the proto subtype (application/grpc and application/grpc+proto): it encodes and decodes each method's messages with the gpb module that knows their types
  • service/3 and service/4 build a gRPC service from what a gpb module knows of it, calling one function per method in your own module, named after the method in snake case (SayHello is say_hello/2); options name the functions another way or answer UNIMPLEMENTED for a method your module does not export
  • A service is named by its full gRPC name as a binary, or by its name in the gpb module as an atom, with or without gpb's use_packages
  • With gpb's descriptor option, the module's .proto files go to Roadrunner's server reflection, so tools like grpcurl can list, describe and call your services
  • Checked on every change against gRPC's official grpc-go interop client, over plain HTTP/2 and over TLS

What's Changed

Full Changelog: https://github.com/arizona-framework/roadrunner_grpc_protobuf/commits/0.1.0-rc.1