- 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.