Skip to content

Releases: bufbuild/buf

v1.75.0

Choose a tag to compare

@buf-release-bot buf-release-bot released this 22 Oct 01:02
1a3a05a
  • Fix buf build dropping message_set_wire_format, weak field options, and MessageSet
    extensions, and truncating MessageSet extension ranges, when a file has an unused import.
  • Fix LSP crash when hovering on a CEL string literal containing a byte that is not valid UTF-8,
    such as '\x95' in a protovalidate rule.
  • Add BUF_DEBUG, BUF_LOG_FORMAT, and BUF_TIMEOUT environment variables as defaults for the
    --debug, --log-format, and --timeout global flags. Flags take precedence when set.
  • Add support to images for option dependencies declared with the import option syntax in
    edition 2024 and later.
  • Add support for Protobuf edition 2026.
  • Update built-in Well-Known Types to Protobuf v36.2.
  • Update managed mode to skip cc_enable_arenas for edition 2026 files, where the option was
    removed.
  • Fix buf convert and buf curl ignoring the (pb.enumvalue.json).string option for enum
    value JSON names.

v1.74.0

Choose a tag to compare

@buf-release-bot buf-release-bot released this 14 Oct 17:36
36fdbc5
  • Improve the performance of the PROTOVALIDATE lint rule, which is now up to 3x faster
    and allocates less memory on modules using cel rules or example values.
  • 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 curl to automatically use HTTP/2 prior knowledge for http URLs when server
    reflection, the gRPC protocol, or a bidirectional streaming method is used, since all of these
    require HTTP/2. The --http2-prior-knowledge flag is no longer required in these cases.
  • Add --stdin-filepath flag to buf format, which reads a single .proto file 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 convert panic when converting images that contain files without a syntax
    declaration or with unused imports.
  • Fix buf generate with strategy: directory and include_imports: true adding imports
    to the CodeGeneratorRequest of 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 group fields being ignored.
  • Update the LSP to support named generation templates such as buf.go.gen.yaml and
    buf.gen.go.yaml.
  • Improve the buf curl error message for methods that accept a single request message.
  • Add --config flag to buf lsp serve to use a buf.yaml file or data in place of
    discovering buf.yaml files. Workspaces are resolved from the editor's root folder.
  • Deduplicate remote input fetches within a single command invocation, so that multiple
    inputs in a buf.gen.yaml that 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, STRICT default symbol visibility, and
    source locations of export/local types.

v1.73.0

Choose a tag to compare

@buf-release-bot buf-release-bot released this 11 Sep 13:27
8b7368b
  • Fix buf format dropping comments next to commas or semicolons in message literals.
  • Fix compilation failing to resolve symbols re-exported through import public when 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 format non-idempotent trailing comment formatting.
  • Update built-in Well-Known Types to Protobuf v35.1.
  • Fix managed mode setting java_multiple_files on Edition 2024 files, which is not
    allowed and causes code generation to fail.

v1.72.0

Choose a tag to compare

@buf-release-bot buf-release-bot released this 17 Jul 20:15
7d6f056
  • Fix buf beta registry webhook create and buf beta registry webhook list to emit proto JSON output.
  • Fix HTTPS Basic authentication for remote inputs to use BUF_INPUT_HTTPS_USERNAME for the username.
  • Fix IMPORT_USED lint rule silently reporting no unused imports when google/protobuf/descriptor.proto is in the transitive dependency graph.

v1.71.0

Choose a tag to compare

@buf-release-bot buf-release-bot released this 16 Jun 17:09
509563d
  • Port new formatter and fix bugs for in-line block comment spacing.
  • Fix handling for an empty rpc input/output.

v1.70.0

Choose a tag to compare

@buf-release-bot buf-release-bot released this 25 May 18:44
4f657db
  • Add LSP completion for buf.gen.yaml, buf.yaml, and buf.policy.yaml files.
  • Fix LSP textDocument/documentSymbol marking every symbol as deprecated.
  • Add error for when a dependency is added to buf.yaml and is missing from buf.lock.
  • Update the PROTOVALIDATE lint rule support checking NaN in const, in, not_in, gt, gte, lt and lte rules for float and double fields.
  • Update the PROTOVALIDATE lint rule support to check (buf.validate.message).oneof rules and make sure they are well-formed and valid.

v1.69.0

Choose a tag to compare

@buf-release-bot buf-release-bot released this 29 Apr 20:00
88829eb
  • 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.

v1.68.4

Choose a tag to compare

@buf-release-bot buf-release-bot released this 22 Apr 18:32
b687c3b
  • Fix duplicated extension tags across imports from compiler.

v1.68.3

Choose a tag to compare

@buf-release-bot buf-release-bot released this 20 Apr 22:05
d907e27
  • Fix buf format error handling for edition 2024.

v1.68.2

Choose a tag to compare

@buf-release-bot buf-release-bot released this 17 Apr 22:08
c40a3a8
  • 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.