The best way of working with Protocol Buffers.
APACHE-2.0 License
Bot releases are hidden (Show)
Published by bufdev about 3 years ago
-c
on git
parent command instead of --config
on git fetch
.ruby_package
to managed mode.Published by bufdev about 3 years ago
buf export
. buf export
will export the files from the specified input (default "."
) to the given directory in a manner that is buildable by protoc
without any -I
flags. It also has options --exclude-imports
, which excludes imports (and won't result in a buildable set of files), and --path
, which filters to the specific paths.Published by bufdev about 3 years ago
git init && git fetch
rather than git clone
. git clone
is limited to local branches on the remote, whereas git fetch
we can fetch any references on the remote including remote branches.php_namespace
managed mode handling.java_string_check_utf8
managed mode handling.Published by bufdev about 3 years ago
buf login
and buf logout
to login and logout from the Buf Schema Registry.buf
largely works on Windows.Published by bufdev about 3 years ago
buf.mod
to buf.yaml
. Note that both continue to work.buf.work
to buf.work.yaml
. Note that both continue to work.buf beta push
to buf push
. Note that buf beta push
continues to work.buf beta mod
commands to buf mod
. Note that all buf beta mod
commands continue to work.--only
flag to buf mod update
.buf.yaml
contains dependencies that are not represented in the buf.lock
file.--version
flag to buf config ls-{breaking,lint}-rules
.SYNTAX_SPECIFIED
lint rule to BASIC, DEFAULT
categories for v1 configuration.IMPORT_USED
lint rule to BASIC, DEFAULT
categories for v1 configuration.objc_class_prefix
, csharp_namespace
.Published by bufdev over 3 years ago
buf protoc -I
by a directory separator.protoc
plugins when using buf generate
or buf protoc
. Note that Windows remains officially unsupported as we have not set up testing, but largely works.protoc
3.17.3 support.buf.yaml
to buf.mod
. Note that buf.yaml
continues to work.v1
configuration specification.v1
configuration specification.v1
module configuration specification in beta - please continue to use v1beta1
until the v1
configuration specification is rolled out.buf config migrate-v1beta1
.Published by bufdev over 3 years ago
Published by bufdev over 3 years ago
protoc
namespace resolution diff change.Published by bufdev over 3 years ago
buf:lint:ignore
directives as valid comments for the COMMENT_.*
lint rules.protoc
3.17.1 support.protoc
.Published by bufdev over 3 years ago
arm64
to aarch64
to match the output of uname -m
on Linux.Published by bufdev over 3 years ago
Published by amckinney over 3 years ago
MESSAGE_SAME_REQUIRED_FIELDS
breaking change rule. This checks to make sure no required
fields are added or deleted from existing messages.FileAnnotation
errors.Published by amckinney over 3 years ago
buf beta registry tag {create,list}
commands.push
via buf beta push -t
.buf lint
and buf breaking
.Published by bufdev over 3 years ago
Published by johanbrandhorst over 3 years ago
buf beta push
doesn't create a new commit if the content of the push is the same as the latest commit on the branch.buf protoc
would error if a plugin returned an empty error string.Published by bufdev over 3 years ago
protoc
version for compatibility to 3.15.2. The --experimental_allow_proto3_optional
flag is no longer set for versions >=3.15.go_package
values for the Well-Known Types now point at google.golang.org/protobuf instead of github.com/golang/protobuf.Published by bufdev over 3 years ago
Published by bufdev over 3 years ago
Published by amckinney almost 4 years ago
Allows comment ignores of the form // buf:lint:ignore ID
to be cascaded upwards for specific rules.
ENUM_VALUE_PREFIX, ENUM_VALUE_UPPER_SNAKE_CASE
, both the enum value and the enum are checked.FIELD_LOWER_SNAKE_CASE, FIELD_NO_DESCRIPTOR
, both the field and message are checked.ONEOF_LOWER_SNAKE_CASE
, both the oneof and message are checked.RPC_NO_CLIENT_STREAMING, RPC_NO_SERVER_STREAMING, RPC_PASCAL_CASE, RPC_REQUEST_RESPONSE_UNIQUE
, both the method and service are checked.RPC_REQUEST_STANDARD_NAME, RPC_RESPONSE_STANDARD_NAME
, the input/output type, method, and service are checked.Published by johanbrandhorst almost 4 years ago