Skip to content

Update module github.com/golangci/golangci-lint/v2 to v2.15.0 - #301

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/github.com-golangci-golangci-lint-v2-2.x
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/github.com-golangci-golangci-lint-v2-2.x

Conversation

@renovate

@renovate renovate Bot commented Jul 20, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
github.com/golangci/golangci-lint/v2 v2.11.4 → v2.15.0 age confidence

Release Notes

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

v2.15.0

Compare Source

Released on 2026-10-16

  1. Linters new features or changes
    • errcheck: from 1.20.0 to 1.30.0
    • exhaustive: from 0.13.0 to 0.15.0 (⚠️ changes)
    • gocognit: from 1.2.1 to 1.3.0
    • golines: from 0.15.0 to 0.16.0
    • govet-modernize: from 0.50.0 to 0.52.0
    • loggercheck: from 0.12.0 to 0.13.0
    • predeclared: from 0.2.2 to 0.3.0
    • wrapcheck: from 2.12.0 to 2.13.0
  2. Linters bug fixes
    • bidichk: from 0.3.3 to 0.3.4
    • canonicalheader: from a25c71c to e18e5c5
    • gofumpt: improve deprecation logs
    • gosec: improve concurrency default value
    • iface: from 1.5.1 to 1.5.3
    • paralleltest: from 1.0.15 to 1.0.16
    • revive: from 1.17.0 to 1.17.1
    • revive: the rules context-keys-type, errorf, modifies-value-receiver, range-val-address, string-of-int, time-equal, time-naming, unexported-return, unhandled-error, var-declaration are working (less randomly).
    • rowserrcheck: from c5f79b8 to e0740d5
    • staticcheck: from 0.8.1 to 0.8.2
  3. Bug fixes
    • fix: compute custom version hash with module versions
    • fix: env vars loading (related to revive)

⚠️ Changes of the exhaustive linter:

  • The replaced options still exists, and partially works, but they are deprecated.
  • The options explicit-exhaustive-switch and explicit-exhaustive-map have been replaced by explicit-exhaustive.
  • The check the value map has been replaced by mapliteral.
  • The option ignore-enum-members (string) has been replaced by ignore-constants (slice).
  • The option ignore-enum-types (string) has been replaced by ignore-types (slice).
  • New report messages.
  • The linter is a now a "slow" linter.

v2.14.0

Compare Source

Released on 2026-09-24

  1. Bug fixes
    • fix: cache of facts reloading
  2. Linters new features or changes
    • bodyclose: from 73d1f95 to 857993a (new directive handled)
    • exhaustive: from 0.12.0 to 0.13.0
    • exhaustruct_v5: from 5.0.3 to 5.2.0 (new option: allow-empty-blank-assignments)
    • go-check-sumtype: from 0.3.1 to ae6904d
    • gocritic: from 0.14.4 to 0.15.0
    • gofumpt: from 0.11.0 to 0.12.0
    • gomoddirectives: from 0.9.0 to 0.10.0
    • gosec: from 2.28.0 to 2.29.0 (re-enable G407)
    • govet-modernize: from 0.49.0 to 0.50.0
    • loggercheck: from 0.11.0 to 0.12.0
    • revive: from 1.15.0 to 1.17.0 (new rules: marshal-receiver, multiline-if-init, use-slices-concat)
    • tagliatelle: from 0.7.2 to 0.8.0
  3. Linters bug fixes
    • fatcontext: from 0.10.0 to 0.10.1
    • flock: from 0.13.0 to 0.13.1
    • godoclint: from 0.11.2 to 0.11.4
    • protogetter: from 0.3.21 to 1.0.1
    • recvcheck: from 0.3.0 to 0.3.1
    • tagalign: from 1.4.3 to 1.4.4

v2.13.2

Compare Source

Released on 2026-08-28

  1. Bug fixes
    • Decrease cache entropy
  2. Linters bug fixes
    • iface: from 1.5.0 to 1.5.1
    • staticcheck: from 0.8.0 to 0.8.1
    • unparam: from 3f964bc to 2fa3d84
    • canonicalheader: from v1.1.2 to a temporary fork

v2.13.1

Compare Source

Released on 2026-08-20

  1. Linters bug fixes
    • ginkgolinter: from 0.23.1 to 0.24.0
    • gofmt: from d62b90e to e84e050
    • staticcheck: from 0.8.0-rc.1 to 0.8.0
    • wsl_v5: from 5.8.0 to 5.9.0

v2.13.0

Compare Source

Released on 2026-08-19

  1. Enhancements
    • 🎉 go1.27 support
  2. Bug fixes
    • fix: cache package facts
  3. Linters new features or changes
    • dupword: from 0.1.7 to 0.1.8 (new option skip-raw-strings)
    • errcheck: from 1.10.0 to 1.20.0
    • exhaustruct_v5: from 4.0.0 to 5.0.2 (new configuration)
    • exhaustruct: deprecated and replaced by exhaustruct_v5
    • fatcontext: from 0.9.0 to 0.10.0 (new options: check-loops, check-function-literals)
    • goconst: from 1.10.0 to 1.11.0 (new options: ignore-map-keys, exclude-types)
    • gofumpt: from 0.9.2 to 0.11.0 (new options: extra.group-params, extra.clothe-returns, extra.balance-calls)
    • gomoddirectives: from 0.8.0 to 0.9.0 (new option: replace-allow-all)
    • gosec: from 2.26.1 to 2.27.1
    • govet-modernize: from 0.44.0 to 0.49.0 (fmtappendf is removed. New analyzers atomictypes, embedlit, errorsastype, importcomment, reflecttypeassert, slicesclip, and slicesbackward. waitgroup is renamed waitgroupgo)
    • iface: from 1.4.3 to 1.5.0 (new analyzer: unusedmethod)
    • noinlineerr: from 1.0.5 to 1.0.6
    • nonamedreturns: from 1.0.6 to 1.0.8 (new option: allow-unused-named-returns)
    • recvcheck: from 0.2.0 to 0.3.0 (new default exclusions)
    • unparam: from 5beb8c8 to 3f964bc
  4. Linters bug fixes
    • clickhouse-go-linter: from 1.2.0 to 1.2.1
    • errname: from 1.1.1 to 1.1.2
    • exhaustruct_v5: from 5.0.2 to 5.0.3
    • funcorder: add missing Function field
    • ginkgolinter: from 0.23.0 to 0.23.1
    • gocheckcompilerdirectives: from 1.3.0 to 1.4.0
    • gocritic: from 0.14.3 to 0.14.4
    • gomoddirectives: add missing IgnoreForbidden field
    • iface: from 1.4.2 to 1.4.3
    • mirror: from 1.3.0 to 1.3.3
    • nilnil: from 1.1.1 to 1.1.2
    • protogetter: from 0.3.20 to 0.3.21

v2.12.2

Compare Source

Released on 2026-05-06

  1. Linters bug fixes
    • gomodguard_v2: fix blocked configuration
    • gomodguard_v2: from 2.1.0 to 2.1.3
    • iface: from 1.4.1 to 1.4.2

v2.12.1

Compare Source

Released on 2026-05-01

  1. Linters bug fixes
    • gomodguard_v2: fix panic with migration suggestion
  2. Misc.
    • fix install.sh script (if you are still using an URL based on the branch master, please update to use https://golangci-lint.run/install.sh)

v2.12.0

Compare Source

Released on 2026-05-01

  1. New linters
  2. Linters new features or changes
    • dupl: from f665c8d to c99c5cf (extended detection)
    • funcorder: from 0.5.0 to 0.6.0 (new option: function)
    • goconst: add an option to ignore strings from tests
    • goconst: from 1.8.2 to 1.10.0 (extended detection)
    • gomodguard_v2: from 1.4.1 to 2.1.0 (major version with new configuration)
    • gosec: from 619ce21 to 2.28.0 (new checks: G124, G708, G709, G710)
    • govet: add inline analyzer
    • makezero: from 2.1.0 to 2.2.1 (support slice type aliases)
    • paralleltest: expose checkcleanup option
    • sloglint: from 0.11.1 to 0.12.0 (new options: allowed-keys, custom-funcs)
    • wsl_v5: from 5.6.0 to 5.8.0 (new option: cuddle-max-statements; new checks: after-decl, after-defer, after-expr, after-go, cuddle-group)
  3. Linters bug fixes
    • forbidigo: from 2.3.0 to 2.3.1
    • godot: from 1.5.4 to 1.5.6
    • govet-modernize: from 0.43.0 to 0.44.0
    • ireturn: from 0.4.0 to 0.4.1
    • rowserrcheck: from 1.1.1 to c5f79b8
  4. Misc.
    • Decrease cache entropy
    • Embed the JSON schema in the binary
    • Filter env vars when cloning the repository with the custom command

Configuration

📅 Schedule: (UTC)

  • 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 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 commented Jul 20, 2026 •

Copy link
Copy Markdown
Contributor Author

ℹ️ Artifact update notice

File name: build/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):

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

