Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update module github.com/bufbuild/buf to v1.45.0 #127

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 23, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/bufbuild/buf v1.30.1 -> v1.45.0 age adoption passing confidence

Release Notes

bufbuild/buf (github.com/bufbuild/buf)

v1.45.0

Compare Source

  • Update buf registry module info --format=json to add default_label_name, which provides the name
    of the default label of a module.

v1.44.0

Compare Source

  • Update the PROTOVALIDATE lint rule to check example field options. Examples will be checked that
    they satisfy the field constraints, and are only present if constraints are present.
  • Update the PROTOVALIDATE lint rule to check predefined rules. Predefined rules will be checked
    that they compile.
  • Add support for a WebAssembly (Wasm) runtime for custom lint and breaking changes plugins. Use the
    .wasm file extension to specify a path to a Wasm plugin.

v1.43.0

Compare Source

  • Add new experimental LSP support under buf beta lsp.

v1.42.0

Compare Source

  • Add support for custom lint and breaking change plugins. See
    our launch blog post
    for more details!
  • Add buf dep graph --format flag that defaults to dot, and adds the option json, to print
    the dependency graph in JSON format.
  • Fix bugs in buf format where trailing comments on commas in message literals were not properly
    propagated to the formatted proto, empty message literals were not properly indented, and
    compound strings in options added an extra newline before trailing commas.

v1.41.0

Compare Source

  • Add HTTP/3 support for gRPC with buf curl.
  • Fix issue where errors from protoc plugins may be overwritten when executing plugins in parallel.

v1.40.1

Compare Source

  • Fix issue with buf lint where comment ignores in the shape of // buf:lint:ignore <RULE_ID> <extra comment>
    were not recognized due to the extra comment.

v1.40.0

Compare Source

  • 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

Compare Source

  • 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

Compare Source

  • 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

Compare Source

  • 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

Compare Source

  • 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 buf registry organization {create, delete, info, update} commands to manage BSR
    organizations. Remove buf beta registry organization commands.
  • Add buf registry module {create, delete, deprecate, info, undeprecate, update} commands to
    manage BSR modules. Remove buf beta registry repository commands.
  • Add buf registry label {archive, info, list, unarchive} commands to manage BSR module labels.
    Remove buf beta registry label commands and buf beta registry {archive, unarchive}.
  • Add buf registry commit {add-label, info, list, resolve} to manage BSR module commits. Remove
    buf beta registry commit commands.

v1.35.1

Compare Source

  • 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

Compare Source

  • 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

Compare Source

  • 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

Compare Source

  • 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.
  • Add buf beta registry label {create,get,list} to replace buf beta registry {draft, tag}
    commands.
  • 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

Compare Source

  • Update buf generate to warn instead of error when proto3 optional is required but not
    supported by a plugin.

v1.32.1

Compare Source

  • 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

Compare Source

  • Add version v2 for buf.yaml and buf.gen.yaml configuration files.
  • Add buf config migrate to migrate configuration files to the latest version (now v2).
  • Move buf mod init to buf config init. buf mod init is now deprecated.
  • Move buf mod ls-lint-rules to buf config ls-lint-rules. buf mod ls-lint-rules is now
    deprecated.
  • Move buf mod ls-breaking-rules to buf config ls-breaking-rules. buf mod ls-breaking-rules
    is now deprecated.
  • Move buf mod prune to buf dep prune. buf mod prune is now deprecated.
  • Move buf mod update to buf dep update. buf mod update is now deprecated.
  • Move buf mod {clear-cache,cc} to buf registry cc. buf mod {clear-cache,cc} is now
    deprecated.
  • Move buf beta graph to stable as buf dep graph.
  • Change the default visibility of buf push --create-visibility to private when the --create
    flag is set. Users are no longer required to set --create-visibility when running
    buf push --create.
  • Add buf push --label, which allows users to set labels when pushing new commits to the BSR.
  • Add buf push --source-control-url, which allows users to associate commits pushed to the BSR
    with a URL to a source code repository.
  • Add buf push --create-default-label, which allows users to set a default label for a repository
    when calling buf push --create.
  • Add buf push --git-metadata, which automatically sets appropriate --label,
    --source-control-url, and --create-default-label flags based on the current Git repository.
  • Add buf convert --validate to apply protovalidate
    rules to incoming messages specified with --from.
  • Deprecate buf mod open.
  • Delete buf beta migrate-v1beta1 This is now replaced with buf config migrate.
  • Add buf registry sdk version to get the version of a Generated SDK for a module and plugin.
  • Add buf beta registry archive and buf beta registry unarchive commands for archiving and
    unarchiving labels on the BSR.
  • Add support for Protobuf Editions. This allows buf to be used with sources that use edition
    2023, instead of proto2 or proto3 syntax. This also updates the protoc-gen-buf-breaking and
    protoc-gen-buf-lint Protobuf plugins to support files that use edition 2023.
  • Update buf breaking rules to work with Protobuf Editions. To support Editions, some rules have
    been deprecated and replaced with Editions-aware rules. All deprecated rules continue to work
    for existing users.
    • FIELD_SAME_CTYPE has been replaced with FIELD_SAME_CPP_STRING_TYPE, which considers both
      ctype field options and new (pb.cpp).string_type features when deciding on backwards
      compatibility.
    • FIELD_SAME_LABEL has been replaced with three rules that all check "cardinality". The new
      rules can distinguish between maps and other repeated fields and between implicit and explicit
      field presence. The new rules are:
      1. FIELD_SAME_CARDINALITY in the FILE and PACKAGE categories.
      2. FIELD_WIRE_COMPATIBLE_CARDINALITY in the WIRE category.
      3. FIELD_WIRE_JSON_COMPATIBLE_CARDINALITY in the WIRE_JSON category.
    • FILE_SAME_JAVA_STRING_CHECK_UTF8 has been replaced with FIELD_SAME_JAVA_UTF8_VALIDATION,
      which considers both the java_string_check_utf8 file option and (pb.java).utf8_validation
      features when deciding on backwards compatibility.
    • Add to the existing FILE_SAME_SYNTAX rule with a few related rules that can catch the same
      sort of compatibility issues, but in an Editions source file that changes feature values:
      1. MESSAGE_SAME_JSON_FORMAT and ENUM_SAME_JSON_FORMAT catch changes to the json_format
        feature, which controls whether support for the JSON format is best-effort or properly
        supported. When supported, the compiler performs more checks relating to field name
        collisions for the JSON format as well as for FieldMask usage.
      2. FIELD_SAME_UTF8_VALIDATION catches changes to the utf8_validation feature, which
        controls validation of string values.
      3. ENUM_SAME_TYPE catches changes to an enum's type, open vs. closed.
  • Add support for extensions to buf breaking. All existing rules for fields are now applied to
    extensions, except for FIELD_NO_DELETE (and its variants). There are also new
    EXTENSION_NO_DELETE and PACKAGE_EXTENSION_NO_DELETE rules for catching deletions of an
    extension. The new rules are not active by default in existing v1 and v1beta1
    configurations, for backwards-compatibility reasons. Migrate your config to v2 to use them.
  • Add support for top-level extensions to buf lint. It previously only checked extensions that
    were defined inside of messages.
  • Add a new FIELD_NOT_REQUIRED lint rule that prevents use of required in proto2 files and of
    features.field_presence = LEGACY_REQUIRED in Editions files. This new rule is not active by
    default in existing v1 and v1beta1 configurations, for backwards-compatibility reasons.
    Migrate your config to v2 to use them.

v1.31.0

Compare Source

  • Update dependencies.

Configuration

📅 Schedule: Branch creation - "every 1 hour after 00:00 and before 23:59" (UTC), Automerge - "every 1 hour after 00:00 and before 01:00 every day" (UTC).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested a review from kyong0612 as a code owner April 23, 2024 19:42
@renovate renovate bot force-pushed the renovate/github.com-bufbuild-buf-1.x branch 2 times, most recently from 8258f0e to f29f7c0 Compare May 3, 2024 08:50
@renovate renovate bot force-pushed the renovate/github.com-bufbuild-buf-1.x branch from f29f7c0 to 3773afc Compare May 16, 2024 20:48
@renovate renovate bot changed the title fix(deps): update module github.com/bufbuild/buf to v1.31.0 fix(deps): update module github.com/bufbuild/buf to v1.32.0 May 16, 2024
@renovate renovate bot force-pushed the renovate/github.com-bufbuild-buf-1.x branch 2 times, most recently from 21e20a3 to a07ca5e Compare May 22, 2024 03:06
@renovate renovate bot changed the title fix(deps): update module github.com/bufbuild/buf to v1.32.0 fix(deps): update module github.com/bufbuild/buf to v1.32.1 May 22, 2024
@renovate renovate bot changed the title fix(deps): update module github.com/bufbuild/buf to v1.32.1 fix(deps): update module github.com/bufbuild/buf to v1.32.2 May 28, 2024
@renovate renovate bot force-pushed the renovate/github.com-bufbuild-buf-1.x branch from a07ca5e to 85b446c Compare May 28, 2024 20:00
@renovate renovate bot force-pushed the renovate/github.com-bufbuild-buf-1.x branch from 85b446c to ed302bb Compare June 13, 2024 16:54
Copy link
Contributor Author

renovate bot commented Jun 13, 2024

ℹ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 45 additional dependencies were updated

Details:

Package Change
connectrpc.com/connect v1.16.2 -> v1.17.0
github.com/go-chi/chi/v5 v5.0.12 -> v5.1.0
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.54.0 -> v0.55.0
go.opentelemetry.io/otel v1.29.0 -> v1.30.0
golang.org/x/net v0.28.0 -> v0.30.0
google.golang.org/grpc v1.66.0 -> v1.67.1
google.golang.org/protobuf v1.34.2 -> v1.34.3-0.20240906163944-03df6c145d96
buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.33.0-20240221180331-f05a6f4403ce.1 -> v1.34.2-20240920164238-5a7b106cbb87.2
connectrpc.com/otelconnect v0.7.0 -> v0.7.1
github.com/Microsoft/hcsshim v0.11.5 -> v0.12.7
github.com/antlr4-go/antlr/v4 v4.13.0 -> v4.13.1
github.com/bufbuild/protocompile v0.10.0 -> v0.14.1
github.com/bufbuild/protovalidate-go v0.6.0 -> v0.7.2
github.com/cncf/xds/go v0.0.0-20240423153145-555b57ec207b -> v0.0.0-20240723142845-024c85f92f20
github.com/containerd/containerd v1.7.18 -> v1.7.22
github.com/cpuguy83/go-md2man/v2 v2.0.4 -> v2.0.5
github.com/docker/cli v26.0.0+incompatible -> v27.3.1+incompatible
github.com/docker/docker v27.1.1+incompatible -> v27.3.1+incompatible
github.com/docker/docker-credential-helpers v0.8.1 -> v0.8.2
github.com/envoyproxy/go-control-plane v0.12.1-0.20240621013728-1eb8caab5155 -> v0.13.0
github.com/envoyproxy/protoc-gen-validate v1.0.4 -> v1.1.0
github.com/felixge/fgprof v0.9.4 -> v0.9.5
github.com/gofrs/flock v0.8.1 -> v0.12.1
github.com/google/cel-go v0.20.1 -> v0.21.0
github.com/google/go-containerregistry v0.19.1 -> v0.20.2
github.com/google/pprof v0.0.0-20240327155427-868f304927ed -> v0.0.0-20241001023024-f4c0cfd0cf1d
github.com/klauspost/compress v1.17.7 -> v1.17.10
github.com/prometheus/client_golang v1.14.0 -> v1.20.2
github.com/prometheus/client_model v0.6.0 -> v0.6.1
github.com/prometheus/common v0.37.0 -> v0.55.0
github.com/prometheus/procfs v0.8.0 -> v0.15.1
github.com/rs/cors v1.10.1 -> v1.11.1
github.com/spf13/cobra v1.8.0 -> v1.8.1
github.com/vbatts/tar-split v0.11.5 -> v0.11.6
go.opentelemetry.io/otel/metric v1.29.0 -> v1.30.0
go.opentelemetry.io/otel/trace v1.29.0 -> v1.30.0
golang.org/x/crypto v0.26.0 -> v0.28.0
golang.org/x/exp v0.0.0-20240325151524-a685a6edb6d8 -> v0.0.0-20241004190924-225e2abe05e6
golang.org/x/mod v0.19.0 -> v0.21.0
golang.org/x/sys v0.24.0 -> v0.26.0
golang.org/x/term v0.23.0 -> v0.25.0
golang.org/x/text v0.17.0 -> v0.19.0
golang.org/x/tools v0.23.0 -> v0.26.0
google.golang.org/genproto/googleapis/api v0.0.0-20240827150818-7e3bb234dfed -> v0.0.0-20240930140551-af27646dc61f
google.golang.org/genproto/googleapis/rpc v0.0.0-20240903143218-8af14fe29dc1 -> v0.0.0-20240930140551-af27646dc61f

@renovate renovate bot changed the title fix(deps): update module github.com/bufbuild/buf to v1.32.2 fix(deps): update module github.com/bufbuild/buf to v1.33.0 Jun 13, 2024
@renovate renovate bot force-pushed the renovate/github.com-bufbuild-buf-1.x branch from ed302bb to 422280f Compare June 21, 2024 22:45
@renovate renovate bot changed the title fix(deps): update module github.com/bufbuild/buf to v1.33.0 fix(deps): update module github.com/bufbuild/buf to v1.34.0 Jun 21, 2024
@renovate renovate bot force-pushed the renovate/github.com-bufbuild-buf-1.x branch from 422280f to 8141428 Compare July 22, 2024 22:44
@renovate renovate bot changed the title fix(deps): update module github.com/bufbuild/buf to v1.34.0 fix(deps): update module github.com/bufbuild/buf to v1.35.0 Jul 22, 2024
@renovate renovate bot force-pushed the renovate/github.com-bufbuild-buf-1.x branch from 8141428 to ff2f3d5 Compare July 24, 2024 21:33
@renovate renovate bot changed the title fix(deps): update module github.com/bufbuild/buf to v1.35.0 fix(deps): update module github.com/bufbuild/buf to v1.35.1 Jul 24, 2024
@renovate renovate bot force-pushed the renovate/github.com-bufbuild-buf-1.x branch from ff2f3d5 to 9e29f4a Compare August 6, 2024 22:00
@renovate renovate bot changed the title fix(deps): update module github.com/bufbuild/buf to v1.35.1 fix(deps): update module github.com/bufbuild/buf to v1.36.0 Aug 6, 2024
@renovate renovate bot force-pushed the renovate/github.com-bufbuild-buf-1.x branch 2 times, most recently from 11649b3 to 8b27fd3 Compare August 9, 2024 11:16
@renovate renovate bot force-pushed the renovate/github.com-bufbuild-buf-1.x branch from 8b27fd3 to 1ff572a Compare August 16, 2024 22:04
@renovate renovate bot changed the title fix(deps): update module github.com/bufbuild/buf to v1.36.0 fix(deps): update module github.com/bufbuild/buf to v1.37.0 Aug 16, 2024
@renovate renovate bot force-pushed the renovate/github.com-bufbuild-buf-1.x branch from 1ff572a to d260ebc Compare August 22, 2024 16:27
@renovate renovate bot changed the title fix(deps): update module github.com/bufbuild/buf to v1.37.0 fix(deps): update module github.com/bufbuild/buf to v1.38.0 Aug 22, 2024
@renovate renovate bot force-pushed the renovate/github.com-bufbuild-buf-1.x branch from d260ebc to 47385f5 Compare August 28, 2024 01:20
@renovate renovate bot changed the title fix(deps): update module github.com/bufbuild/buf to v1.38.0 fix(deps): update module github.com/bufbuild/buf to v1.39.0 Aug 28, 2024
@renovate renovate bot force-pushed the renovate/github.com-bufbuild-buf-1.x branch from 47385f5 to 958e490 Compare September 1, 2024 09:00
@renovate renovate bot force-pushed the renovate/github.com-bufbuild-buf-1.x branch from 958e490 to 507c1a8 Compare September 5, 2024 01:35
@renovate renovate bot changed the title fix(deps): update module github.com/bufbuild/buf to v1.39.0 fix(deps): update module github.com/bufbuild/buf to v1.40.0 Sep 5, 2024
@renovate renovate bot force-pushed the renovate/github.com-bufbuild-buf-1.x branch 3 times, most recently from 60e54cc to 596e58c Compare September 7, 2024 00:58
@renovate renovate bot changed the title fix(deps): update module github.com/bufbuild/buf to v1.40.0 fix(deps): update module github.com/bufbuild/buf to v1.40.1 Sep 7, 2024
@renovate renovate bot force-pushed the renovate/github.com-bufbuild-buf-1.x branch 2 times, most recently from 48cf4f3 to c174fcb Compare September 11, 2024 23:02
@renovate renovate bot changed the title fix(deps): update module github.com/bufbuild/buf to v1.40.1 fix(deps): update module github.com/bufbuild/buf to v1.41.0 Sep 11, 2024
@renovate renovate bot force-pushed the renovate/github.com-bufbuild-buf-1.x branch from c174fcb to b957d6b Compare September 18, 2024 22:46
@renovate renovate bot changed the title fix(deps): update module github.com/bufbuild/buf to v1.41.0 fix(deps): update module github.com/bufbuild/buf to v1.42.0 Sep 18, 2024
@renovate renovate bot force-pushed the renovate/github.com-bufbuild-buf-1.x branch from b957d6b to f0b2dce Compare September 30, 2024 21:20
@renovate renovate bot changed the title fix(deps): update module github.com/bufbuild/buf to v1.42.0 fix(deps): update module github.com/bufbuild/buf to v1.43.0 Sep 30, 2024
@renovate renovate bot force-pushed the renovate/github.com-bufbuild-buf-1.x branch from f0b2dce to 856e055 Compare October 3, 2024 17:03
@renovate renovate bot changed the title fix(deps): update module github.com/bufbuild/buf to v1.43.0 fix(deps): update module github.com/bufbuild/buf to v1.44.0 Oct 3, 2024
@renovate renovate bot force-pushed the renovate/github.com-bufbuild-buf-1.x branch from 856e055 to cabae7c Compare October 8, 2024 22:25
@renovate renovate bot changed the title fix(deps): update module github.com/bufbuild/buf to v1.44.0 fix(deps): update module github.com/bufbuild/buf to v1.45.0 Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants