Quick links:
- Notes go here.
Overhauled Polyglot's command line options by using a different underlying library. This allows us to
- distinguish between commands (
list
) and options (--add_protoc_includes
). - distinguish between general options (applicable to all commands), and command specific options.
- have options with values that contain spaces (e.g.
--metadata
with authentication details) .
Invoking Polyglot takes the following form now:
java -jar polyglot.jar [options] [command] [command specific options]
Both =
and spaces are allowed to separate options from values (--add_protoc_includes=.
or --add_protoc_includes .
).
Please note that this change will break existing scripts after updating to the new version. Use the --help
output to find out which option goes where on the command line.
- Fixed a bug where Polyglot would bail out if the specified output file didn't already exist.
- Added support for protobuf's well-known-types, including proper handling of "Any".
- Made sure exit code 1 is returned if command line arguments fail to parse or the rpc fails.
- Fixed a bug where Polyglot would error out if the remote server didn't support reflection.
- Added support for grpc server reflection.
- Added support for custom metadata.
- Upgraded the protoc version used to compile files to 3.2.0.
- Upgraded to grpc 1.4.0.
- Added support for client certificates to TLS.
- Upgraded to grpc 1.0.0.
- Removed the separate per-platform binaries, the same binary can now be used on all platforms.
- Added a new command, called
list
as well as a documentation section in the README. The default command iscall
, which makes an rpc call to a remote endpoint. - Added support for rpcs which contain multiple requests (
client_streaming
andbidi_streaming
). - Response messages are now printed to
stdout
rather than the logs. This makes piping the results to files easier. - The
--help
output now no longer contains a stack trace.
- Initial release.