Releases: bufbuild/buf
v1.32.0-beta.1
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!
v1.31.0
v1.30.1
- Fix issue where
buf lint
incorrectly reports an error for(buf.validate.field).repeated
is set for a repeated validation rule.
v1.30.0
- Update
buf generate
so it populates the recently-addedsource_file_descriptors
field of theCodeGeneratorRequest
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 theproto_file
field will not include any options configured this way for the files named infile_to_generate
field. - Add
--exclude-source-retention-options
flag tobuf build
, which causes options configured to only be retained in source to be stripped from the output descriptors.
v1.29.0
- Add support for
yaml
format. All commands that take image inputs, output images, or convert between message formats, now takeyaml
as a format, in addition to the existingbinpb
andtxtpb
formats. Some examples:buf build -o image.yaml
buf ls-files image.yaml
buf convert --type foo.Bar --from input.binpb --to output.yaml
- The
yaml
andjson
formats now accept two new options:use_proto_names
anduse_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
- Fix issue where
buf format
would inadvertently mangle files that used the expandedAny
syntax in option values.
v1.28.1
- The
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 ingoogle.protobuf.Any
messages that are not defined in the same schema that defines the RPC service. - Fix issue where
buf lint
incorrectly reports error when(buf.validate.field).required
is set for an optional field in proto3.
v1.28.0
- Add lint rules for protovalidate.
buf lint
will now verify that your protovalidate rules are valid. A single rulePROTOVALIDATE
has been added to theDEFAULT
group - given that protovalidate is net new, this does not represent a breaking change. - Update
buf beta price
with the latest pricing information. - Display a warning when reading a
buf.lock
with dependencies with b1 or b3 digests. b1 and b3 digests will be deprecated in a future version. Runbuf mod update
to update dependency digests.
v1.27.2
v1.27.1
- Fix issue in v1.27.0 where
--path
did not work with workspaces under certain scenarios.
v1.27.0
- Fix issue where
buf generate --exclude-path
was not properly excluding paths for remote modules. - Fix issue where
buf curl
had a user agent that did not properly place the extension as a suffix. - Update
buf beta price
with the latest pricing information.