Releases: bufbuild/buf
Releases · bufbuild/buf
Release list
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.
v1.68.1
- Revert the use of the new compiler report format and properly ungate Editions 2024 features.
- Fix absolute imports (leading-dot) marked unused in diagnostics.
v1.68.0
This release ports buf to our new Protobuf compiler, already used to power the Buf LSP. It uses a query-driven frontend and a new AST and intermediate representation, designed from the ground up to bring several improvements:
- Better diagnostics. The new compiler produces rich, structured diagnostic reports with precise source locations. It also catches issues that
protocmisses, such as duplicaterepeatedmodifiers. - Editions 2024 support. Full support for Protobuf Editions 2024.
- Faster and more memory efficient. Designed for large workspaces, the new compiler uses less memory and compiles faster than the previous implementation.
This is a seamless upgrade for buf users: no changes are required, the output has been automatically updated to a new, richer diagnostics report.
- Use new compiler for build process and support Editions 2024 features.
- Add LSP document links for
buf.yamldeps,buf.gen.yamlremote plugins and input modules,buf.policy.yamlname and BSR plugins, andbuf.lockdep names, making each a clickable link to its BSR page. - Add LSP code lenses for
buf.yamlfiles to update all dependencies (buf.dep.updateAll) or check for available updates (buf.dep.checkUpdates). - Improve shell completions for
bufflags with fixed value sets and file/directory arguments. - Add
buf curlURL path shell completions (service and method names) via
server reflection,--schema, or the local buf module. - Add support for Edition 2024 syntax to
buf format. - Fix
buf generate --cleandeleting files from nested plugin output directories.