- 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.