The best way of working with Protocol Buffers.
APACHE-2.0 License
Bot releases are visible (Hide)
This is the first beta release of the next generation of the Buf CLI. This beta release is being used by some of our customers to ensure we've kept compatibility, and to try some of its new features. Don't worry - the next generation of the buf
CLI continues to be v1
, and is completely backwards-compatible - all of your workflows will continue to work. Buf is enterprise-grade software, and we want you to be minimally impacted.
There's some exciting improvements coming in the next generation of the buf
CLI, and we look forward to sharing it more widely in the coming weeks. If you'd like to be part of the private beta, email us with the subject line "Beta" and we'll be happy to talk - we'll add more users as we have capacity. While you are free to give this beta release a spin without being added to our private beta, we wouldn't recommend using it outside of our private beta just yet!
Published by buf-release-bot[bot] 6 months ago
Published by buf-release-bot[bot] 7 months ago
buf lint
incorrectly reports an error for (buf.validate.field).repeated
Published by buf-release-bot[bot] 8 months ago
buf generate
so it populates the recently-added source_file_descriptors
field of the CodeGeneratorRequest
message. This provides the plugin with access to options that are configured to only be retained in source and not at runtime (via field option). Descriptors in the proto_file
field will not include any options configured this way for the files named in file_to_generate
field.--exclude-source-retention-options
flag to buf build
, which causes options configured to only be retained in source to be stripped from the output descriptors.Published by buf-release-bot[bot] 9 months ago
yaml
format. All commands that take image inputs, output images, or convert between message formats, now take yaml
as a format, in addition to the existing binpb
and txtpb
formats. Some examples:
buf build -o image.yaml
buf ls-files image.yaml
buf convert --type foo.Bar --from input.binpb --to output.yaml
yaml
and json
formats now accept two new options: use_proto_names
and use_enum_numbers
. This affects output serialization. Some examples:
buf convert --type foo.Bar --from input.binpb --to output.yaml#use_proto_names=true
buf convert --type foo.Bar --from input.binpb --to -#format=yaml,use_enum_numbers=true
buf format
would inadvertently mangle files that used the expanded Any
syntax in option values.Published by buf-release-bot[bot] 11 months ago
buf curl
command has been updated to support the use of multiple schemas. This allows users to specify multiple --schema
flags and/or to use both --schema
and --reflect
flags at the same time. The result is that additional sources can be consulted to resolve an element. This can be useful when the result of an RPC contains extensions or values in google.protobuf.Any
messages that are not defined in the same schema that defines the RPC service.buf lint
incorrectly reports error when (buf.validate.field).required
is set for an optional field in proto3.Published by buf-release-bot[bot] 11 months ago
buf lint
will now verify that your protovalidate rules are valid. A single rule PROTOVALIDATE
has been added to the DEFAULT
group - given that protovalidate is net new, this does not represent a breaking change.buf beta price
with the latest pricing information.buf.lock
with dependencies with b1 or b3 digests. b1 and b3 digests will be deprecated in a future version. Run buf mod update
to update dependency digests.Published by doriable 12 months ago
buf build
and other commands may fail when handling certainPublished by saquibmian about 1 year ago
--path
did not work with workspaces under certain scenarios.Published by buf-release-bot[bot] about 1 year ago
buf generate --exclude-path
was not properly excluding pathsbuf curl
had a user agent that did not properly place thebuf beta price
with the latest pricing information.Published by buf-release-bot[bot] about 1 year ago
buf build -o
did not properly output files with the .txtpb
Published by buf-release-bot[bot] about 1 year ago
--http2-prior-knowledge
flag when running buf curl
against secure "https" URLs. This can be used with gRPC servers, that only support HTTP/2, when used with a network (layer 4) load balancer, that does not support protocol negotiation in TLS handshake.Published by buf-release-bot[bot] about 1 year ago
--path
flag..
was incorrectly accepted as a value for the directories
key in buf.work.yaml
.Published by buf-release-bot[bot] over 1 year ago
txtpb
format to handle the Protobuf text format. and automatically recognize .txtpb
files as Protobuf text files. The txtpb
format can now be used with all buf
commands that take images as input or output, such as build
, convert
, and curl
.Published by buf-release-bot[bot] over 1 year ago
buf mod update
to block updates that will result in conflicting .proto
files across dependencies.bin
format with binpb
format, and support the .binpb
file extension. .binpb
is now the canonical file extension for binary-encoded Protobuf data. The bin
format and the .bin
file extension continue to be accepted.go
subdomain in .netrc
. This was used as part of the remote generation alpha, which has been fully deprecated in favor of remote plugins and remote packages. See buf.build/blog/remote-packages-remote-plugins-approaching-v1 for more details.buf beta price
with the latest pricing information.Published by buf-release-bot[bot] over 1 year ago
buf beta graph
would not print modules within a workspace that had no dependencies or dependents.buf beta graph
would print warnings for missing dependencies that were actually present.Published by buf-release-bot[bot] over 1 year ago
buf beta graph
to print the dependency graph for a module in DOT format.Published by buf-release-bot[bot] over 1 year ago
--origin
flag of buf beta studio-agent
to https://buf.build
Published by buf-release-bot[bot] over 1 year ago
buf beta registry template
.buf beta registry plugin {create,deprecate,list,undeprecate,version}
and replace with buf beta registry plugin {push,delete}
.buf beta price
with the latest pricing information.Published by buf-release-bot[bot] over 1 year ago
--emit-defaults
flag to buf curl
to emit default values in JSON-encoded responses.buf curl
by default.