Details:

Package Change
go 1.25.0 -> 1.26.0
4d63.com/gocheckcompilerdirectives v1.3.0 -> v1.4.0
codeberg.org/chavacava/garif v0.2.0 -> v0.2.1
dev.gaijin.team/go/golib v0.6.0 -> v0.8.1
github.com/4meepo/tagalign v1.4.3 -> v1.4.4
github.com/Abirdcfly/dupword v0.1.7 -> v0.1.8
github.com/AlwxSin/noinlineerr v1.0.5 -> v1.0.6
github.com/Antonboom/errname v1.1.1 -> v1.1.2
github.com/Antonboom/nilnil v1.1.1 -> v1.1.2
github.com/Masterminds/semver/v3 v3.4.0 -> v3.5.0
github.com/alecthomas/chroma/v2 v2.23.1 -> v2.27.0
github.com/alecthomas/go-check-sumtype v0.3.1 -> v0.5.1-0.20260828200218-ae6904d28606
github.com/ashanbrown/forbidigo/v2 v2.3.0 -> v2.3.1
github.com/ashanbrown/makezero/v2 v2.1.0 -> v2.2.1
github.com/bombsimon/wsl/v5 v5.6.0 -> v5.9.0
github.com/breml/bidichk v0.3.3 -> v0.3.4
github.com/butuzov/ireturn v0.4.0 -> v0.4.1
github.com/butuzov/mirror v1.3.0 -> v1.3.3
github.com/charmbracelet/colorprofile v0.2.3-0.20250311203215-f60798e515dc -> v0.4.3
github.com/charmbracelet/x/ansi v0.10.1 -> v0.11.8
github.com/charmbracelet/x/term v0.2.1 -> v0.2.2
github.com/dave/dst v0.27.3 -> v0.28.0
github.com/dlclark/regexp2 v1.11.5 -> v1.12.0
github.com/firefart/nonamedreturns v1.0.6 -> v1.0.8
github.com/fsnotify/fsnotify v1.5.4 -> v1.9.0
github.com/ghostiam/protogetter v0.3.20 -> v1.0.1
github.com/go-critic/go-critic v0.14.3 -> v0.15.0
github.com/godoc-lint/godoc-lint v0.11.2 -> v0.11.4
github.com/gofrs/flock v0.13.0 -> v0.13.1
github.com/golangci/dupl v0.0.0-20250308024227-f665c8d69b32 -> v0.0.0-20260401084720-c99c5cf5c202
github.com/golangci/gofmt v0.0.0-20250106114630-d62b90e6713d -> v0.0.0-20260820135601-e84e05053792
github.com/golangci/golines v0.15.0 -> v0.16.0
github.com/hashicorp/go-version v1.8.0 -> v1.9.0
github.com/jgautheron/goconst v1.8.2 -> v1.11.0
github.com/kisielk/errcheck v1.10.0 -> v1.30.0
github.com/kunwardeep/paralleltest v1.0.15 -> v1.0.16
github.com/ldez/gomoddirectives v0.8.0 -> v0.10.0
github.com/ldez/tagliatelle v0.7.2 -> v0.8.0
github.com/lucasb-eyer/go-colorful v1.2.0 -> v1.4.1
github.com/manuelarte/funcorder v0.5.0 -> v0.6.0
github.com/mattn/go-colorable v0.1.14 -> v0.1.16
github.com/mattn/go-isatty v0.0.20 -> v0.0.22
github.com/mattn/go-runewidth v0.0.16 -> v0.0.24
github.com/mgechev/revive v1.15.0 -> v1.17.1
github.com/nishanths/exhaustive v0.12.0 -> v0.15.0
github.com/nishanths/predeclared v0.2.2 -> v0.3.0
github.com/nunnatsa/ginkgolinter v0.23.0 -> v0.24.0
github.com/pelletier/go-toml/v2 v2.2.4 -> v2.4.3
github.com/raeperd/recvcheck v0.2.0 -> v0.3.1
github.com/rogpeppe/go-internal v1.14.1 -> v1.16.0
github.com/santhosh-tekuri/jsonschema/v6 v6.0.2 -> v6.0.3
github.com/securego/gosec/v2 v2.24.8-0.20260309165252-619ce2117e08 -> v2.29.0
github.com/sirupsen/logrus v1.9.4 -> v1.10.2
github.com/sourcegraph/go-diff v0.7.0 -> v0.9.0
github.com/stretchr/objx v0.5.2 -> v0.5.3
github.com/stretchr/testify v1.11.1 -> v1.12.1
github.com/tetafro/godot v1.5.4 -> v1.5.6
github.com/timakin/bodyclose v0.0.0-20241222091800-1db5c5ca4d67 -> v0.0.0-20260723120731-857993a2939c
github.com/timonwong/loggercheck v0.11.0 -> v0.13.0
github.com/tomarrell/wrapcheck/v2 v2.12.0 -> v2.13.0
github.com/uudashr/gocognit v1.2.1 -> v1.3.0
github.com/uudashr/iface v1.4.1 -> v1.5.3
github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e -> v1.0.0
go-simpler.org/sloglint v0.11.1 -> v0.12.0
go.augendre.info/fatcontext v0.9.0 -> v0.10.1
go.yaml.in/yaml/v3 v3.0.4 -> v3.0.5
golang.org/x/exp/typeparams v0.0.0-20260209203927-2842357ff358 -> v0.0.0-20260811152304-ee035b5b010f
golang.org/x/mod v0.34.0 -> v0.42.0
golang.org/x/sync v0.20.0 -> v0.24.0
golang.org/x/sys v0.45.0 -> v0.49.0
golang.org/x/text v0.34.0 -> v0.41.0
golang.org/x/tools v0.43.0 -> v0.52.0
google.golang.org/protobuf v1.36.8 -> v1.36.12
honnef.co/go/tools v0.7.0 -> v0.8.2
mvdan.cc/gofumpt v0.9.2 -> v0.12.0
mvdan.cc/unparam v0.0.0-20251027182757-5beb8c8f8f15 -> v0.0.0-20260823230713-2fa3d841b0c8

