Releases: bufbuild/buf
Releases · bufbuild/buf
v1.17.0
- Fix issue with JSON marshalling of errors where line and column fields were omitted when line and column information was empty.
- Fix issue with MSVS marshalling of errors where the column could be 0.
- Add
buf beta stats
command to print statistics about a given source or module. - Update
buf beta price
with the latest pricing information.
v1.16.0
- Add
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. - Fix an issue in
protoc-gen-buf-lint
that prevented it from reporting lint errors for unused imports. - Fix an issue with
buf format
where indents would be produced on certain empty lines. - Remove
buf alpha registry token create
command. Tokens must be created through the BSR UI. - Add local WASM plugin support in alpha, gated by the
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.
v1.15.1
- Fix a bug in
buf generate
withv1beta1
config files. - Fix a potential crash when using the
--type
flag withbuf build
orbuf generate
.
v1.15.0
- Update built-in Well-Known Types to Protobuf v22.0.
- Fixes a bug in
buf format
where C-style block comments in which every line includes a prefix (usually "*") would be incorrectly indented. - Add
--private-network
flag tobuf beta studio-agent
to support handling CORS requests from Studio on private networks that set theAccess-Control-Request-Private-Network
header.
v1.14.0
- Replace
buf generate --include-types
withbuf generate --type
for consistency.--include-types
is now deprecated but continues to work, consistent with our compability guarantee. - Include type references in
google.protobuf.Any
messages in option values when filtering on type, e.g. withbuf build --type
orbuf generate --type
. - Allow specifying a specific
protoc
path inbuf.gen.yaml
when usingprotoc
's built-in plugins via the newprotoc_path
option. - Allow specifying arguments for local plugins in
buf.gen.yaml
. You can now do e.g.path: ["go, "run", ./cmd/protoc-gen-foo]
in addition topath: protoc-gen-foo
. - Add optional name parameter to
buf mod init
, e.g.buf mod init buf.build/owner/foobar
. - Fix issue with
php_metadata_namespace
file option in managed mode. - Make all help documentation much clearer. If you notice any inconsistencies, let us know.
v1.13.1
- Fix race condition with
buf generate
when remote plugins from multiple BSR instances are being used at once.
v1.13.0
- Extend the
BUF_TOKEN
environment variable to accept tokens for multiple
BSR instances. BothTOKEN
andTOKEN1@BSRHOSTNAME1,TOKEN2@BSRHOSTNAME2,...
are now valid values forBUF_TOKEN
. - Remove
buf beta convert
in favor of the now-stablebuf convert
.
v1.12.0
- Add
buf curl
command to invoke RPCs via Connect, gRPC, or gRPC-Web - Introduce
objc_class_prefix
option in managed mode, allowing adefault
value forobjc_class_prefix
for all files,except
andoverride
, which both behave similarly to otherexcept
andoverride
options. Specifying an emptydefault
value is equivalent to having managed mode on in previous versions. - Introduce
ruby_package
option in managed mode, allowingexcept
andoverride
, in the same style asobjc_class_prefix
. Leavingruby_package
unspecified has the same effect as having mananged mode enabled in previous versions.
v1.11.0
buf generate
now batches remote plugin generation calls for improved performance.- Update
optimize_for
option in managed mode, allowing adefault
value foroptimize_for
for all files,except
andoverride
, which both behave similarly to otherexcept
andoverride
options. Specifying anoptimize_for
value in the earlier versions is equivalent to having aoptimize_for
with that value as default.
v1.10.0
- When using managed mode, setting
enabled: false
now no longer failsbuf generate
and instead prints a warning log and ignores managed mode options. - Add
csharp_namespace
option to managed mode, allowingexcept
, which excludes modules from managed mode, andoverride
, which specifiescsharp_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. - Promote
buf convert
to stable, keepbuf beta convert
aliased in the beta command. - Add
Types
filter tobuf 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.