Fix git input handling of relative HEAD refs without branch names.
Add includes key to module configurations in v2 buf.yaml, accepting a list of directories.
If includes is specified, a proto file is considered in the module only if it is in one of the
directories specified.
If both includes and excludes keys are specified for a module, a proto file is considered
part of this module if it is contained in any of the include paths and not in any of the exclude
paths.
Allow multiple module configurations in the same v2 buf.yaml to have the same directory path.
v1.38.0
Add --http3 flag to buf curl which forces buf curl to use HTTP/3 as the transport.
Fix issue with directory inputs for v2 workspaces where the specified directory was not itself
a path to a module, but contained directories with modules, and the modules would not build.
Stop creating empty buf.lock files when buf dep update does not find new dependencies
to update and there is no existing buf.lock.
Update buf push to push the license file or doc file (e.g. README.md, LICENSE) in the
same directory as buf.yaml if a module does not have a license file or doc file in the
module's directory.
Fix constraints of --path flag for lint and breaking rules to avoid resolving all files
within a module. This change can result in a performance improvement for large workspaces.
v1.37.0
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.
Fix git input handling of relative HEAD refs without branch names.
Add includes key to module configurations in v2 buf.yaml, accepting a list of directories.
If includes is specified, a proto file is considered in the module only if it is in one of the
directories specified.
If both includes and excludes keys are specified for a module, a proto file is considered
part of this module if it is contained in any of the include paths and not in any of the exclude
paths.
Allow multiple module configurations in the same v2 buf.yaml to have the same directory path.
[v1.38.0] - 2024-08-22
Add --http3 flag to buf curl which forces buf curl to use HTTP/3 as the transport.
Fix issue with directory inputs for v2 workspaces where the specified directory was not itself
a path to a module, but contained directories with modules, and the modules would not build.
Stop creating empty buf.lock files when buf dep update does not find new dependencies
to update and there is no existing buf.lock.
Update buf push to push the license file or doc file (e.g. README.md, LICENSE) in the
same directory as buf.yaml if a module does not have a license file or doc file in the
module's directory.
Fix constraints of --path flag for lint and breaking rules to avoid resolving all files
within a module. This change can result in a performance improvement for large workspaces.
[v1.37.0] - 2024-08-16
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.
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.39.0.
Release notes
Sourced from github.com/bufbuild/buf's releases.
... (truncated)
Changelog
Sourced from github.com/bufbuild/buf's changelog.
... (truncated)
Commits
496f588
Release v1.39.0 (#3272)681874a
Surface module description in command outputs and errors when possible (#3271)ba0fdb0
Add includes to v2 buf.yaml module config and allow duplicate module paths in...64e1fa5
Fix git checkout for relative HEAD refs (#3266)3857019
More issue template modifications (#3270)f1d577e
More issue template modifications (#3269)e22893b
Modify issue templates (#3268)d24a14d
Make issue templates even stricter (#3267)35adc2b
Make upgrade (#3264)8063ca9
Refactor bufprint package (#3173)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