Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Nov 23, 2025

This PR contains the following updates:

Package Change Age Confidence
go:github.com/golangci/golangci-lint/v2/cmd/golangci-lint 2.4.0 -> 2.6.2 age confidence

Release Notes

golangci/golangci-lint (go:github.com/golangci/golangci-lint/v2/cmd/golangci-lint)

v2.6.2

Compare Source

Released on 2025-11-14

  1. Bug fixes
    • fmt command with symlinks
    • use file depending on build configuration to invalidate cache
  2. Linters bug fixes
    • testableexamples: from 1.0.0 to 1.0.1
    • testpackage: from 1.1.1 to 1.1.2

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

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 renovate bot requested a review from koki-develop as a code owner November 23, 2025 07:14
@github-actions
Copy link
Contributor

Renovate PR Review Results

⚖️ Safety Assessment: ✅ Safe

🔍 Release Content Analysis

v2.4.0 → v2.6.2 Changes:

  • New Linters Added: godoclint, unqueryvet, iotamixing, modernize analyzer suite
  • Enhanced Linter Features: Multiple existing linters received new options and improved functionality (e.g., exhaustruct, embeddedstructfieldcheck, gofumpt, revive)
  • Bug Fixes: Numerous stability improvements across linters including gosec, fatcontext, testifylint, and others
  • Go Version Support: Added support for Go 1.25 (already used in this project)
  • No Breaking Changes: All updates maintain backward compatibility with existing configurations

Security Considerations:

  • gosec linter updated from 2.22.7 → 2.22.10 with security improvements
  • No security vulnerabilities reported in the changelog
  • All changes are incremental improvements rather than major architectural changes

🎯 Impact Scope Investigation

Usage Analysis:

  • Tool Installation: golangci-lint is managed via mise.toml (version update: 2.4.0 → 2.6.2)
  • CI Integration: Used in .github/workflows/ci.yml:55 with command golangci-lint run --verbose ./...
  • No Custom Configuration: Project uses default golangci-lint settings (no .golangci.yml found)
  • Environment Setup: CI uses mise-action to install tools, which will automatically pick up the new version

Dependency Impact:

  • No direct Go module dependencies affected (golangci-lint is a standalone tool)
  • Current Go version (1.25.4) is fully supported by new golangci-lint version
  • No changes required to existing Go code or project structure

💡 Recommended Actions

Immediate Actions:

  • Safe to merge - No breaking changes or compatibility issues identified
  • The upgrade is purely additive with bug fixes and new linter capabilities
  • CI pipeline will continue to work without modifications

Optional Follow-up Actions:

  • Consider reviewing new linters (godoclint, unqueryvet, iotamixing, modernize) to evaluate if they would benefit the project
  • Update CLAUDE.md documentation which still references "golangci-lint 2.1.6" in the project instructions

Post-merge Validation:

  • Monitor CI pipeline for any unexpected linter warnings from enhanced rules
  • No code changes expected, but new linters might surface previously undetected code quality issues

🔗 Reference Links

Generated by koki-develop/claude-renovate-review

@koki-develop koki-develop merged commit 71648fb into main Nov 24, 2025
6 checks passed
@koki-develop koki-develop deleted the renovate/go-github.com-golangci-golangci-lint-v2-cmd-golangci-lint-2.x branch November 24, 2025 01:55
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.

2 participants