Skip to content

Releases: salesforce/grpc-java-contrib

jProtoc v0.9.1

24 Feb 19:02
70c2950
Compare
Choose a tag to compare

Fixed

  • Plugin debug output breaks if output file contains a subdirectory in its name.

jProtoc v0.9.0

20 Feb 23:48
Compare
Choose a tag to compare

Starting with this release, jProtoc and gRPC-Java-Contrib will be released separately.

Added

  • jProtoc dump plugin - Add this plugin to your protoc plugins list to dump a human and machine readable debug file for use in debugging jProtoc plugins.
  • jProtoc plugin test mode - Pass a dump file to a jProtoc plugin jar as a command line parameter to skip the protoc compiler. This makes plugins debuggable from java debug tools.

Updated

  • Split jProtoc releases from contrib releases

Fixed

  • ProtoTypeMap errors when nested protobuf enums have the same name as top-level message types. Thanks @wfhartford
  • java-multiple-files = true breaks ProtoTypeMap for nested message types. Thanks @efenglu

v0.8.1

23 Oct 21:59
e10c0ce
Compare
Choose a tag to compare

Added

  • XfccServerInterceptor for parsing X-Forwarded-Client-Cert headers forwarded by Linkerd and Envoy service mesh headers.
  • JDK8 generator now proto comments to generated code.

Updated

  • gRPC v1.12.0

Fixed

  • jProtoc now correctly handles nested protobuf message types.
  • jProtoc now correctly handles .proto filenames with characters that aren't valid proto and java identifier characters.

v0.7.1

18 Jan 22:48
ee988a1
Compare
Choose a tag to compare

Added

  • New testing contrib classes under the grpc-testing-contrib module.
    • NettyGrpcServerRule - A jUnit test @rule like GrpcServerRule, but uses the Netty transport instead of the InProc transport.
    • GrpcContext - A jUnit test @rule that fails any test that leaks io.grpc.Context information. Useful for testing context-sensitive code.

Updated

v0.7.0

20 Dec 18:46
Compare
Choose a tag to compare

Added

  • Stopwatch interceptor
  • Default deadline interceptor
  • Default call options interceptor
  • JSON and Protobuf HTTP/2 header marshallers
  • Ambient context propagation and interceptors
  • Client session support
  • Per-call and per-session service instance modes

Updated

Fixed

  • #66 JProtoc does not account for name collisions between