Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jan 24, 2024

This PR contains the following updates:

Package Type Update Change
alessandrojcm/commitlint-pre-commit-hook repository minor v9.11.0 -> v9.23.0
bufbuild/buf repository minor v1.28.1 -> v1.61.0
golangci/golangci-lint repository minor v1.58.1 -> v1.64.8

Note: The pre-commit manager in Renovate is not supported by the pre-commit maintainers or community. Please do not report any problems there, instead create a Discussion in the Renovate repository if you have any questions.


Release Notes

alessandrojcm/commitlint-pre-commit-hook (alessandrojcm/commitlint-pre-commit-hook)

v9.23.0

Compare Source

Features
  • bump the commitlint group with 2 updates (c395a79)
  • bump the commitlint group with 2 updates (2be08da)
  • bump the commitlint group with 2 updates (c3bd3f3)

v9.22.0

Compare Source

Features
  • bump the commitlint group with 2 updates (3af7602)

v9.21.0

Compare Source

Features
  • bump the commitlint group with 2 updates (020cc00)

v9.20.0

Compare Source

Features
  • bump the commitlint group with 2 updates (4a3054c)

v9.19.0

Compare Source

Features
  • bump the commitlint group with 2 updates (ff83bce)

v9.18.0

Compare Source

Features
  • bump the commitlint group with 2 updates (1beaa58)

v9.17.0

Compare Source

Features
  • bump the commitlint group with 2 updates (ba3ef22)
  • bump the commitlint group with 2 updates (6644bfa)

v9.16.0

Compare Source

Features
  • bump the commitlint group with 2 updates (75c8c9b)

v9.15.0

Compare Source

Features
  • bump the commitlint group with 2 updates (b27b4a4)

v9.14.0

Compare Source

Features
  • bump the commitlint group with 2 updates (8f4d925)
  • bump the commitlint group with 2 updates (a5e9a14)
  • bump the commitlint group with 2 updates (a884f9a)

v9.13.0

Compare Source

Features
  • bump the commitlint group with 2 updates (61f9e97)
  • bump the commitlint group with 2 updates (28ca409)
  • converted to ESM (a203e19)

v9.12.0

Compare Source

Features
  • bump the commitlint group with 2 updates (cf4cb1e)
  • bump the commitlint group with 2 updates (076334a)
  • bump the commitlint group with 2 updates (0e51133)
  • bump the commitlint group with 2 updates (7075f07)
bufbuild/buf (bufbuild/buf)

v1.61.0

Compare Source

  • Disable format on unknown or invalid syntax.
  • Fix regression in LSP functionality for well-known types.
  • Fix browser open for buf registry login in WSL2.
  • Fix panic in LSP for EOF lookups.
  • Fix --create flag for buf push to avoid errors on already existing modules if create is disallowed.

v1.60.0

Compare Source

  • Fix LSP published diagnostics to filter to the opened file.
  • Add textDocument/documentSymbol support for buf lsp serve.
  • Fix LSP navigation for cached modules which could cause import paths to become unresolvable.
  • Update default value of --timeout flag to 0, which results in no timeout by default.

v1.59.0

Compare Source

  • Promote buf beta lsp to buf lsp serve. Command buf beta lsp is now deprecated.
  • Add textDocument/References support for buf lsp serve.
  • Add autocompletion for basic keywords, syntax, package and imports for buf lsp serve.
  • Add workspace symbol queries for buf lsp serve.
  • Fix positional encoding for diagnostics in buf lsp serve.
  • Fix format updates for buf lsp serve.
  • Fix syntax highlighting on semantic tokens for buf lsp serve.
  • Fix buf format to remove extraneous whitespace before the first header node (syntax/package
    declarations).

v1.58.0

Compare Source

  • Update PROTOVALIDATE lint rule to check IGNORE_IF_ZERO_VALUE on fields that track presence.
  • Fix buf format on fields with missing field number tags.
  • Optimize include and exclude path handling for workspaces to avoid unnecessary file system
    operations. This change can result in a performance improvement for large workspaces.
  • Fix buf curl for HTTP/2 services with --http2-prior-knowledge flag set.

v1.57.2

Compare Source

  • Fix buf curl for HTTP/2 services.

v1.57.1

Compare Source

  • Minor bug fixes and dependency upgrades.

v1.57.0

Compare Source

  • Update exclude types to remove unused options reducing the size of generated code.
  • Add gitlab-code-quality error format to print errors in the GitLab Code Quality format
    for buf lint and buf breaking.
  • Add source_control_url to json outputs for buf registry {module, plugin} commit commands.

v1.56.0

Compare Source

  • Add buf export --all flag to include non-proto source files.
  • Add s390x binaries for Linux to releases.
  • Fix ppc64le binaries for Linux released as x86_64 binaries.
  • buf lint will no longer warn about uses of (buf.validate.message).disabled, as it was
    removed in protovalidate v0.14.0. Please update to protovalidate v0.14.0 or higher, using the
    steps outlined in the
    protovalidate release notes.
  • Fix buf breaking --against-registry to work with new modules that have no commits on the
    default branch.

v1.55.1

Compare Source

  • Fix language version for pre-commit hooks.

v1.55.0

Compare Source

  • Promote buf beta stats to buf stats.
  • Update built-in Well-Known Types to Protobuf v31.1.
  • Add buf registry sdk info command.
  • Allow workspaces that are adding new module(s) with no module-specific breaking configurations
    to run buf breaking, ignoring new module(s).

v1.54.0

Compare Source

  • Add CSR category to breaking rules.
  • Add support for local bufplugins for protoc-gen-buf-breaking and protoc-gen-buf-lint.
  • Add RISC-V (64-bit) binaries for Linux to releases.
  • Fix type filtering on buf generate for empty files, files with no declared types.
  • Fix CEL check on buf lint for predefined rules variables.
  • Fix buf config migrate to filter out removed rules.
  • Allow users to set examples without constraints in PROTOVALIDATE lint rule.
  • Add ppc64le binaries for Linux to releases.

v1.53.0

Compare Source

  • Fix buf breaking annotations for JSON format.

v1.52.1

Compare Source

  • Fix language version for pre-commit hooks.

v1.52.0

Compare Source

  • Fix exclude_type on a non imported package.
  • Fix --exclude-type flag for buf generate when an input is specified.
  • Fix type filter import filtering for options.
  • Add OS environment when invoking local buf plugins.
  • Add file path to buf lint and buf breaking output even when source code info is not
    available. This allows buf lint and buf breaking to respect ignore and ignore_only
    configurations when source code info is not available.

v1.51.0

Compare Source

  • Fix buf convert to allow for zero length for binpb, txtpb, and yaml formats.
  • Fix use of deprecated flag --include-types for buf generate.
  • Add --against-registry flag to buf breaking that runs breaking checks against the latest
    commit on the default branch of the corresponding module in the registry.
  • Fix type filter with unused image dependencies for buf generate.
  • Improve type filtering for buf generate. Adds the ability to exclude types with the parameter
    exclude_types in buf.gen.yaml and a flag --exclude-types in the CLI.
    Type filters may now also be specified as plugin parameters in buf.gen.yaml.

v1.50.1

Compare Source

  • Minor fixes and dependency updates.

v1.50.0

Compare Source

  • Add input parameter filter for use with git inputs. This sets the filter
    flag argument for the git fetch command.

v1.49.0

Compare Source

  • Fix buf plugin push --label to allow pushing a plugin with a label.
  • Add --digest-changes-only flag to buf registry {module,plugin} commit list to filter
    out commits that have no digest changes.
  • Fix buf plugin push --source-control-url to allow pushing a plugin with the source
    control url.

v1.48.0

Compare Source

  • Add buf registry plugin {create,delete,info,update} commands to manage BSR plugins.
  • Breaking analysis support for buf beta lsp.
  • Fix bug when using the --type flag filter for buf build where import ordering is not
    deterministic.
  • Add buf plugin push command to push a plugin to the Buf Schema Registry.
    Only WebAssembly check plugins are supported at this time.
  • Add buf plugin update and buf plugin prune command to manage plugins in the buf.lock
    file. Only WebAssembly check plugins are supported at this time.
  • Add buf registry plugin commit {add-label,info,list,resolve} to manage BSR plugin commits.
  • Add buf registry plugin label {archive,info,list,unarchive} to manage BSR plugin commits.
  • Move buf registry module update to buf registry module settings update. Command
    buf registry module update is now deprecated.
  • Support remote check plugins in buf lint and buf breaking commands.

v1.47.2

Compare Source

  • Update the patch version to resolve NPM packaging issues. No command updates or user changes.

v1.47.1

Compare Source

  • Update the patch version to resolve NPM packaging issues. No command updates or user changes.

v1.47.0

Compare Source

  • Move buf registry commit to buf registry module commit. Command
    buf registry commit is now deprecated.
  • Move buf registry label to buf registry module label. Command
    buf registry label is now deprecated.

v1.46.0

Compare Source

  • Add buf registry whoami command, which checks if you are logged in to the Buf Schema
    Registry at a given domain.

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.

v1.30.1

Compare Source

  • Fix issue where buf lint incorrectly reports an error for (buf.validate.field).repeated
    is set for a repeated validation rule.

v1.30.0

Compare Source

  • Update buf generate so it populates the recently-added
    source_file_descriptors
    field of the CodeGeneratorRequest message. This provides the plugin with access to options
    that are configured to only be retained in source and not at runtime (via
    field option).
    Descriptors in the proto_file field will not include any options configured this way
    for the files named in file_to_generate field.
  • Add --exclude-source-retention-options flag to buf build, which
    causes options configured to only be retained in source to be stripped
    from the output descriptors.

v1.29.0

Compare Source

  • Add support for yaml format. All commands that take image inputs, output images,
    or convert between message formats, now take yaml as a format, in addition to
    the existing binpb and txtpb formats. Some examples:
    • buf build -o image.yaml
    • buf ls-files image.yaml
    • buf convert --type foo.Bar --from input.binpb --to output.yaml
  • The yaml and json formats now accept two new options: use_proto_names and
    use_enum_numbers. This affects output serialization. Some examples:
    • buf convert --type foo.Bar --from input.binpb --to output.yaml#use_proto_names=true
    • buf convert --type foo.Bar --from input.binpb --to -#format=yaml,use_enum_numbers=true
  • Fix issue where buf format would inadvertently mangle files that used
    the expanded Any syntax
    in option values.
golangci/golangci-lint (golangci/golangci-lint)

v1.64.8

Compare Source

  • Detects use of configuration files from golangci-lint v2

v1.64.7

Compare Source

  1. Linters bug fixes
    • depguard: from 2.2.0 to 2.2.1
    • dupl: from 3e9179a to f665c8d
    • gosec: from 2.22.1 to 2.22.2
    • staticcheck: from 0.6.0 to 0.6.1
  2. Documentation
    • Add GitLab documentation

v1.64.6

Compare Source

  1. Linters bug fixes
    • asciicheck: from 0.4.0 to 0.4.1
    • contextcheck: from 1.1.5 to 1.1.6
    • errcheck: from 1.8.0 to 1.9.0
    • exptostd: from 0.4.1 to 0.4.2
    • ginkgolinter: from 0.19.0 to 0.19.1
    • go-exhaustruct: from 3.3.0 to 3.3.1
    • gocheckcompilerdirectives: from 1.2.1 to 1.3.0
    • godot: from 1.4.20 to 1.5.0
    • perfsprint: from 0.8.1 to 0.8.2
    • revive: from 1.6.1 to 1.7.0
    • tagalign: from 1.4.1 to 1.4.2

v1.64.5

Compare Source

  1. Bug fixes
    • Add missing flag new-from-merge-base-flag
  2. Linters bug fixes
    • asciicheck: from 0.3.0 to 0.4.0
    • forcetypeassert: from 0.1.0 to 0.2.0
    • gosec: from 2.22.0 to 2.22.1

v1.64.4

Compare Source

  1. Linters bug fixes
    • gci: fix standard packages list for go1.24

v1.64.3

Compare Source

  1. Linters bug fixes
    • ginkgolinter: from 0.18.4 to 0.19.0
    • go-critic: from 0.11.5 to 0.12.0
    • revive: from 1.6.0 to 1.6.1
    • gci: fix standard packages list for go1.24
  2. Misc.
    • Build Docker images with go1.24

v1.64.2

Compare Source

This is the last minor release of golangci-lint v1.
The next release will be golangci-lint v2.

  1. Enhancements
    • 🎉 go1.24 support
    • New issues.new-from-merge-base option
    • New run.relative-path-mode option
  2. Linters new features
    • copyloopvar: from 1.1.0 to 1.2.1 (support suggested fixes)
    • exptostd: from 0.3.1 to 0.4.1 (handles golang.org/x/exp/constraints.Ordered)
    • fatcontext: from 0.5.3 to 0.7.1 (new option: check-struct-pointers)
    • perfsprint: from 0.7.1 to 0.8.1 (new options: integer-format, error-format, string-format, bool-format, and hex-format)
    • revive: from 1.5.1 to 1.6.0 (new rules: redundant-build-tag, use-errors-new. New option early-return.early-return)
  3. Linters bug fixes
    • go-errorlint: from 1.7.0 to 1.7.1
    • gochecknoglobals: from 0.2.1 to 0.2.2
    • godox: from 006bad1 to 1.1.0
    • gosec: from 2.21.4 to 2.22.0
    • iface: from 1.3.0 to 1.3.1
    • nilnesserr: from 0.1.1 to 0.1.2
    • protogetter: from 0.3.8 to 0.3.9
    • sloglint: from 0.7.2 to 0.9.0
    • spancheck: fix default StartSpanMatchersSlice values
    • staticcheck: from 0.5.1 to 0.6.0
  4. Deprecations
    • ⚠️ tenv is deprecated and replaced by usetesting.os-setenv: true.
    • ⚠️ exportloopref deprecation step 2
  5. Misc.
    • Sanitize severities by output format
    • Avoid panic with plugin without description
  6. Documentation
    • Clarify depguard configuration

v1.64.1

Compare Source

Cancelled due to CI failure.

v1.64.0

Compare Source

Cancelled due to CI failure.

v1.63.4

Compare Source

  1. Linters bug fixes
    • dupl, gomodguard, revive: keep only Go-files.

v1.63.3

Compare Source

  1. Linters bug fixes
    • gofmt, gofumpt, goimports, gci: panic with several trailing EOL
    • goheader: skip issues with invalid positions

v1.63.2

Compare Source

  1. Linters bug fixes
    • gofmt, gofumpt, goimports, gci: panic with missing trailing EOL

v1.63.1

Compare Source

  1. Linters bug fixes
    • cgi: invalid reports with cgo
    • gofumpt: panic with autofix and cgo

v1.63.0

Compare Source

  1. Enhancements
    • Add support for SuggestedFixes 🎉 (35 linters can "autofix" reports).
    • Formatters (gofmt, goimports, gofumpt, gci) are applied after the suggested fixes.
  2. New linters
  3. Linters new features
    • gci: new options: no-inline-comments, no-prefix-comments
    • gomoddirectives: from 0.2.4 to 0.6.0 (new options: go-version-pattern, toolchain-pattern,toolchain-forbidden, tool-forbidden, go-debug-forbidden)
    • govet: new stdversion, waitgroup analyzers
    • importas: allow multiple empty aliases
    • loggercheck: new slog option
    • recvcheck: from 0.1.2 to 0.2.0 (new options: disable-builtin, exclusions)
    • tagliatelle: from 0.5.0 to 0.7.1 (new options: ignored-fields, extended-rules,overrides, pkg, ignore)
    • usestdlibvars: from 1.27.0 to 1.28.0 (autofix)
    • wrapcheck: from 2.9.0 to 2.10.0 (new option: extra-ignore-sigs)
  4. Linters bug fixes
    • asciicheck: from 0.2.0 to 0.3.0
    • bodyclose: from 5742072 to ed6a65f
    • funlen: from 0.1.0 to 0.2.0
    • ginkgolinter: from 0.18.3 to 0.18.4
    • gochecksumtype: from 0.2.0 to 0.3.1
    • gocognit: from 1.1.3 to 1.2.0
    • godot: from 1.4.18 to 1.4.20
    • goheader: report position improvement
    • gosec: handling of global nosec option when it is false
    • iface: from 1.2.1 to 1.3.0
    • importas: from 0.1.0 to 0.2.0
    • intrange: from 0.2.1 to 0.3.0
    • makezero: from 1.1.1 to 1.2.0
    • mirror: from 1.2.0 to 1.3.0
    • nilnil: from 1.0.0 to 1.0.1
    • nosprintfhostport: from 0.1.1 to 0.2.0
    • reassign: from 0.2.0 to 0.3.0
    • spancheck: from 0.6.2 to 0.6.4
    • tagalign: from 1.3.4 to 1.4.1
    • wastedassign: from 2.0.7 to 2.1.0
    • whitespace: from 0.1.1 to 0.2.0
    • wsl: from 4.4.1 to 4.5.0
  5. Deprecations
    • ⚠️ output.uniq-by-line is deprecated and replaced by issues.uniq-by-line.
  6. Misc.
    • Improvements of the help command (color and JSON support).
    • Removes decoder, sloglint, tagalign from format preset.
    • Enables paths with junction inside Windows.
    • The timeout is disabled if run.timeout <= 0.

v1.62.2

Compare Source

  1. Linters bug fixes
    • fatcontext: from 0.5.2 to 0.5.3
    • ginkgolinter: from 0.18.0 to 0.18.3
    • errorlint: from 1.6.0 to 1.7.0
    • iface: from 1.2.0 to 1.2.1
    • revive: from 1.5.0 to 1.5.1
    • testifylint: from 1.5.0 to 1.5.2
  2. Misc.
    • fix: ignore cache error when file not found

v1.62.1

Compare Source

Cancelled due to CI failure.

v1.62.0

Compare Source

  1. New linters
  2. Linters new features
    • ginkgolinter: from 0.17.0 to 0.18.0 (new option: force-succeed)
    • gochecksumtype: from 0.1.4 to 0.2.0 (new option: default-signifies-exhaustive)
    • loggercheck: from 0.9.4 to 0.10.1 (log/slog support)
    • nilnil: from 0.1.9 to 1.0.0 (new option: detect-opposite)
    • revive: from 1.3.9 to 1.5.0 (new rules: filename-format, and file-length-limit)
    • tenv: from 1.10.0 to 1.12.1 (handle dot import)
    • testifylint: from 1.4.3 to 1.5.0 (new checkers: contains, encoded-compare, regexp)
  3. Linters bug fixes
    • bidichk: from 0.2.7 to 0.3.2 (important performance improvement)
    • canonicalheader: from 1.1.1 to 1.1.2
    • cyclop: from 1.2.1 to 1.2.3
    • dupword: from 0.1.1 to 0.1.3
    • errcheck: from 1.7.0 to 1.8.0
    • errchkjson: from 0.3.6 to 0.4.0
    • errname: from 0.1.13 to 1.0.0
    • gocritic: from 0.11.4 to 0.11.5
    • goprintffuncname: from 7558a9e to v0.1.0
    • godot: from 1.4.17 to 1.4.18
    • gosec: from 2.21.2 to 2.21.4
    • intrange: from 0.2.0 to 0.2.1
    • musttag: from 0.12.2 to 0.13.0
    • nakedret: from 2.0.4 to 2.0.5
    • noctx: from 0.0.2 to 0.1.0
    • protogetter: from 0.3.6 to 0.3.8
  4. Deprecations
    • ⚠️ execinquery: deprecation step 2
    • ⚠️ gomnd: deprecation step 2 (replaced by mnd)
  5. Misc.
    • Type sizing when cross-compiling (32-bit).
    • code-climate: add check_name field
    • Improve Go version detection
    • Fix Go version propagation
  6. Documentation
    • Adds a section about exclude-dirs-use-default
    • Improve 'install from sources' section
    • Improve FAQ about Go versions
    • Improve linter/rule/check docs
    • Improve new linter section
    • Improve forbidigo pattern examples for built-in functions

v1.61.0

Compare Source

  1. Enhancements
    • Add junit-xml-extended format
    • Exclude Swagger Codegen files by default
  2. Linters new features
    • gci: from 0.13.4 to 0.13.5 (new option no-lex-order)
    • nolintlint: remove the empty line in the directive replacement
  3. Linters bug fixes
    • dupword: from 0.0.14 to 0.1.1
    • fatcontext: from 0.4.0 to 0.5.2
    • go-ruleguard: from 0.4.2 to 0fe6f58 (fix panic with custom linters)
    • godot: from 1.4.16 to 1.4.17
    • gomodguard: from 1.3.3 to 1.3.5
    • gosec: disable temporarily G407
    • gosec: from ab3f6c1 to 2.21.2 (partially fix G115)
    • intrange: from 0.1.2 to 0.2.0
  4. Misc.
    • Improve runtime version parsing
  5. Documentation
    • Add additional info about typecheck

v1.60.3

Compare Source

  1. Updated linters
  2. Misc.
    • Check that the Go version use to build is greater or equals to the Go version of the project

v1.60.2

Compare Source

  1. Linters new features
  2. Linters bug fixes
    • gofmt: update to HEAD (go1.22)
    • gofumpt: from 0.6.0 to 0.7.0
    • gosec: fix G602 analyzer
    • staticcheck: from 0.5.0 to 0.5.1
    • staticcheck: propagate Go version
    • wrapcheck: from 2.8.3 to 2.9.0
  3. Deprecations
    • ⚠️ exportloopref: deprecation

v1.60.1

Compare Source

  1. Misc.
    • 🎉 go1.23 support
  2. Linters new features
    • exhaustruct: from 3.2.0 to 3.3.0 (recognize custom error values in return)
    • govet (printf): report non-constant format, no args
    • lll: advertise max line length instead of just reporting failure
    • revive: from 1.3.7 to 1.3.9 (new rule: comments-density)
    • staticcheck: from 0.4.7 to 0.5.0
    • testifylint: from 1.3.1 to 1.4.3 (new options: formatter, suite-broken-parallel, suite-subtest-run)
  3. Linters bug fixes
    • errorlint: from 1.5.2 to 1.6.0
    • fatcontext: from 0.2.2 to 0.4.0 (fix false positives for context stored in structs)
    • gocognit: from 1.1.2 to 1.1.3
    • gomodguard: from 1.3.2 to 1.3.3
    • sloglint: from 0.7.1 to 0.7.2
    • spancheck: from 0.6.1 to 0.6.2
    • tenv: from 1.7.1 to 1.10.0 (remove reports on fuzzing)
    • tparallel: from 0.3.1 to 0.3.2
    • usestdlibvars: from 1.26.0 to 1.27.0 (fix false-positive with number used inside a mathematical operations)
    • wsl: from 4.2.1 to 4.4.1
  4. Deprecations
    • ⚠️ unused: remove exported-is-used option
  5. Fixes
    • SARIF: sanitize level property
    • ⚠️ typecheck issues should never be ignored
  6. Documentation
    • Add link on linter without configuration
    • Remove 'trusted by' page
    • wsl update documentation of the configuration

v1.60.0

Compare Source

Cancelled due to a CI problem.

v1.59.1

Compare Source

  1. Updated linters
    • errorlint: from 1.5.1 to 1.5.2
    • gomnd: deprecated configuration compatibility
    • intrange: add style preset
    • misspell: from 0.5.1 to 0.6.0
    • sloglint: from 0.7.0 to 0.7.1
    • testifylint: from 1.3.0 to 1.3.1
    • unparam: bump to HEAD
    • usestdlibvars: from 1.25.0 to 1.26.0
  2. Fixes
    • SARIF: init empty result slice
    • SARIF: issue column >= 1
  3. Documentation
    • revive: update documentation of the configuration

v1.59.0

Compare Source

  1. Enhancements
    • Add SARIF output format
    • Allow the analysis of generated files (issues.exclude-generated: disable)
  2. Updated linters
    • errcheck: fix deprecation warning
    • gocritic: from 0.11.3 to 0.11.4
    • gosec: from 2.20.0 to 5f0084e (fix G601 and G113 performance issues)
    • sloglint: from 0.6.0 to 0.7.0 (new option forbidden-keys)
    • testifylint: from 1.2.0 to 1.3.0 (new checker negative-positive and new option go-require.ignore-http-handlers)
  3. Misc.
    • ️️⚠️ Deprecate github-action output format
    • ️️⚠️ Deprecate issues.exclude-generated-strict option (replaced by issues.exclude-generated: strict)
    • ️️⚠️ Add warning about disabled and deprecated linters (level 2)

v1.58.2

Compare Source

  1. Updated linters
    • canonicalheader: from 1.0.6 to 1.1.1
    • gosec: from 2.19.0 to 2.20.0
    • musttag: from 0.12.1 to 0.12.2
    • nilnil: from 0.1.8 to 0.1.9
  2. Documentation
    • Improve integrations and install pages

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • 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 changed the title build: update pre-commit hook bufbuild/buf to v1.29.0 build: update pre-commit Feb 7, 2024
@renovate renovate bot force-pushed the renovate/pre-commit branch 2 times, most recently from a7d35a7 to eae0a7c Compare February 8, 2024 19:18
@renovate renovate bot force-pushed the renovate/pre-commit branch from eae0a7c to af24c6b Compare February 15, 2024 18:57
@renovate renovate bot force-pushed the renovate/pre-commit branch 2 times, most recently from abab2c0 to 60b3aa7 Compare March 1, 2024 20:08
@renovate renovate bot force-pushed the renovate/pre-commit branch from 60b3aa7 to 6769686 Compare March 8, 2024 00:56
@renovate renovate bot force-pushed the renovate/pre-commit branch 2 times, most recently from 8458fbd to cf3a9a0 Compare March 20, 2024 18:59
@renovate renovate bot force-pushed the renovate/pre-commit branch 3 times, most recently from 3ee5fe7 to 3f90f5c Compare April 3, 2024 21:46
@renovate renovate bot force-pushed the renovate/pre-commit branch 2 times, most recently from f91b299 to 6aa5bfd Compare April 23, 2024 17:36
@renovate renovate bot force-pushed the renovate/pre-commit branch 2 times, most recently from a98370d to 28bd67b Compare May 8, 2024 21:35
@renovate renovate bot force-pushed the renovate/pre-commit branch 3 times, most recently from 9e06407 to b5d3089 Compare May 21, 2024 22:37
@renovate renovate bot force-pushed the renovate/pre-commit branch 2 times, most recently from 7d3f899 to 146743a Compare May 28, 2024 19:47
@renovate renovate bot force-pushed the renovate/pre-commit branch 2 times, most recently from 800fb81 to c42d2c0 Compare June 13, 2024 18:06
@renovate renovate bot force-pushed the renovate/pre-commit branch 2 times, most recently from 22b56f3 to 9fc3d71 Compare June 28, 2024 07:39
@renovate renovate bot force-pushed the renovate/pre-commit branch from 9fc3d71 to b9ba6ec Compare July 22, 2024 22:31
@codecov
Copy link

