Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jan 9, 2026

This PR contains the following updates:

Package Update Change
golangci/golangci-lint minor v2.7.2v2.8.0

Release Notes

golangci/golangci-lint (golangci/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

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Never, 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 a team as a code owner January 9, 2026 13:34
| datasource | package                | from   | to     |
| ---------- | ---------------------- | ------ | ------ |
| docker     | golangci/golangci-lint | v2.7.2 | v2.8.0 |


Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@renovate renovate bot force-pushed the renovate/golangci-golangci-lint-2.x branch from a977b54 to ad03222 Compare January 13, 2026 08:59
mnencia added a commit that referenced this pull request Jan 13, 2026
The golangci-lint v2.8.0 upgrade introduced a prealloc linter finding
suggesting to preallocate the envs slice with capacity 5 + len(config.env)
to avoid reallocations when appending config.env elements.

Closes #721

Signed-off-by: Marco Nenciarini <[email protected]>
@dosubot dosubot bot added the size:S This PR changes 10-29 lines, ignoring generated files. label Jan 13, 2026
The golangci-lint v2.8.0 upgrade introduced a prealloc linter finding
suggesting to preallocate the envs slice with capacity 5 + len(config.env)
to avoid reallocations when appending config.env elements.

Signed-off-by: Marco Nenciarini <[email protected]>
@mnencia mnencia force-pushed the renovate/golangci-golangci-lint-2.x branch from 4f869a3 to b6c2c2f Compare January 13, 2026 21:12
@renovate
Copy link
Contributor Author

renovate bot commented Jan 13, 2026

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Jan 14, 2026
@mnencia mnencia merged commit ad8a176 into main Jan 14, 2026
7 checks passed
@mnencia mnencia deleted the renovate/golangci-golangci-lint-2.x branch January 14, 2026 11:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automated lgtm This PR has been approved by a maintainer no-issue size:S This PR changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant