buf

The best way of working with Protocol Buffers.

APACHE-2.0 License

Downloads
1.6M
Stars
8.3K
Committers
76

Bot releases are hidden (Show)

buf - v0.20.4

Published by bufdev about 4 years ago

  • Fix issue where custom message options that had an unset map field could cause a parser failure.
buf - v0.20.3

Published by bufdev over 4 years ago

  • Fix issue where parameters passed with --.*_opt to buf protoc for builtin plugins were not properly propagated.
buf - v0.20.2

Published by bufdev over 4 years ago

  • Fix issue where roots containing non-proto files with the same path would cause an error.
buf - v0.20.1

Published by bufdev over 4 years ago

  • Fix issue where Zsh completion would fail due to some flags having brackets in their description.
  • Fix issue where non-builtin protoc plugin invocations would not have errors properly propagated.
  • Fix issue where multiple --.*_opt flags, --.*_opt flags with commas, or --.*_out flags with options that contained commas, would not be properly added.
buf - v0.20.0

Published by bufdev over 4 years ago

  • Add --by-dir flag to buf protoc that parallelizes generation per directory, resulting in a 25-75% reduction in the time taken to generate stubs for medium to large file sets.
  • Properly clean up temporary files and commands on interrupts.
  • Fix issue where certain files that started with invalid Protobuf would cause the parser to crash.
buf - v0.19.1

Published by bufdev over 4 years ago

  • Fix issue where stderr was not being propagated for protoc plugins in CLI mode.
buf - v0.19.0

Published by bufdev over 4 years ago

  • Add protoc command. This is a substitute for protoc that uses Buf's internal compiler.
  • Add ENUM_FIRST_VALUE_ZERO lint checker to the OTHER category.
  • Add support for the Visual Studio error format.
buf - v0.18.1

Published by bufdev over 4 years ago

  • Fix issue where linking errors for custom options that had a message type were not properly reported (#93)
buf - v0.18.0

Published by bufdev over 4 years ago

  • Handle custom options when marshalling JSON Images (#87).
  • Add buf experimental image convert command to convert to/from binary/JSON Images (#87).
buf - v0.17.0

Published by johanbrandhorst over 4 years ago

  • Add git ref support to allow specifying arbitrary git references as inputs (https://github.com/bufbuild/buf/issues/48). This allows you to do i.e. buf check lint --input https://github.com/bufbuild/buf.git#ref=fa74aa9c4161304dfa83db4abc4a0effe886d253.
  • Add depth input option when specifying git inputs with ref. This allows the user to configure the depth at which to clone the repository when looking for the ref. If specifying a ref, this defaults to 50. Otherwise, this defaults to 1.
  • Remove requirement for git branch or tag in inputs. This allows you to do i.e. buf check lint --input https://github.com/bufbuild/buf.git and it will automatically choose the default branch as an input.
buf - v0.16.0

Published by bufdev over 4 years ago

buf - v0.15.0

Published by bufdev over 4 years ago

  • Add opt-in comment-driven lint ignores via the allow_comment_ignores lint configuration option and buf:lint:ignore ID leading comment annotation (#73).
buf - v0.14.0

Published by bufdev over 4 years ago

  • Add --file flag to buf image build to only add specific files and their imports to outputted Images. To exclude imports, use --exclude-imports.
  • Add zip as a source format. Buf can now read zip files, either locally or remotely, for image building, linting, and breaking change detection.
  • Add zstd as a compression format. Buf can now read and write Image files that are compressed using zstandard, and can read tarballs compressed with zstandard.
  • Deprecated: The formats bingz, jsongz, targz are now deprecated. Instead, use format=bin,compression=gzip, format=json,compression=gzip, or format=tar,compression=gzip. The formats bingz, jsongz, targz will continue to work forever and will not be broken, but will print a deprecation warning and we recommend updating. Automatic file extension parsing continues to work the same as well.
buf - v0.13.0

Published by bufdev over 4 years ago

  • Use the git binary instead of go-git for internal clones. This also enables using your system git credential management for git repositories cloned using https or ssh. See https://buf.build/docs/inputs#authentication for more details.
buf - v0.12.1

Published by bufdev over 4 years ago

  • Fix issue where roots were detected as overlapping if one root's name was a prefix of the other.
buf - v0.12.0

Published by bufdev over 4 years ago

  • Add netrc support for inputs.
  • Fix issue where filenames that contained .. resulted in an error.
  • Internal: migrate to golang/protobuf v2.
buf - v0.11.0

Published by bufdev over 4 years ago

  • Add experimental flag --experimental-git-clone to use the git binary for git clones.
buf - v0.10.0

Published by bufdev over 4 years ago

  • Add recurse_submodules option for git inputs.
    Example: https://github.com/foo/bar.git#branch=master,recurse_submodules=true
buf - v0.9.0

Published by bufdev over 4 years ago

  • Fix issue where the option value ordering on an outputted Image was non-deterministic.
  • Fix issue where the SourceCodeInfo for the Well-Known Types was not included on an outputted Image when requested.
buf - v0.8.0

Published by bufdev over 4 years ago

  • Update dependencies.