Skip to content

Releases: bufbuild/buf

v1.68.2

17 Apr 22:08
c40a3a8

Choose a tag to compare

  • 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 error API instead of parsing cel-go's text output.
  • Add --debug-address flag to buf lsp serve to provide debug and profile support.

v1.68.1

14 Apr 22:01
c3aecab

Choose a tag to compare

  • 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

14 Apr 17:59
57d0805

Choose a tag to compare

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 protoc misses, such as duplicate repeated modifiers.
  • 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.yaml deps, buf.gen.yaml remote plugins and input modules, buf.policy.yaml name and BSR plugins, and buf.lock dep names, making each a clickable link to its BSR page.
  • Add LSP code lenses for buf.yaml files to update all dependencies (buf.dep.updateAll) or check for available updates (buf.dep.checkUpdates).
  • Improve shell completions for buf flags with fixed value sets and file/directory arguments.
  • Add buf curl URL 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 --clean deleting files from nested plugin output directories.

v1.67.0

01 Apr 17:10
92a0237

Choose a tag to compare

  • 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 as a protoc_builtin plugin (requires protoc v34.0+).
  • Add relevant links from CEL LSP hover documentation to either <celbyexample.com> or <protovalidate.com>
  • Add OpenBSD and FreeBSD release binaries for amd64 and arm64.
  • Skip writing unchanged output files in buf generate to preserve modification times
  • Update buf beta registry plugin delete to prompt the user for deletion, matching the UX of the other deletion commands. Use --force to restore the old behavior.

v1.66.1

09 Mar 20:00
873c86f

Choose a tag to compare

  • Fix exclude_types in buf generate dropping transitive dependencies of import files retained for their extension fields.

v1.66.0

23 Feb 23:45
7704876

Choose a tag to compare

  • 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 handling in CEL semantic tokens for non-ASCII content and proto escape sequences in multi-line string literal expressions.
  • Improve URI normalization for the LSP.

v1.65.0

03 Feb 20:20
5155f61

Choose a tag to compare

  • 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 not include import keyword.
  • Update PROTOVALIDATE lint rule to support checking unenforceable required rules on repeated.items, map.keys and map.values.
  • Add buf source edit deprecate command to deprecate types by setting the deprecate = true option.

v1.64.0

19 Jan 18:48
8ecc976

Choose a tag to compare

  • 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 organize imports code action to add missing imports, remove unused imports, and sort imports alphabetically.
  • Add LSP document link support.
  • Add LSP folding range support.
  • Update PROTOVALIDATE lint rule to support checking cel_expression fields for valid CEL.

v1.63.0

06 Jan 22:12
9a277e1

Choose a tag to compare

  • Update PROTOVALIDATE lint rule to support field mask rules.
  • Add LSP completion for field numbers.

v1.62.1

29 Dec 20:34
26896d0

Choose a tag to compare

  • Fix default behavior for swift_prefix to remain unset when no override is provided in managed mode.