Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jun 28, 2025

This PR contains the following updates:

Package Change Age Confidence
github.com/golangci/golangci-lint/v2 v2.1.6 -> v2.6.1 age confidence

Release Notes

golangci/golangci-lint (github.com/golangci/golangci-lint/v2)

v2.6.1

Compare Source

v2.6.0

Compare Source

  1. New linters
    • Add modernize analyzer suite
  2. Linters new features or changes
    • arangolint: from 0.2.0 to 0.3.1
    • dupword: from 0.1.6 to 0.1.7 (new option comments-only)
    • go-critic: from 0.13.0 to 0.14.0 (new rules/checkers: zeroByteRepeat, dupOption)
    • gofumpt: from 0.9.1 to 0.9.2 ("clothe" naked returns is now controlled by the extra-rules option)
    • perfsprint: from 0.9.1 to 0.10.0 (new options: concat-loop, loop-other-ops)
    • wsl: from 5.2.0 to 5.3.0
  3. Linters bug fixes
    • dupword: from 0.1.6 to 0.1.7
    • durationcheck: from 0.0.10 to 0.0.11
    • exptostd: from 0.4.4 to 0.4.5
    • fatcontext: from 0.8.1 to 0.9.0
    • forbidigo: from 2.1.0 to 2.3.0
    • ginkgolinter: from 0.21.0 to 0.21.2
    • godoc-lint: from 0.10.0 to 0.10.1
    • gomoddirectives: from 0.7.0 to 0.7.1
    • gosec: from 2.22.8 to 2.22.10
    • makezero: from 2.0.1 to 2.1.0
    • nilerr: from 0.1.1 to 0.1.2
    • paralleltest: from 1.0.14 to 1.0.15
    • protogetter: from 0.3.16 to 0.3.17
    • unparam: from 0df0534 to 5beb8c8
  4. Misc.
    • fix: ignore some files to hash the version for custom build

v2.5.0

Compare Source

  1. New linters
  2. Linters new features or changes
    • embeddedstructfieldcheck: from 0.3.0 to 0.4.0 (new option: empty-line)
    • err113: from aea10b5 to 0.1.1 (skip internals of Is methods for error type)
    • ginkgolinter: from 0.20.0 to 0.21.0 (new option: force-tonot)
    • gofumpt: from 0.8.0 to 0.9.1 (new rule is to "clothe" naked returns for the sake of clarity)
    • ineffassign: from 0.1.0 to 0.2.0 (new option: check-escaping-errors)
    • musttag: from 0.13.1 to 0.14.0 (support interface methods)
    • revive: from 1.11.0 to 1.12.0 (new options: identical-ifelseif-branches, identical-ifelseif-conditions, identical-switch-branches, identical-switch-conditions, package-directory-mismatch, unsecure-url-scheme, use-waitgroup-go, useless-fallthrough)
    • thelper: from 0.6.3 to 0.7.1 (skip t.Helper in functions passed to synctest.Test)
    • wsl: from 5.1.1 to 5.2.0 (improvements related to subexpressions)
  3. Linters bug fixes
    • asciicheck: from 0.4.1 to 0.5.0
    • errname: from 1.1.0 to 1.1.1
    • fatcontext: from 0.8.0 to 0.8.1
    • go-printf-func-name: from 0.1.0 to 0.1.1
    • godot: from 1.5.1 to 1.5.4
    • gosec: from 2.22.7 to 2.22.8
    • nilerr: from 0.1.1 to a temporary fork
    • nilnil: from 1.1.0 to 1.1.1
    • protogetter: from 0.3.15 to 0.3.16
    • tagliatelle: from 0.7.1 to 0.7.2
    • testifylint: from 1.6.1 to 1.6.4
  4. Misc.
    • fix: "no export data" errors are now handled as a standard typecheck error
  5. Documentation
    • Improve nolint section about syntax

v2.4.0

Compare Source

  1. Enhancements
    • 🎉 go1.25 support
  2. Linters new features or changes
    • exhaustruct: from v3.3.1 to 4.0.0 (new options: allow-empty, allow-empty-rx, allow-empty-returns, allow-empty-declarations)
  3. Linters bug fixes
    • godox: trim filepath from report messages
    • staticcheck: allow empty options
    • tagalign: from 1.4.2 to 1.4.3
  4. Documentation
    • 🌟 New website (with a search engine)

