Add buf config ls-modules command to list configured modules.
Fix issue where buf generate would succeed on missing insertion points and
panic on empty insertion point files.
Update buf generate to allow the use of Editions syntax when doing local code
generation by proxying to a protoc binary (for languages where code gen is
implemented inside of protoc instead of in a plugin: Java, C++, Python, etc).
Allow use of an array of strings for the protoc_path property of for buf.gen.yaml,
where the first array element is the actual path and other array elements are extra
arguments that are passed to protoc each time it is invoked.
v1.33.0
Allow user to override --source-control-url and --create-default-label when using --git-metadata with buf push.
Fix buf push --git-metadata when local tags point to different objects than the remote tags.
Fix issue where comment ignores were not respected for PROTOVALIDATE lint rule violations.
Update buf beta commit {get,list} command outputs to display create time and stop displaying associated tags.
Change the behavior of buf beta commit list <buf.build/owner/repository> when the reference is empty. It now lists commits in the repository instead of listing commits of the default label.
Update output of buf format to canonicalize the punctuation used in message literals in option values. The output now always uses { and } instead of < and >; it adds : separators between field names and message values if the source omitted them, and it removes unnecessary separators between fields (, and ; are allowed, but neither is needed).
Update buf format -w so that it does not touch files whose contents don't actually change. This eliminates noisy notifications to file-system-watcher tools that are watching the directory that contains proto sources.
Update buf generate to work with plugins provided by protoc for versions v24.0 to v25.3. Editions support was experimental in these releases, and the plugins advertise incomplete support for editions, which triggers buf to report an error. With this fix, these plugins can be used again as long as none of the input files use editions syntax.
Add buf push --exclude-unnamed flag to exclude unnamed modules when pushing to the BSR.
v1.32.2
Update buf generate to warn instead of error when proto3 optional is required but not supported by a plugin.
v1.32.1
Fix archive and git inputs so that --path and --exclude-path paths are relative to the #subdir rather than the root of the input. This fixes an unintended behavior change that was introduced in v1.32.0.
Add module input for protoc-gen-buf-lint and protoc-gen-buf-breaking to allow users to specify the module for v2 configuration files.
v1.32.0
This release contains the (completely backwards-compatible) next generation of the Buf CLI. The Buf CLI and its associated configuration have been completely overhauled to support monorepos as first-class citizens. We'd call it a v2 of buf, but it's not. Buf is enterprise-grade software, and we want you to be minimally impacted. The v1.32.0 release of buf introduces v2 config formats for both buf.yaml and buf.gen.yaml. All your current commands and v1 configuration continue to work, so you can upgrade to v2 configuration when appropriate.
To read more about what's new, check out our blog and our docs:
Add buf config ls-modules command to list configured modules.
Fix issue where buf generate would succeed on missing insertion points and
panic on empty insertion point files.
Update buf generate to allow the use of Editions syntax when doing local code
generation by proxying to a protoc binary (for languages where code gen is
implemented inside of protoc instead of in a plugin: Java, C++, Python, etc).
Allow use of an array of strings for the protoc_path property of for buf.gen.yaml,
where the first array element is the actual path and other array elements are extra
arguments that are passed to protoc each time it is invoked.
[v1.33.0] - 2024-06-13
Allow user to override --source-control-url and --create-default-label when using
--git-metadata with buf push.
Fix buf push --git-metadata when local tags point to different objects than
the remote tags.
Fix issue where comment ignores were not respected for PROTOVALIDATE lint rule violations.
Update buf beta commit {get,list} command outputs to display create time and stop
displaying associated tags.
Change the behavior of buf beta commit list <buf.build/owner/repository> when the
reference is empty. It now lists commits in the repository instead of listing commits
of the default label.
Update output of buf format to canonicalize the punctuation used in message literals
in option values. The output now always uses { and } instead of < and >; it
adds : separators between field names and message values if the source omitted them,
and it removes unnecessary separators between fields (, and ; are allowed, but
neither is needed).
Update buf format -w so that it does not touch files whose contents don't actually
change. This eliminates noisy notifications to file-system-watcher tools that are
watching the directory that contains proto sources.
Update buf generate to work with plugins provided by protoc for versions v24.0
to v25.3. Editions support was experimental in these releases, and the plugins
advertise incomplete support for editions, which triggers buf to report an error.
With this fix, these plugins can be used again as long as none of the input files use
editions syntax.
Add buf push --exclude-unnamed flag to exclude unnamed modules when pushing to the BSR.
[v1.32.2] - 2024-05-28
Update buf generate to warn instead of error when proto3 optional is required but not
supported by a plugin.
[v1.32.1] - 2024-05-21
Fix archive and git inputs so that --path and --exclude-path paths are relative to
the #subdir rather than the root of the input. This fixes an unintended behavior change
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps github.com/bufbuild/buf from 1.31.0 to 1.34.0.
Release notes
Sourced from github.com/bufbuild/buf's releases.
... (truncated)
Changelog
Sourced from github.com/bufbuild/buf's changelog.
... (truncated)
Commits
3b5b535
Release v1.34.0 (#3104)52a4214
Add buf config ls-modules (#3081)bbebe8a
Set environment when running git commands (#3103)28408f4
Improve error message for unauthenticated error (#3093)0ad8677
Make upgrade (#3102)45f8632
Allowprotoc_path
to be a slice so user can specify extra args (#3098)0b7c7fa
Improve insertion point behaviour (#3092)6cdc860
Bump bufbuild/buf-setup-action from 1.32.2 to 1.33.0 (#3088)fc8e51c
Fix other issue template (#3097)f634e4c
Add reproduction comments to other template (#3096)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show