@renovate
renovate Bot force-pushed the renovate/github.com-golangci-golangci-lint-v2-2.x branch 7 times, most recently from a9d3339 to 4a66b5b Compare July 23, 2026 09:50
@renovate
renovate Bot force-pushed the renovate/github.com-golangci-golangci-lint-v2-2.x branch from 4a66b5b to fb03b17 Compare August 3, 2026 10:50
@renovate renovate Bot changed the title Update module github.com/golangci/golangci-lint/v2 to v2.12.2 Update module github.com/golangci/golangci-lint/v2 to v2.12.2 - autoclosed Aug 5, 2026
@renovate renovate Bot closed this Aug 5, 2026
@renovate
renovate Bot deleted the renovate/github.com-golangci-golangci-lint-v2-2.x branch August 5, 2026 18:31
@renovate renovate Bot changed the title Update module github.com/golangci/golangci-lint/v2 to v2.12.2 - autoclosed Update module github.com/golangci/golangci-lint/v2 to v2.12.2 Aug 5, 2026
@renovate renovate Bot reopened this Aug 5, 2026
@renovate
renovate Bot force-pushed the renovate/github.com-golangci-golangci-lint-v2-2.x branch 2 times, most recently from fb03b17 to c69b3eb Compare August 5, 2026 23:32
@renovate renovate Bot changed the title Update module github.com/golangci/golangci-lint/v2 to v2.12.2 Update module github.com/golangci/golangci-lint/v2 to v2.12.2 - autoclosed Aug 6, 2026
@renovate renovate Bot closed this Aug 6, 2026
@renovate renovate Bot changed the title Update module github.com/golangci/golangci-lint/v2 to v2.12.2 - autoclosed Update module github.com/golangci/golangci-lint/v2 to v2.12.2 Aug 6, 2026
@renovate renovate Bot reopened this Aug 6, 2026
@renovate
renovate Bot force-pushed the renovate/github.com-golangci-golangci-lint-v2-2.x branch 2 times, most recently from c69b3eb to 34b4fc8 Compare August 6, 2026 19:01
@renovate
renovate Bot force-pushed the renovate/github.com-golangci-golangci-lint-v2-2.x branch 2 times, most recently from 7d4dd47 to 638c7a1 Compare August 20, 2026 02:27
@renovate renovate Bot changed the title Update module github.com/golangci/golangci-lint/v2 to v2.12.2 Update module github.com/golangci/golangci-lint/v2 to v2.13.0 Aug 20, 2026
@renovate
renovate Bot force-pushed the renovate/github.com-golangci-golangci-lint-v2-2.x branch from 638c7a1 to 74b7e49 Compare August 20, 2026 17:52
@renovate renovate Bot changed the title Update module github.com/golangci/golangci-lint/v2 to v2.13.0 Update module github.com/golangci/golangci-lint/v2 to v2.13.1 Aug 20, 2026
@renovate
renovate Bot force-pushed the renovate/github.com-golangci-golangci-lint-v2-2.x branch from 74b7e49 to 6c1c278 Compare August 21, 2026 09:16
@renovate renovate Bot changed the title Update module github.com/golangci/golangci-lint/v2 to v2.13.1 Update module github.com/golangci/golangci-lint/v2 to v2.13.2 Aug 28, 2026
@renovate
renovate Bot force-pushed the renovate/github.com-golangci-golangci-lint-v2-2.x branch from 6c1c278 to 57fc26f Compare August 28, 2026 03:09
@renovate renovate Bot changed the title Update module github.com/golangci/golangci-lint/v2 to v2.13.2 Update module github.com/golangci/golangci-lint/v2 to v2.13.2 - autoclosed Aug 28, 2026
@renovate renovate Bot closed this Aug 28, 2026
@renovate renovate Bot changed the title Update module github.com/golangci/golangci-lint/v2 to v2.13.2 - autoclosed Update module github.com/golangci/golangci-lint/v2 to v2.13.2 Aug 29, 2026
@renovate renovate Bot reopened this Aug 29, 2026
@renovate
renovate Bot force-pushed the renovate/github.com-golangci-golangci-lint-v2-2.x branch 2 times, most recently from 57fc26f to 2b7418a Compare August 29, 2026 01:09
@renovate renovate Bot changed the title Update module github.com/golangci/golangci-lint/v2 to v2.13.2 Update module github.com/golangci/golangci-lint/v2 to v2.13.2 - autoclosed Aug 30, 2026
@renovate renovate Bot closed this Aug 30, 2026
@renovate renovate Bot changed the title Update module github.com/golangci/golangci-lint/v2 to v2.13.2 - autoclosed Update module github.com/golangci/golangci-lint/v2 to v2.13.2 Aug 30, 2026
@renovate renovate Bot reopened this Aug 30, 2026
@renovate
renovate Bot force-pushed the renovate/github.com-golangci-golangci-lint-v2-2.x branch from 2b7418a to 76e5091 Compare August 30, 2026 14:26
@renovate renovate Bot changed the title Update module github.com/golangci/golangci-lint/v2 to v2.13.2 Update module github.com/golangci/golangci-lint/v2 to v2.13.2 - autoclosed Sep 1, 2026
@renovate renovate Bot closed this Sep 1, 2026
@renovate renovate Bot changed the title Update module github.com/golangci/golangci-lint/v2 to v2.13.2 - autoclosed Update module github.com/golangci/golangci-lint/v2 to v2.13.2 Sep 1, 2026
@renovate renovate Bot reopened this Sep 1, 2026
@renovate
renovate Bot force-pushed the renovate/github.com-golangci-golangci-lint-v2-2.x branch from 76e5091 to 7410a7d Compare September 1, 2026 11:12
@renovate renovate Bot changed the title Update module github.com/golangci/golangci-lint/v2 to v2.13.2 Update module github.com/golangci/golangci-lint/v2 to v2.13.2 - autoclosed Sep 2, 2026
@renovate renovate Bot closed this Sep 2, 2026
@renovate renovate Bot changed the title Update module github.com/golangci/golangci-lint/v2 to v2.13.2 - autoclosed Update module github.com/golangci/golangci-lint/v2 to v2.13.2 Sep 3, 2026
@renovate renovate Bot reopened this Sep 3, 2026
@renovate
renovate Bot force-pushed the renovate/github.com-golangci-golangci-lint-v2-2.x branch 2 times, most recently from 7410a7d to 50ae2e2 Compare September 3, 2026 00:50
@renovate renovate Bot changed the title Update module github.com/golangci/golangci-lint/v2 to v2.13.2 Update module github.com/golangci/golangci-lint/v2 to v2.14.0 Sep 25, 2026
@renovate
renovate Bot force-pushed the renovate/github.com-golangci-golangci-lint-v2-2.x branch from 50ae2e2 to 7e8c304 Compare September 25, 2026 03:11
@renovate
renovate Bot force-pushed the renovate/github.com-golangci-golangci-lint-v2-2.x branch from 7e8c304 to 38b01c8 Compare October 16, 2026 12:46
@renovate renovate Bot changed the title Update module github.com/golangci/golangci-lint/v2 to v2.14.0 Update module github.com/golangci/golangci-lint/v2 to v2.15.0 Oct 16, 2026
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