Releases: bufbuild/buf
Releases · bufbuild/buf
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.
v1.67.0
- Fix LSP not skipping
buf.build/docslinks for lint rules from check plugins and policies. - Fix
buf dep graph --format jsonsilently dropping dependencies when a dependency was already seen. - Add support for
--rbs_outas aprotoc_builtinplugin (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 generateto preserve modification times - Update
buf beta registry plugin deleteto prompt the user for deletion, matching the UX of the other deletion commands. Use--forceto restore the old behavior.
v1.66.1
- Fix
exclude_typesinbuf generatedropping transitive dependencies of import files retained for their extension fields.
v1.66.0
- 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
- 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
importkeyword. - Update
PROTOVALIDATElint rule to support checking unenforceablerequiredrules onrepeated.items,map.keysandmap.values. - Add
buf source edit deprecatecommand to deprecate types by setting thedeprecate = trueoption.
v1.64.0
- 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
PROTOVALIDATElint rule to support checkingcel_expressionfields for valid CEL.
v1.63.0
- Update
PROTOVALIDATElint rule to support field mask rules. - Add LSP completion for field numbers.
v1.62.1
- Fix default behavior for
swift_prefixto remain unset when no override is provided in managed mode.