Releases: bufbuild/buf
Releases · bufbuild/buf
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.
v1.26.1
- Fix issue where
buf build -o
did not properly output files with the.txtpb
extension in Protobuf text format.
v1.26.0
- Add support for the
--http2-prior-knowledge
flag when runningbuf 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.
v1.25.1
- Fix issue where all files were being iterated over when using the
--path
flag. - Fix issue where the directory
.
was incorrectly accepted as a value for thedirectories
key inbuf.work.yaml
.
v1.25.0
- Add
txtpb
format to handle the Protobuf text format. and automatically recognize.txtpb
files as Protobuf text files. Thetxtpb
format can now be used with allbuf
commands that take images as input or output, such asbuild
,convert
, andcurl
.