Skip to content

v1.5.0

Compare
Choose a tag to compare
@jhump jhump released this 17 Mar 19:05
· 134 commits to master since this release
96cfd48

Changes

Command-line tool

  • Adds support for xDS v2 APIs for service discovery. To enable, you will need to create bootstrap config file and set the GRPC_XDS_BOOTSTRAP environment variable to the path of that file. You can then specify a target using the xds-experimental scheme, like xds-experimental:///example.com (note three slashes). See the gRFC for more details.
  • Adds support for "gzip" encoding. If the server compresses the response using "gzip", it notifies the client using a response header like so grpc-encoding: gzip. The grpcurl command-line tool will now correctly handle such compressed responses.
  • Fixes a bug where grpcurl would send a meta-header of :scheme: http, even when it was using TLS and HTTPS.
  • The -servername command-line flag is being deprecated. Instead, use -authority, which previously only worked for plain-text invocations, but now works for all RPCs. Note that this one flag controls both the :authority meta-header and the server name used in SNI when establishing a TLS connection. It is now an error to specify both -authority and -servername with different values.

Go package "github.com/fullstorydev/grpcurl"

  • The grpcurl.BlockingDial function has been updated to correctly pass :scheme: https meta-header when using TLS. It previously indicated http as the scheme, even when TLS was used.