Releases: bufbuild/buf
Releases · bufbuild/buf
v0.37.0
- Add commands for the Buf Schema Registry. Visit our website to add yourself to the waitlist.
v0.36.0
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
v0.35.0
- Allow
opt
inbuf.gen.yaml
files to be either a single string, or a list of strings. Both of the following forms are accepted, and result infoo=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
- Move
buf check lint
tobuf lint
. - Move
buf check breaking
tobuf breaking
. - Move
buf check ls-lint-checkers
tobuf config ls-lint-rules
. - Move
buf check ls-breaking-checkers
tobuf config ls-breaking-rules
. - Move
protoc-gen-buf-check-lint
toprotoc-gen-buf-lint
. - Move
protoc-gen-buf-check-breaking
toprotoc-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
- Add
strategy
option tobuf.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
v0.32.0
- 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 runningbuf 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 byENUM_VALUE_SAME_NAME
. See the documentation for more details.
v0.31.1
v0.31.0
- 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 examplebuf generate --path proto/foo
to only generate stubs for the files underproto/foo
. Note that the--file
flag continues to work, but prints a deprecation message.