← Package directory
Available on winget

Install Buf

The best way to work with Protocol Buffers

Install with winget
winget install --id bufbuild.buf
Upgrade
winget upgrade --id bufbuild.buf
Uninstall
winget uninstall --id bufbuild.buf

About Buf

A CLI tool for working with Protocol Buffers with a linter, breaking change detector, a generator, a formatter and integration with the Buf Schema Registry.

What's new in 1.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.yaml files: "Run buf generate" and "Check for plugin updates". - Add LSP warnings for lint.ignore and breaking.ignore paths in buf.yaml that do not match any file in the workspace.

Read release notes

Version history

Version Updated Notes
1.69.0 Unknown - 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.yam...
1.68.4 Unknown - Fix duplicated extension tags across imports from compiler.
1.68.3 Unknown - Fix buf format error handling for edition 2024.
1.68.2 Unknown - 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 lint to use the structured e...
1.68.1 Unknown - Revert the use of the new compiler report format and properly ungate Editions 2024 features. - Fix absolute imports (leading-dot) marked unused in diagnostics.
1.68.0 Unknown 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 improvem...
1.67.0 Unknown - Fix LSP not skipping buf.build/docs links for lint rules from check plugins and policies. - Fix buf dep graph --format json silently dropping dependencies when a dependency was already seen. - Add support for --rbs_out...
1.66.1 Unknown - Fix exclude_types in buf generate dropping transitive dependencies of import files retained for their extension fields.
1.66.0 Unknown - Add LSP comment ignore code action to add comment ignores for lint errors. - Fix buf breaking module comparison when adding new modules. - Add LSP hover support for protovalidate CEL expressions. - Fixed offset handlin...
1.65.0 Unknown - Add buf registry policy {commit,create,delete,info,label,settings} commands to manage BSR policies. - Add LSP deprecate code action to add the deprecated option on types and symbols. - Fix import LSP document link to n...
1.64.0 Unknown - Fix LSP completion for options. - Add LSP document highlighting support. - Add LSP completion for fully-qualified type references. - Improve LSP semantic tokens implementation (for syntax highlighting). - Add LSP organ...
v1.59.0 Unknown - Promote buf beta lsp to buf lsp serve. Command buf beta lsp is now deprecated. - Add textDocument/References support for buf lsp serve. - Add autocompletion for basic keywords, syntax, package and imports for buf lsp s...
v1.57.0 Unknown - Update exclude types to remove unused options reducing the size of generated code. - Add gitlab-code-quality error format to print errors in the GitLab Code Quality format for buf lint and buf breaking. - Add source_co...
v1.56.0 Unknown - Add buf export --all flag to include non-proto source files. - Add s390x binaries for Linux to releases. - Fix ppc64le binaries for Linux released as x86_64 binaries. - buf lint will no longer warn about uses of (buf.v...
v1.55.1 Unknown Release notes