Skip to content

Releases: bufbuild/buf

v0.37.0

09 Feb 19:23
Compare
Choose a tag to compare
v0.37.0 Pre-release
Pre-release
  • Add commands for the Buf Schema Registry. Visit our website to add yourself to the waitlist.

v0.36.0

18 Jan 20:40
Compare
Choose a tag to compare
v0.36.0 Pre-release
Pre-release

Allows comment ignores of the form // buf:lint:ignore ID to be cascaded upwards for specific rules.

  • For ENUM_VALUE_PREFIX, ENUM_VALUE_UPPER_SNAKE_CASE, both the enum value and the enum are checked.
  • For FIELD_LOWER_SNAKE_CASE, FIELD_NO_DESCRIPTOR, both the field and message are checked.
  • For ONEOF_LOWER_SNAKE_CASE, both the oneof and message are checked.
  • For RPC_NO_CLIENT_STREAMING, RPC_NO_SERVER_STREAMING, RPC_PASCAL_CASE, RPC_REQUEST_RESPONSE_UNIQUE, both the method and service are checked.
  • For RPC_REQUEST_STANDARD_NAME, RPC_RESPONSE_STANDARD_NAME, the input/output type, method, and service are checked.

v0.35.1

08 Jan 13:08
Compare
Choose a tag to compare
v0.35.1 Pre-release
Pre-release
  • Fix error when unmarshalling plugin configuration with no options (#236)

v0.35.0

07 Jan 19:42
Compare
Choose a tag to compare
v0.35.0 Pre-release
Pre-release
  • Allow opt in buf.gen.yaml files to be either a single string, or a list of strings. Both of the following forms are accepted, and result in foo=bar,baz,bat:
version: v1beta1
plugins:
  - name: foo
    out: out
    opt: foo=bar,baz,bat
version: v1beta1
plugins:
  - name: foo
    out: out
    opt:
      - foo=bar
      - baz
      - bat

v0.34.0

04 Jan 23:31
Compare
Choose a tag to compare
v0.34.0 Pre-release
Pre-release
  • Move buf check lint to buf lint.
  • Move buf check breaking to buf breaking.
  • Move buf check ls-lint-checkers to buf config ls-lint-rules.
  • Move buf check ls-breaking-checkers to buf config ls-breaking-rules.
  • Move protoc-gen-buf-check-lint to protoc-gen-buf-lint.
  • Move protoc-gen-buf-check-breaking to protoc-gen-buf-breaking.
  • Add buf beta config init.

All previous commands continue to work in a backwards-compatible manner, and the previous protoc-gen-buf-check-lint and protoc-gen-buf-check-breaking binaries continue to be available at the same paths, however deprecation messages are printed.

v0.33.0

12 Dec 16:20
Compare
Choose a tag to compare
v0.33.0 Pre-release
Pre-release
  • Add strategy option to buf.gen.yaml generation configuration. This allows selecting either plugin invocations with files on a per-directory basis, or plugin invocations with all files at once. See the generation documentation for more details.

v0.32.1

10 Dec 21:20
Compare
Choose a tag to compare
v0.32.1 Pre-release
Pre-release
  • Fix issue where SourceCodeInfo for map fields within nested messages could be dropped.
  • Fix issue where deleted files would cause a panic when breaking.ignore_unstable_packages = true.

v0.32.0

24 Nov 18:16
Compare
Choose a tag to compare
v0.32.0 Pre-release
Pre-release
  • Add symlink support for directory inputs. Symlinks will now be followed within your local directories when running buf commands.
  • Add the breaking.ignore_unstable_packages option to allow ignoring of unstable packages when running buf check breaking. See the documentation for more details.
  • Enums that use the allow_alias option that add new aliases to a given number will no longer be considered breaking by ENUM_VALUE_SAME_NAME. See the documentation for more details.

v0.31.1

17 Nov 22:33
Compare
Choose a tag to compare
v0.31.1 Pre-release
Pre-release
  • Fix issue where --experimental_allow_proto3_optional was not set when proxying to protoc for the builtin plugins via buf generate or buf protoc. This flag is now set for protoc versions >= 3.12.

v0.31.0

16 Nov 19:55
efb3207
Compare
Choose a tag to compare
v0.31.0 Pre-release
Pre-release
  • Change the --file flag to --path and allow --path to take both files and directories, instead of just files with the old --file. This flag is used to filter the actual Protobuf files built under an input for most commands. You can now do for example buf generate --path proto/foo to only generate stubs for the files under proto/foo. Note that the --file flag continues to work, but prints a deprecation message.