Repository navigation
Releases: bufbuild/buf
Releases · bufbuild/buf
Release list
v1.75.0
- Fix
buf builddroppingmessage_set_wire_format,weakfield options, and MessageSet
extensions, and truncating MessageSet extension ranges, when a file has an unused import. - Fix LSP crash when hovering on a CEL string literal containing a byte that is not valid UTF-8,
such as'\x95'in a protovalidate rule. - Add
BUF_DEBUG,BUF_LOG_FORMAT, andBUF_TIMEOUTenvironment variables as defaults for the
--debug,--log-format, and--timeoutglobal flags. Flags take precedence when set. - Add support to images for option dependencies declared with the
import optionsyntax in
edition 2024 and later. - Add support for Protobuf edition 2026.
- Update built-in Well-Known Types to Protobuf v36.2.
- Update managed mode to skip
cc_enable_arenasfor edition 2026 files, where the option was
removed. - Fix
buf convertandbuf curlignoring the(pb.enumvalue.json).stringoption for enum
value JSON names.
v1.74.0
- Improve the performance of the
PROTOVALIDATElint rule, which is now up to 3x faster
and allocates less memory on modules usingcelrules orexamplevalues. - Send the module name of each file to check plugins, which is available as
FileDescriptor.ModuleName()in bufplugin-go v0.11.0 and later. - Update
buf curlto automatically use HTTP/2 prior knowledge forhttpURLs when server
reflection, the gRPC protocol, or a bidirectional streaming method is used, since all of these
require HTTP/2. The--http2-prior-knowledgeflag is no longer required in these cases. - Add
--stdin-filepathflag tobuf format, which reads a single.protofile from
stdin and writes the formatted result to stdout. The path is not read from disk, and is
only used to report parse errors and diffs. - Fix
buf convertpanic when converting images that contain files without asyntax
declaration or with unused imports. - Fix
buf generatewithstrategy: directoryandinclude_imports: trueadding imports
to theCodeGeneratorRequestof the directory that imports them. Imports are now split
by directory into their own requests, the same as non-imports. - Fix configuration files silently accepting unquoted values that start with
!, such as
ignore: [!foo/bar.proto]. Previously they parsed as empty strings, now they rejected
with an error. - Fix lint comment ignores on proto2
groupfields being ignored. - Update the LSP to support named generation templates such as
buf.go.gen.yamland
buf.gen.go.yaml. - Improve the
buf curlerror message for methods that accept a single request message. - Add
--configflag tobuf lsp serveto use abuf.yamlfile or data in place of
discoveringbuf.yamlfiles. Workspaces are resolved from the editor's root folder. - Deduplicate remote input fetches within a single command invocation, so that multiple
inputsin abuf.gen.yamlthat resolve to the same archive, git repository, or image
are fetched once instead of once per input. - Fix intermittent concurrent map write crash when compiling Editions files.
- Fix Edition 2024 handling of enum value features,
STRICTdefault symbol visibility, and
source locations ofexport/localtypes.
v1.73.0
- Fix
buf formatdropping comments next to commas or semicolons in message literals. - Fix compilation failing to resolve symbols re-exported through
import publicwhen the
re-exporting file also reaches those symbols through a non-public import. - Fix LSP go to definition not resolving across files inside dependency and well-known-type
files, and release workspaces when their last open file closes to free resources. - Fix LSP finding only a subset of references to symbols declared in
dependencies, including well-known types. - Fix
buf formatnon-idempotent trailing comment formatting. - Update built-in Well-Known Types to Protobuf v35.1.
- Fix managed mode setting
java_multiple_fileson Edition 2024 files, which is not
allowed and causes code generation to fail.
v1.72.0
- Fix
buf beta registry webhook createandbuf beta registry webhook listto emit proto JSON output. - Fix HTTPS Basic authentication for remote inputs to use
BUF_INPUT_HTTPS_USERNAMEfor the username. - Fix
IMPORT_USEDlint rule silently reporting no unused imports whengoogle/protobuf/descriptor.protois in the transitive dependency graph.
v1.71.0
- Port new formatter and fix bugs for in-line block comment spacing.
- Fix handling for an empty rpc input/output.
v1.70.0
- Add LSP completion for
buf.gen.yaml,buf.yaml, andbuf.policy.yamlfiles. - Fix LSP
textDocument/documentSymbolmarking every symbol as deprecated. - Add error for when a dependency is added to
buf.yamland is missing frombuf.lock. - Update the
PROTOVALIDATElint rule support checkingNaNinconst,in,not_in,gt,gte,ltandlterules forfloatanddoublefields. - Update the
PROTOVALIDATElint rule support to check(buf.validate.message).oneofrules and make sure they are well-formed and valid.
v1.69.0
- Increase check plugin WASM memory limits to 1GiB.
- Fix LSP stale diagnostics persisting after a file is closed or deleted.
- Fix handling of unprefixed newlines in block comments.
- Add LSP code lenses for
buf.gen.yamlfiles: "Run buf generate" and "Check for plugin updates". - Add LSP warnings for
lint.ignoreandbreaking.ignorepaths inbuf.yamlthat do not match any file in the workspace.
v1.68.4
- Fix duplicated extension tags across imports from compiler.
v1.68.3
- Fix
buf formaterror handling for edition 2024.
v1.68.2
- Fix build failures for modules with a vendored
descriptor.proto. - Fix LSP incorrectly reporting "edition '2024' not yet fully supported" errors.
- Fix CEL compilation error messages in
buf lintto use the structured error API instead of parsing cel-go's text output. - Add
--debug-addressflag tobuf lsp serveto provide debug and profile support.