Add concept of a default lint or breaking rule, which is printed out as a property when running
buf config ls-{breaking,lint}-rules. Default rules are those rules which are run if no lint
or breaking rules are explicitly configured in your buf.yaml.
Rename DEFAULT lint rule category to STANDARD. With the concept of default rules being introduced,
having a category named DEFAULT is confusing, as while it happens that all the rules in the DEFAULT
lint category are also default rules, the name has become overloaded. As with all buf changes, this
change is backwards-compatible: the DEFAULT lint category continues to work, and always will. We
recommend changing to STANDARD, however.
v1.39.0
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.
Add concept of a default lint or breaking rule, which is printed out as a property when running
buf config ls-{breaking,lint}-rules. Default rules are those rules which are run if no lint
or breaking rules are explicitly configured in your buf.yaml.
Rename DEFAULT lint rule category to STANDARD. With the concept of default rules being introduced,
having a category named DEFAULT is confusing, as while it happens that all the rules in the DEFAULT
lint category are also default rules, the name has become overloaded. As with all buf changes, this
change is backwards-compatible: the DEFAULT lint category continues to work, and always will. We
recommend changing to STANDARD, however.
[v1.39.0] - 2024-08-27
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
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.35.1 to 1.40.0.
Release notes
Sourced from github.com/bufbuild/buf's releases.
... (truncated)
Changelog
Sourced from github.com/bufbuild/buf's changelog.
... (truncated)
Commits
a7fdc11
Release v1.40.0 (#3292)3075720
Add custom lint and breaking change plugins (#3279)da26542
Chore fix make upgrade go version (#3286)2ad31e1
Fix flaky test not closing os.File (#3287)7d33f72
Bump github.com/bufbuild/protovalidate-go from 0.6.4 to 0.6.5 (#3284)e8415bc
Bump github.com/docker/docker from 27.1.2+incompatible to 27.2.0+incompatible...d613df8
Bump github.com/bufbuild/protoyaml-go from 0.1.11 to 0.1.12 (#3282)561bb7d
Bump github.com/rs/cors from 1.11.0 to 1.11.1 (#3281)c01aed7
Return to development (#3273)496f588
Release v1.39.0 (#3272)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