Add STABLE_PACKAGE_NO_IMPORT_UNSTABLE lint rule which disallows files from stable packages
to import files from unstable packages.
Fix plugin push failures when pushing an image built with containerd image store.
v1.36.0
Add --list-services and --list-methods flags to buf curl, which trigger the command to list
known services or methods in the RPC schema, instead of invoking an RPC method.
Add clean as a top-level option in buf.gen.yaml, matching the buf generate --clean flag. If
set to true, this will delete the directories, jar files, or zip files set to out for each
plugin.
Fix git input handling of annotated tags.
Update buf registry login to complete the login flow in the browser by default. This allows
users to login with their browser and have the token automatically provided to the CLI.
Fix the git input parameter ref to align with the git notion of a ref. This allows for the use of branch names, tag names, and commit hashes.
Fix unexpected buf build errors with absolute path directory inputs without workspace and/or module configurations (e.g. buf.yaml, buf.work.yaml) and proto file paths set to the --path flag.
v1.35.0
Add buf generate --clean flag that will delete the directories, jar files, or zip files that the
plugins will write to, prior to generation. Allows cleaning of existing assets without having
to call rm -rf.
Deprecate --username flag on and username prompt on buf registry login. A username is no longer
required to log in.
v1.34.0
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 STABLE_PACKAGE_NO_IMPORT_UNSTABLE lint rule which disallows files from stable packages
to import files from unstable packages.
Fix plugin push failures when pushing an image built with containerd image store.
[v1.36.0] - 2024-08-06
Add --list-services and --list-methods flags to buf curl, which trigger the command to list
known services or methods in the RPC schema, instead of invoking an RPC method.
Add clean as a top-level option in buf.gen.yaml, matching the buf generate --clean flag. If
set to true, this will delete the directories, jar files, or zip files set to out for each
plugin.
Fix git input handling of annotated tags.
Update buf registry login to complete the login flow in the browser by default. This allows
users to login with their browser and have the token automatically provided to the CLI.
Fix the git input parameter ref to align with the git notion of a ref. This allows for the use
of branch names, tag names, and commit hashes.
Fix unexpected buf build errors with absolute path directory inputs without workspace and/or
module configurations (e.g. buf.yaml, buf.work.yaml) and proto file paths set to the --path flag.
[v1.35.0] - 2024-07-22
Add buf generate --clean flag that will delete the directories, jar files, or zip files that the
plugins will write to, prior to generation. Allows cleaning of existing assets without having
to call rm -rf.
Deprecate --username flag on and username prompt on buf registry login. A username is no longer
required to log in.
[v1.34.0] - 2024-06-21
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
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.37.0.
Release notes
Sourced from github.com/bufbuild/buf's releases.
... (truncated)
Changelog
Sourced from github.com/bufbuild/buf's changelog.
... (truncated)
Commits
186b026
Release v1.37.0 (#3244)c11801c
Make generate config types/files/variables consistent with naming (#3241)3aaecdc
Parse docker image digest from Status if Aux not available (#3239)b4dcf96
Update bufcheck.Rules logic to match upcoming bufplugin Rules (#3237)9d377ce
Add STABLE_PACKAGE_NO_IMPORT_UNSTABLE lint rule (#3010)fd8006c
Cache doc and license storage buckets (#3232)b063948
Make upgrade and update minimum Go version to 1.21 (#3123)6713034
Delete bufbreakingcheck.newFieldDescriptorPairCheckFunc (#3234)b712a4f
Upgrade pre-commit from 1.22.1 to 1.22.6 (#3231)582997b
Fix close on write storage mappers (#3225)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