codecov bot commented Jul 22, 2024

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 54.81%. Comparing base (3cf2082) to head (0dd035a).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #52   +/-   ##
=======================================
  Coverage   54.81%   54.81%           
=======================================
  Files          25       25           
  Lines        1609     1609           
=======================================
  Hits          882      882           
  Misses        630      630           
  Partials       97       97           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@renovate renovate bot force-pushed the renovate/pre-commit branch from b9ba6ec to 90680ca Compare July 24, 2024 23:27
@renovate renovate bot force-pushed the renovate/pre-commit branch from 90680ca to 6cc5976 Compare August 6, 2024 20:32
@renovate renovate bot force-pushed the renovate/pre-commit branch 3 times, most recently from 0a7d86e to c6b1e45 Compare January 8, 2025 14:50
@renovate renovate bot force-pushed the renovate/pre-commit branch from c6b1e45 to c2f6b88 Compare January 17, 2025 21:27
@renovate renovate bot force-pushed the renovate/pre-commit branch 4 times, most recently from 644f8e3 to e8cd7c9 Compare February 15, 2025 14:00
@renovate renovate bot force-pushed the renovate/pre-commit branch from e8cd7c9 to 2104de7 Compare March 3, 2025 02:30
@renovate renovate bot force-pushed the renovate/pre-commit branch 3 times, most recently from 07db270 to 6254c3c Compare March 12, 2025 01:33
@renovate renovate bot force-pushed the renovate/pre-commit branch from 6254c3c to b588826 Compare March 17, 2025 22:46
@renovate renovate bot force-pushed the renovate/pre-commit branch from b588826 to ea85d53 Compare March 28, 2025 18:48
@renovate renovate bot force-pushed the renovate/pre-commit branch 2 times, most recently from 4907ba2 to ffc29ed Compare April 8, 2025 14:23
@renovate renovate bot force-pushed the renovate/pre-commit branch from ffc29ed to 726baa7 Compare April 21, 2025 19:51
@renovate renovate bot force-pushed the renovate/pre-commit branch from 726baa7 to 02441aa Compare May 12, 2025 19:35
@renovate renovate bot force-pushed the renovate/pre-commit branch 2 times, most recently from f60b0dd to 4bb1b6a Compare June 18, 2025 03:22
@renovate renovate bot force-pushed the renovate/pre-commit branch from 4bb1b6a to 7e1fc52 Compare July 31, 2025 21:13
@renovate renovate bot force-pushed the renovate/pre-commit branch from 7e1fc52 to ee471f8 Compare August 27, 2025 20:23
@renovate renovate bot force-pushed the renovate/pre-commit branch 2 times, most recently from afb3d7c to 900ad93 Compare September 17, 2025 02:35
@renovate renovate bot force-pushed the renovate/pre-commit branch from 900ad93 to d0aa8cb Compare October 2, 2025 14:34
@renovate renovate bot force-pushed the renovate/pre-commit branch from d0aa8cb to e259bb2 Compare October 9, 2025 19:45
@renovate renovate bot force-pushed the renovate/pre-commit branch from e259bb2 to 3cab791 Compare October 20, 2025 22:32
@renovate renovate bot force-pushed the renovate/pre-commit branch from 3cab791 to 656db98 Compare November 14, 2025 21:48
@renovate renovate bot force-pushed the renovate/pre-commit branch from 656db98 to 0dd035a Compare November 26, 2025 02:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant