The best way of working with Protocol Buffers.
APACHE-2.0 License
Bot releases are visible (Hide)
Published by buf-release-bot[bot] over 1 year ago
--create
flag to buf push
to create a repository if it does not exist. The user is also required to specify the visibility using --create-visibility
.github-actions
error format to print errors in a form parseable by GitHub Actions.buf build
and buf generate
where the use of type filtering (via --type
flags) would cause the resulting image to have no source code info, even when --exclude-source-info
was not specified. The main impact of the bug was that generated code would be missing comments.buf curl
when using --user
or --netrc
that would cause a malformed Authorization header to be sent.buf mod --clear-cache
once after upgrading to remove data stored in the previous module cache.Published by buf-release-bot[bot] over 1 year ago
buf beta registry {plugin,template} {deprecate,undeprecate}
.--user
and --netrc
flags to buf curl
, providing the same behavior as the flags of the same name in the cURL tool.DocumentationPath
in the module on buf push
.README.md
and README.markdown
, for module documentation. The default source for module documentation is buf.md
. If buf.md
is missing, README.md
or README.markdown
is used as fallback sources.Published by buf-release-bot[bot] over 1 year ago
buf beta stats
command to print statistics about a given source or module.buf beta price
with the latest pricing information.Published by buf-release-bot[bot] over 1 year ago
buf beta price
command to help users of the BSR figure out how much a module will cost to store on the BSR under the Teams or Pro plans.protoc-gen-buf-lint
that prevented it from reporting lint errors for unused imports.buf format
where indents would be produced on certain empty lines.buf alpha registry token create
command. Tokens must be created through the BSR UI.BUF_ALPHA_ENABLE_WASM
environment variable. This feature is under evaluation, and may change at any time. If you are interested in WASM Protobuf plugins, reach out to us.Published by buf-release-bot[bot] over 1 year ago
buf generate
with v1beta1
config files.--type
flag with buf build
or buf generate
.Published by buf-release-bot[bot] over 1 year ago
buf format
where C-style block comments in which every line includes a prefix (usually "*") would be incorrectly indented.--private-network
flag to buf beta studio-agent
to support handling CORS requests from Studio on private networks that set the Access-Control-Request-Private-Network
header.Published by elliotmjackson over 1 year ago
buf generate --include-types
with buf generate --type
for consistency. --include-types
is now deprecated but continues to work, consistent with our compability guarantee.google.protobuf.Any
messages in option values when filtering on type, e.g. with buf build --type
or buf generate --type
.protoc
path in buf.gen.yaml
when using protoc
's built-in plugins via the new protoc_path
option.buf.gen.yaml
. You can now do e.g. path: ["go, "run", ./cmd/protoc-gen-foo]
in addition to path: protoc-gen-foo
.buf mod init
, e.g. buf mod init buf.build/owner/foobar
.php_metadata_namespace
file option in managed mode.Published by buf-release-bot[bot] over 1 year ago
buf generate
when remote plugins from multiple BSR instances are being used at once.Published by buf-release-bot[bot] over 1 year ago
BUF_TOKEN
environment variable to accept tokens for multipleTOKEN
and TOKEN1@BSRHOSTNAME1,TOKEN2@BSRHOSTNAME2,...
BUF_TOKEN
.buf beta convert
in favor of the now-stable buf convert
.Published by buf-release-bot[bot] almost 2 years ago
buf curl
command to invoke RPCs via Connect, gRPC, or gRPC-Web
objc_class_prefix
option in managed mode, allowing a default
value for objc_class_prefix
for all files, except
and override
, which both behave similarly to other except
and override
options. Specifying an empty default
value is equivalent to having managed mode on in previous versions.ruby_package
option in managed mode, allowing except
and override
, in the same style as objc_class_prefix
. Leaving ruby_package
unspecified has the same effect as having mananged mode enabled in previous versions.Published by buf-release-bot[bot] almost 2 years ago
buf generate
now batches remote plugin generation calls for improved performance.optimize_for
option in managed mode, allowing a default
value for optimize_for
for all files, except
and override
, which both behave similarly to other except
and override
options. Specifying an optimize_for
value in the earlier versions is equivalent to having a optimize_for
with that value as default.Published by elliotmjackson almost 2 years ago
enabled: false
now no longer fails buf generate
and instead prints a warning log and ignores managed mode options.csharp_namespace
option to managed mode, allowing except
, which excludes modules from managed mode, and override
, which specifies csharp_namespace
values per module, overriding the default value. By default, when managed mode is enabled, csharp_namespace
is set to the package name with each package sub-name capitalized.buf convert
to stable, keep buf beta convert
aliased in the beta command.Types
filter to buf generate
command to specify types (message, enum, service) that should be included in the image. When specified, the resulting image will only include descriptors to describe the requested types.Published by jhump about 2 years ago
LICENSE
file in the module on buf push
.buf beta convert
flags have changed from --input
to --from
and --output
/-o
to --to
input
argument and --type
flag separatelyPublished by njhale about 2 years ago
--origin
flag of buf beta studio-agent
to https://studio.buf.build
--timeout
flag of buf beta studio-agent
to 0
(no timeout). Before it was 2m
(the default for all the other buf
commands).plugin:
key in buf.gen.yaml
.buf format
.junit
format errors with --error-format
.Published by doriable about 2 years ago
--draft
flag to buf push
.buf beta registry draft {list,delete}
commands.Published by doriable over 2 years ago
// buf:lint:ignore
comment ignores did not work for the ENUM_FIRST_VALUE_ZERO
rule.buf beta studio-agent
command to support the upcoming Buf Studio.Published by doriable over 2 years ago
protoc
3.20.1 support.buf
would fail if two or more roots contained a file with the same name, but with different file types (i.e. a regular file vs. a directory).PACKAGE_SERVICE_NO_DELETE
to detect deleted services.buf beta registry track
.buf beta registry branch
.Published by doriable over 2 years ago
buf beta registry repository update
command which supports updating repository visibility (public vs private). As with all beta commands, this is likely to change in the future.Published by amckinney over 2 years ago
--config
flag to be set when targeting a module within a workspace.buf format
's file option order so that default file options are sorted before custom options.buf format
to write adjacent string literals across multiple lines.buf format
so that the output directory (if any) is created if and only if the input is successfully formatted.Published by doriable over 2 years ago
--exit code
flag to buf format
to exit with a non-zero exit code if the files were not already formatted.