Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Dec 6, 2025

This PR contains the following updates:

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

Release Notes

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

v2.8.0

Compare Source

Released on 2026-01-07

  1. Linters new features or changes
    • godoc-lint: from 0.10.2 to 0.11.1 (new rule: require-stdlib-doclink)
    • golines: from 442fd00 to 0.14.0
    • gomoddirectives: from 0.7.1 to 0.8.0
    • gosec: from daccba6 to 2.22.11 (new rule: G116)
    • modernize: from 0.39.0 to 0.40.0 (new analyzers: stringscut, unsafefuncs)
    • prealloc: from 1.0.0 to 1.0.1 (message changes)
    • unqueryvet: from 1.3.0 to 1.4.0 (new options: check-aliased-wildcard, check-string-concat, check-format-strings, check-string-builder, check-subqueries, ignored-functions, sql-builders)
  2. Linters bug fixes
    • go-critic: from 0.14.2 to 0.14.3
    • go-errorlint: from 1.8.0 to 1.9.0
    • govet: from 0.39.0 to 0.40.0
    • protogetter: from 0.3.17 to 0.3.18
    • revive: add missing enable-default-rules setting
  3. Documentation
    • docs: split installation page

v2.7.2

Compare Source

Released on 2025-12-07

  1. Linter bug fixes

v2.7.1

Compare Source

Released on 2025-12-04

  1. Linter bug fixes
    • modernize: disable stringscut analyzer

v2.7.0

Compare Source

  1. Bug fixes
    • fix: clone args used by custom command
  2. Linters new features or changes
    • no-sprintf-host-port: from 0.2.0 to 0.3.1 (ignore string literals without a colon)
    • unqueryvet: from 1.2.1 to 1.3.0 (handles const and var declarations)
    • revive: from 1.12.0 to 1.13.0 (new option: enable-default-rules, new rules: forbidden-call-in-wg-go, unnecessary-if, inefficient-map-lookup)
    • modernize: from 0.38.0 to 0.39.0 (new analyzers: plusbuild, stringscut)
  3. Linters bug fixes
    • perfsprint: from 0.10.0 to 0.10.1
    • wrapcheck: from 2.11.0 to 2.12.0
    • godoc-lint: from 0.10.1 to 0.10.2
  4. Misc.
    • Add some flags to the custom command
  5. Documentation
    • docs: split changelog v1 and v2

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 December 6, 2025 21:54
@github-actions
Copy link
Contributor

github-actions bot commented Dec 6, 2025

Renovate PR Review Results

⚖️ Safety Assessment: ✅ Safe

🔍 Release Content Analysis

  • Version Jump: Updating from v2.6.2 to v2.8.0 (through v2.7.0, v2.7.1, v2.7.2)
  • Linter Updates: Multiple linters received feature enhancements and bug fixes:
    • New rules added to existing linters (godoc-lint, gosec G116, modernize analyzers)
    • Enhanced functionality for unqueryvet and revive linters
    • Message improvements in prealloc linter
  • Bug Fixes: Multiple linter bug fixes including go-critic, go-errorlint, govet, protogetter
  • Breaking Changes: None identified - all changes appear to be additive features or bug fixes
  • Security Fixes: No specific security vulnerabilities addressed, but gosec linter received updates including new rule G116

🎯 Impact Scope Investigation

  • Usage Locations: golangci-lint is used in:
    • mise.toml:3 - Tool version definition
    • .github/workflows/ci.yml:58 - CI lint job using golangci-lint run --verbose ./...
    • CLAUDE.md - Documentation references
  • Configuration: No .golangci.yml or .golangci.yaml configuration file found - using default settings
  • CI/CD Impact: The lint job in GitHub Actions runs with --verbose ./... flags, which remain compatible
  • Dependencies: Tool is managed via mise (similar to asdf), no Go module dependencies affected

💡 Recommended Actions

  • Immediate Action: ✅ Safe to merge - no breaking changes or configuration updates required
  • Post-Merge Verification: Run mise install locally to verify the new version installs correctly
  • Optional Enhancement: Consider creating a .golangci.yml configuration file to take advantage of new linter rules and features
  • Documentation Update: The version reference in CLAUDE.md (showing 2.1.6) appears outdated and could be updated to reflect current practice

🔗 Reference Links

Generated by koki-develop/claude-renovate-review

@renovate renovate bot force-pushed the renovate/go-github.com-golangci-golangci-lint-v2-cmd-golangci-lint-2.x branch from 5ec3eae to 5190c78 Compare December 7, 2025 17:59
@renovate renovate bot changed the title chore(deps): update module go:github.com/golangci/golangci-lint/v2/cmd/golangci-lint to v2.7.0 chore(deps): update module go:github.com/golangci/golangci-lint/v2/cmd/golangci-lint to v2.7.1 Dec 7, 2025
@renovate renovate bot force-pushed the renovate/go-github.com-golangci-golangci-lint-v2-cmd-golangci-lint-2.x branch from 5190c78 to 7a3b21a Compare December 10, 2025 18:03
@renovate renovate bot changed the title chore(deps): update module go:github.com/golangci/golangci-lint/v2/cmd/golangci-lint to v2.7.1 chore(deps): update module go:github.com/golangci/golangci-lint/v2/cmd/golangci-lint to v2.7.2 Dec 10, 2025
@renovate renovate bot force-pushed the renovate/go-github.com-golangci-golangci-lint-v2-cmd-golangci-lint-2.x branch from 7a3b21a to 126cdc2 Compare January 10, 2026 21:35
@renovate renovate bot changed the title chore(deps): update module go:github.com/golangci/golangci-lint/v2/cmd/golangci-lint to v2.7.2 chore(deps): update module go:github.com/golangci/golangci-lint/v2/cmd/golangci-lint to v2.8.0 Jan 10, 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.

1 participant