← Back to Pull requests

build: Update dependency golangci/golangci-lint to v2.15.0 #21

Closed
unknown closed this pull request without merging on Nov 30, 2026 06:53 UTC
View on GitHub
unknown unknown commented on Nov 30, 2026 06:33 UTC
Author

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| golangci/golangci-lint | minor | v2.9.0 → v2.15.0 |

---

Release Notes

<details>
<summary>golangci/golangci-lint</summary>

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
    - Add clickhouselint linter <https://github.com/ClickHouse/clickhouse-go-linter>
    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

    v2.11.4

    Compare Source

    Released on 2026-03-22

    1. Linters bug fixes
    - govet-modernize: from 0.42.0 to 0.43.0
    - noctx: from 0.5.0 to 0.5.1
    - sqlclosecheck: from 0.5.1 to 0.6.0

    v2.11.3

    Compare Source

    Released on 2026-03-10

    1. Linters bug fixes
    - gosec: from v2.24.7 to 619ce21

    v2.11.2

    Compare Source

    Released on 2026-03-07

    1. Fixes
    - fmt: fix error when using the fmt command with explicit paths.

    v2.11.1

    Compare Source

    Released on 2026-03-06

    Due to an error related to AUR, some artifacts of the v2.11.0 release have not been published.

    This release contains the same things as v2.11.0.

    v2.11.0

    Compare Source

    Released on 2026-03-06

    1. Linters new features or changes
    - errcheck: from 1.9.0 to 1.10.0 (exclude crypto/rand.Read by default)
    - gosec: from 2.23.0 to 2.24.6 (new rules: G113, G118, G119, G120, G121, G122, G123, G408, G707)
    - noctx: from 0.4.0 to 0.5.0 (new detection: httptest.NewRequestWithContext)
    - prealloc: from 1.0.2 to 1.1.0
    - revive: from 1.14.0 to 1.15.0 (⚠️ Breaking change: package-related checks moved from var-naming to a new rule package-naming)
    2. Linters bug fixes
    - gocognit: from 1.2.0 to 1.2.1
    - gosec: from 2.24.6 to 2.24.7
    - unqueryvet: from 1.5.3 to 1.5.4

    v2.10.1

    Compare Source

    Released on 2026-02-17

    1. Fixes
    - buildssa panic

    v2.10.0

    Compare Source

    Released on 2026-02-17

    1. Linters new features or changes
    - ginkgolinter: from 0.22.0 to 0.23.0
    - gosec: from 2.22.11 to 2.23.0 (new rules: G117, G602, G701, G702, G703, G704, G705, G706)
    - staticcheck: from 0.6.1 to 0.7.0
    2. Linters bug fixes
    - godoclint: from 0.11.1 to 0.11.2

    </details>

    ---

    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.

    ---

    - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

    ---

    This PR has been generated by Mend Renovate CLI.
    <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4yNjQuMSIsInVwZGF0ZWRJblZlciI6IjQ0LjI2NC4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->

    Diff: 650 lines (+487 / -163) across 8 files Reviewer: pjbgf Review duration: 20m
    All Vouch review confidence checks passed
    Residual risk 0.21 = Change Risk (0.52) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.52 · 650 lines diff across 8 files
    0.52
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    60%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.388
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #21"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 52% (MEDIUM) · Higher = larger blast radius
    52%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 60.5% · Lower = rushed or shallow review
    60.5%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 20.5% · Safe to merge
    20.5%
    Repository