Up to [cvs.NetBSD.org] / pkgsrc / devel / buf
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revbump for Go update (ticket #7379)
Revbump all Go packages after go127 update
buf: updated to 1.75.0 1.75.0 - 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.
*: Revbump for go126, go127. Ticket #7311
Revbump all Go packages after go127 security update
buf: updated to 1.74.0 v1.74.0 - 2026-10-14 - 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.
Revbump all Go packages after go127 security update
buf: updated to 1.73.0 1.73.0 - 2026-09-11 - 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.
Revbump all Go packages after go127 update
Revbump all Go packages after go127 became the default
Revbump all Go packages after go126 update
Revbump all Go packages after Go 1.26 update
buf: updated to 1.72.0 1.72.0 - 2026-07-17 - 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.
Revbump all Go packages after go126 update
Revbump all Go packages after go126 update
buf: updated to 1.71.0 1.71.0 - 2026-06-16 - Port new formatter and fix bugs for in-line block comment spacing. - Fix handling for an empty rpc input/output.
Revbump all Go packages after go126 security update
buf: updated to 1.70.0 1.70.0 - 2026-05-25 - 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.
Revbump all Go packages after go126 security update
buf: updated to 1.69.0 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.
Revbump all Go packages after go126 security fix
buf: updated to 1.68.3 1.68.3 Fix buf format error handling for edition 2024.
buf: updated to 1.68.2 1.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 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.
buf: updated to 1.68.1 1.68.1 - 2026-04-14 - 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 - 2026-04-14 - 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.
buf: updated to 1.67.0 1.67.0 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.
Revbump all Go packages after security update
Revbump all Go packages after go126 update
Revbump all Go packages after default version bump
Revbump all Go packages after go125 update
Revbump all Go packages after go125 update
Revbump all Go packages after go125 update
Revbump all Go packages after go125 update
Add buf version 1.45.0 CLI tool for working with protocol buffers. It provides: - A linter that enforces good API design choices and structure. - A breaking change detector that enforces compatibility at the source code or wire level. - A generator that invokes your plugins based on configurable templates - A formatter that formats your Protobuf files in accordance with industry standards. - Integration with the Buf Schema Registry, including full dependency management.