Skip to content
This repository has been archived by the owner on Mar 4, 2022. It is now read-only.

v0.5.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@bufdev bufdev released this 26 Jul 07:09
· 268 commits to dev since this release

Added

  • A linter to verify that no enum uses the option allow_alias.
  • The --protoc-url flag can now handle references to local protoc zip files
    as well as normal http references by handling urls of the form
    file:///path/to/protoc.zip.

Changed

  • The formatter now prints primitive field options on the same line
    as the field.
  • The commands binary-to-json, clean, descriptor-proto, download,
    field-descriptor-proto, json-to-binary, list-all-linters,
    list-all-lint-groups, list-linters, list-lint-group, and
    service-descriptor-proto are deleted to reduce the surface area
    for the v1.0 release.
  • The commands list-all-linters and list-linters are now flags
    on the lint command.
  • The flags --cache-path and --print-fields are deleted to reduce the
    surface area for the v1.0 release.
  • The option lint.group in the prototool.yaml configuration is deleted
    to reduce the surface area for the v1.0 release.
  • The command protoc-commands is now accessible via the --dry-run
    flag on the commands compile and gen.
  • The grpc command now takes the flags --address, --method, and --data
    or --stdin as opposed to parsing these from variable-length command args.
  • If more than one prototool.yaml is found for the input directory or files,
    an error is returned.
  • The prototool binary package is moved under internal.