v2.3.1

Compare Source

  1. Linters bug fixes
    • gci: from 0.13.6 to 0.13.7
    • gosec: from 2.22.6 to 2.22.7
    • noctx: from 0.3.5 to 0.4.0
    • wsl: from 5.1.0 to 5.1.1
    • tagliatelle: force upper case for custom initialisms

v2.3.0

Compare Source

  1. Linters new features or changes
    • ginkgolinter: from 0.19.1 to 0.20.0 (new option: force-assertion-description)
    • iface: from 1.4.0 to 1.4.1 (report message improvements)
    • noctx: from 0.3.4 to 0.3.5 (new detections: log/slog, exec, crypto/tls)
    • revive: from 1.10.0 to 1.11.0 (new rule: enforce-switch-style)
    • wsl: from 5.0.0 to 5.1.0
  2. Linters bug fixes
    • gosec: from 2.22.5 to 2.22.6
    • noinlineerr: from 1.0.4 to 1.0.5
    • sloglint: from 0.11.0 to 0.11.1
  3. Misc.
    • fix: panic close of closed channel

v2.2.2

Compare Source

  1. Linters bug fixes
    • noinlineerr: from 1.0.3 to 1.0.4
  2. Documentation
    • Improve debug keys documentation
  3. Misc.
    • fix: panic close of closed channel
    • godot: add noinline value into the JSONSchema

v2.2.1

Compare Source

  1. Linters bug fixes
  • varnamelen: fix configuration

v2.2.0

Compare Source

  1. New linters
  2. Linters new features or changes
    • errcheck: add verbose option
    • funcorder: from 0.2.1 to 0.5.0 (new option alphabetical)
    • gomoddirectives: from 0.6.1 to 0.7.0 (new option ignore-forbidden)
    • iface: from 1.3.1 to 1.4.0 (new option unexported)
    • noctx: from 0.1.0 to 0.3.3 (new report messages, and new rules related to database/sql)
    • noctx: from 0.3.3 to 0.3.4 (new SQL functions detection)
    • revive: from 1.9.0 to 1.10.0 (new rules: time-date, unnecessary-format, use-fmt-print)
    • usestdlibvars: from 1.28.0 to 1.29.0 (new option time-date-month)
    • wsl: deprecation
    • wsl_v5: from 4.7.0 to 5.0.0 (major version with new configuration)
  3. Linters bug fixes
    • dupword: from 0.1.3 to 0.1.6
    • exptostd: from 0.4.3 to 0.4.4
    • forbidigo: from 1.6.0 to 2.1.0
    • gci: consistently format the code
    • go-spancheck: from 0.6.4 to 0.6.5
    • goconst: from 1.8.1 to 1.8.2
    • gosec: from 2.22.3 to 2.22.4
    • gosec: from 2.22.4 to 2.22.5
    • makezero: from 1.2.0 to 2.0.1
    • misspell: from 0.6.0 to 0.7.0
    • usetesting: from 0.4.3 to 0.5.0
  4. Misc.
    • exclusions: fix path-expect
    • formatters: write the input to stdout when using stdin and there are no changes
    • migration: improve the error message when trying to migrate a migrated config
    • typecheck: deduplicate errors
    • typecheck: stops the analysis after the first error
    • Deprecate print-resources-usage flag
    • Unique version per custom build
  5. Documentation
    • Improves typecheck FAQ
    • Adds plugin systems recommendations
    • Add description for linters.default sets

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.

🔕 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
Copy link
Contributor Author

renovate bot commented Jun 28, 2025

ℹ 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):

  • 63 additional dependencies were updated
  • The go directive was updated for compatibility reasons

Details:

Package Change
go 1.24 -> 1.24.0
github.com/stretchr/testify v1.10.0 -> v1.11.1
go.opentelemetry.io/otel v1.36.0 -> v1.37.0
go.opentelemetry.io/otel/trace v1.36.0 -> v1.37.0
github.com/4meepo/tagalign v1.4.2 -> v1.4.3
github.com/Abirdcfly/dupword v0.1.3 -> v0.1.7
github.com/Antonboom/errname v1.1.0 -> v1.1.1
github.com/Antonboom/nilnil v1.1.0 -> v1.1.1
github.com/Antonboom/testifylint v1.6.1 -> v1.6.4
github.com/Djarvur/go-err113 v0.0.0-20210108212216-aea10b59be24 -> v0.1.1
github.com/Masterminds/semver/v3 v3.3.1 -> v3.4.0
github.com/alecthomas/chroma/v2 v2.17.2 -> v2.20.0
github.com/catenacyber/perfsprint v0.9.1 -> v0.10.0
github.com/ccojocar/zxcvbn-go v1.0.2 -> v1.0.4
github.com/charithe/durationcheck v0.0.10 -> v0.0.11
github.com/daixiang0/gci v0.13.6 -> v0.13.7
github.com/ghostiam/protogetter v0.3.15 -> v0.3.17
github.com/go-critic/go-critic v0.13.0 -> v0.14.2
github.com/go-viper/mapstructure/v2 v2.2.1 -> v2.4.0
github.com/gofrs/flock v0.12.1 -> v0.13.0
github.com/golangci/go-printf-func-name v0.1.0 -> v0.1.1
github.com/golangci/misspell v0.6.0 -> v0.7.0
github.com/golangci/plugin-module-register v0.1.1 -> v0.1.2
github.com/gordonklaus/ineffassign v0.1.0 -> v0.2.0
github.com/gorilla/websocket v1.5.0 -> v1.5.3
github.com/gostaticanalysis/nilerr v0.1.1 -> v0.1.2
github.com/jgautheron/goconst v1.8.1 -> v1.8.2
github.com/jjti/go-spancheck v0.6.4 -> v0.6.5
github.com/karamaru-alpha/copyloopvar v1.2.1 -> v1.2.2
github.com/kulti/thelper v0.6.3 -> v0.7.1
github.com/kunwardeep/paralleltest v1.0.14 -> v1.0.15
github.com/ldez/exptostd v0.4.3 -> v0.4.5
github.com/ldez/gomoddirectives v0.6.1 -> v0.7.1
github.com/ldez/grignotin v0.9.0 -> v0.10.1
github.com/ldez/tagliatelle v0.7.1 -> v0.7.2
github.com/ldez/usetesting v0.4.3 -> v0.5.0
github.com/manuelarte/funcorder v0.2.1 -> v0.5.0
github.com/mgechev/revive v1.9.0 -> v1.12.0
github.com/nunnatsa/ginkgolinter v0.19.1 -> v0.21.2
github.com/quasilyte/go-ruleguard v0.4.4 -> v0.4.5
github.com/quasilyte/go-ruleguard/dsl v0.3.22 -> v0.3.23
github.com/santhosh-tekuri/jsonschema/v6 v6.0.1 -> v6.0.2
github.com/sashamelentyev/usestdlibvars v1.28.0 -> v1.29.0
github.com/securego/gosec/v2 v2.22.3 -> v2.22.10
github.com/sonatard/noctx v0.1.0 -> v0.4.0
github.com/spf13/cobra v1.9.1 -> v1.10.1
github.com/spf13/pflag v1.0.6 -> v1.0.10
github.com/tetafro/godot v1.5.1 -> v1.5.4
github.com/uudashr/iface v1.3.1 -> v1.4.1
go-simpler.org/musttag v0.13.1 -> v0.14.0
go-simpler.org/sloglint v0.11.0 -> v0.11.1
go.augendre.info/fatcontext v0.8.0 -> v0.9.0
go.opentelemetry.io/otel/metric v1.36.0 -> v1.37.0
go.uber.org/multierr v1.6.0 -> v1.10.0
go.uber.org/zap v1.24.0 -> v1.27.0
golang.org/x/exp/typeparams v0.0.0-20250210185358-939b2ce775ac -> v0.0.0-20251023183803-a4bb9ffd2546
golang.org/x/mod v0.24.0 -> v0.29.0
golang.org/x/sync v0.13.0 -> v0.17.0
golang.org/x/sys v0.33.0 -> v0.37.0
golang.org/x/text v0.24.0 -> v0.30.0
golang.org/x/tools v0.32.0 -> v0.38.0
google.golang.org/protobuf v1.36.6 -> v1.36.8
mvdan.cc/gofumpt v0.8.0 -> v0.9.2
mvdan.cc/unparam v0.0.0-20250301125049-0df0534333a4 -> v0.0.0-20251027182757-5beb8c8f8f15

@codecov
Copy link

codecov bot commented Jun 28, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.2%. Comparing base (eac4435) to head (b1bdbc9).

Additional details and impacted files
@@           Coverage Diff           @@
##            main    #287     +/-   ##
=======================================
+ Coverage   94.6%   95.2%   +0.6%     
=======================================
  Files          3       3             
  Lines        225     191     -34     
=======================================
- Hits         213     182     -31     
+ Misses         9       6      -3     
  Partials       3       3             

☔ 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.

@renovate renovate bot changed the title chore(deps): update module github.com/golangci/golangci-lint/v2 to v2.2.0 chore(deps): update module github.com/golangci/golangci-lint/v2 to v2.2.1 Jun 30, 2025
@renovate renovate bot force-pushed the renovate/github.com-golangci-golangci-lint-v2-2.x branch from 7e12fd2 to 1d83446 Compare June 30, 2025 00:59
@renovate renovate bot force-pushed the renovate/github.com-golangci-golangci-lint-v2-2.x branch from 1d83446 to c34112a Compare July 11, 2025 12:28
@renovate renovate bot changed the title chore(deps): update module github.com/golangci/golangci-lint/v2 to v2.2.1 chore(deps): update module github.com/golangci/golangci-lint/v2 to v2.2.2 Jul 11, 2025
@renovate renovate bot changed the title chore(deps): update module github.com/golangci/golangci-lint/v2 to v2.2.2 chore(deps): update module github.com/golangci/golangci-lint/v2 to v2.3.0 Jul 21, 2025
@renovate renovate bot force-pushed the renovate/github.com-golangci-golangci-lint-v2-2.x branch from c34112a to 111c37c Compare July 21, 2025 18:56
@renovate renovate bot changed the title chore(deps): update module github.com/golangci/golangci-lint/v2 to v2.3.0 chore(deps): update module github.com/golangci/golangci-lint/v2 to v2.3.1 Aug 2, 2025
@renovate renovate bot force-pushed the renovate/github.com-golangci-golangci-lint-v2-2.x branch from 111c37c to 72b88c8 Compare August 2, 2025 21:54
@renovate renovate bot force-pushed the renovate/github.com-golangci-golangci-lint-v2-2.x branch from 72b88c8 to 6bd31d1 Compare August 10, 2025 13:07
@renovate renovate bot changed the title chore(deps): update module github.com/golangci/golangci-lint/v2 to v2.3.1 chore(deps): update module github.com/golangci/golangci-lint/v2 to v2.4.0 Aug 13, 2025
@renovate renovate bot force-pushed the renovate/github.com-golangci-golangci-lint-v2-2.x branch from 6bd31d1 to 7df0165 Compare August 13, 2025 22:45
@renovate renovate bot changed the title chore(deps): update module github.com/golangci/golangci-lint/v2 to v2.4.0 chore(deps): update module github.com/golangci/golangci-lint/v2 to v2.5.0 Sep 21, 2025
@renovate renovate bot force-pushed the renovate/github.com-golangci-golangci-lint-v2-2.x branch from 7df0165 to 4e9018b Compare September 21, 2025 20:49
@renovate renovate bot changed the title chore(deps): update module github.com/golangci/golangci-lint/v2 to v2.5.0 chore(deps): update module github.com/golangci/golangci-lint/v2 to v2.6.0 Oct 29, 2025
@renovate renovate bot force-pushed the renovate/github.com-golangci-golangci-lint-v2-2.x branch from 4e9018b to 5a80069 Compare October 29, 2025 23:06
@renovate renovate bot force-pushed the renovate/github.com-golangci-golangci-lint-v2-2.x branch from 5a80069 to b1bdbc9 Compare November 4, 2025 14:00
@renovate renovate bot changed the title chore(deps): update module github.com/golangci/golangci-lint/v2 to v2.6.0 chore(deps): update module github.com/golangci/golangci-lint/v2 to v2.6.1 Nov 4, 2025
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.

1 participant