Skip to content

Bump github.com/golangci/golangci-lint/v2 from 2.0.2 to 2.1.2 in /tools#117

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/tools/github.com/golangci/golangci-lint/v2-2.1.2
Closed

Bump github.com/golangci/golangci-lint/v2 from 2.0.2 to 2.1.2 in /tools#117
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/tools/github.com/golangci/golangci-lint/v2-2.1.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Apr 21, 2025

Copy link
Copy Markdown
Contributor

Bumps github.com/golangci/golangci-lint/v2 from 2.0.2 to 2.1.2.

Release notes

Sourced from github.com/golangci/golangci-lint/v2's releases.

v2.1.2

golangci-lint is a free and open-source project built by volunteers.

If you value it, consider supporting us, the maintainers and linter authors.

We appreciate it! ❤️

For key updates, see the changelog.

Changelog

  • 997470cefa6efbcf9ff8387e8c4343d2307c7f94 build(deps): bump github.com/ghostiam/protogetter from 0.3.13 to 0.3.14 (#5727)
  • 7dde13b4c5c8972cba342bde837b1e7aeddbb16b build(deps): bump github.com/ghostiam/protogetter from 0.3.14 to 0.3.15 (#5732)
  • 15817283fd6b2c1049f5f8215df94084a9597cd4 build(deps): bump github.com/ldez/exptostd from 0.4.2 to 0.4.3 (#5730)
  • 3afce899b2a3b477168b847c34d565c62d4fad18 build(deps): bump github.com/ldez/usetesting from 0.4.2 to 0.4.3 (#5729)
  • 624edd14d9ee6b0ea8248639913de7435d33a9a0 build(deps): bump mvdan.cc/gofumpt from 0.7.0 to 0.8.0 (#5728)

v2.1.1

golangci-lint is a free and open-source project built by volunteers.

If you value it, consider supporting us, the maintainers and linter authors.

We appreciate it! ❤️

For key updates, see the changelog.

Changelog

The release process of v2.1.0 failed due to a regression inside goreleaser.

The binaries of v2.1.0 have been published, but not the other artifacts (AUR, Docker, etc.).

v2.1.0

golangci-lint is a free and open-source project built by volunteers.

If you value it, consider supporting us, the maintainers and linter authors.

We appreciate it! ❤️

For key updates, see the changelog.

Changelog

  • a39e032e73ac05b8caceedbe61a380bd62c866d9 Add funcorder linter (#5630)
  • 61bbcc4ed4330b862bfdb1dc858c0e7190af1ed1 build(deps): bump dependencies in the linter-testdata group (#5691)
  • 3f0afe4a96174dd8ea4a0d2f3559898eca8b2b4d build(deps): bump github.com/Antonboom/testifylint from 1.6.0 to 1.6.1 (#5654)
  • d0b46ebbe9d099deb0ff31d51117f2877d1d38ad build(deps): bump github.com/Crocmagnon/fatcontext from 0.7.1 to 0.7.2 (#5685)
  • d1f1519139d6fbac7f6e6c38b412cee6cab3c83f build(deps): bump github.com/alecthomas/chroma/v2 from 2.15.0 to 2.16.0 (#5690)
  • 18a264faab73706c47fb2b690fe215ab4edf8099 build(deps): bump github.com/alexkohler/nakedret/v2 from 2.0.5 to 2.0.6 (#5681)
  • df1b1bb8064cd61af00fda63edda117fcc76b6b2 build(deps): bump github.com/alingse/nilnesserr from 0.1.2 to 0.2.0 (#5693)
  • ab604ca7d6f28f011ce00d48c3905c8aebd76dd0 build(deps): bump github.com/bombsimon/wsl/v4 from 4.6.0 to 4.7.0 (#5689)
  • a7a49fed797beb0d195ce6daf33355ff30fe5f3c build(deps): bump github.com/butuzov/ireturn from 0.3.1 to 0.4.0 (#5710)

... (truncated)

Changelog

Sourced from github.com/golangci/golangci-lint/v2's changelog.

v2.1.2

  1. Linters bug fixes
    • exptostd: from 0.4.2 to 0.4.3
    • gofumpt: from 0.7.0 to 0.8.0
    • protogetter: from 0.3.13 to 0.3.15
    • usetesting: from 0.4.2 to 0.4.3

v2.1.1

The release process of v2.1.0 failed due to a regression inside goreleaser.

The binaries of v2.1.0 have been published, but not the other artifacts (AUR, Docker, etc.).

v2.1.0

  1. Enhancements
    • Add an option to display absolute paths (--path-mode=abs)
    • Add configuration path placeholder (${config-path})
    • Add warn-unused option for fmt command
    • Colored diff for fmt command (golangci-lint fmt --diff-colored)
  2. New linters
  3. Linters new features or changes
    • go-errorlint: from 1.7.1 to 1.8.0 (automatic error comparison and type assertion fixes)
    • ⚠️ goconst: ignore-strings is deprecated and replaced by ignore-string-values
    • goconst: from 1.7.1 to 1.8.1 (new options: find-duplicates, eval-const-expressions)
    • govet: add httpmux analyzer
    • nilnesserr: from 0.1.2 to 0.2.0 (detect more cases)
    • paralleltest: from 1.0.10 to 1.0.14 (checks only _test.go files)
    • revive: from 1.7.0 to 1.9.0 (support kebab case for setting names)
    • sloglint: from 0.9.0 to 0.11.0 (autofix, new option msg-style, suggest slog.DiscardHandler)
    • wrapcheck: from 2.10.0 to 2.11.0 (new option report-internal-errors)
    • wsl: from 4.6.0 to 4.7.0 (cgo files are always excluded)
  4. Linters bug fixes
    • fatcontext: from 0.7.1 to 0.7.2
    • gocritic: fix importshadow checker
    • gosec: from 2.22.2 to 2.22.3
    • ireturn: from 0.3.1 to 0.4.0
    • loggercheck: from 0.10.1 to 0.11.0
    • nakedret: from 2.0.5 to 2.0.6
    • nonamedreturns: from 1.0.5 to 1.0.6
    • protogetter: from 0.3.12 to 0.3.13
    • testifylint: from 1.6.0 to 1.6.1
    • unconvert: update to HEAD
  5. Misc.
    • Fixes memory leaks when using go1.(N) with golangci-lint built with go1.(N-X)
    • Adds golangci-lint-fmt pre-commit hook
  6. Documentation
    • Improvements

... (truncated)

Commits
  • 00a561d chore: prepare release
  • 6de1453 docs: fix default value of linters.exclusions.generated (#5735)
  • 7dde13b build(deps): bump github.com/ghostiam/protogetter from 0.3.14 to 0.3.15 (#5732)
  • a05ea26 dev: simplify mnd implementation (#5731)
  • 3afce89 build(deps): bump github.com/ldez/usetesting from 0.4.2 to 0.4.3 (#5729)
  • 1581728 build(deps): bump github.com/ldez/exptostd from 0.4.2 to 0.4.3 (#5730)
  • 624edd1 build(deps): bump mvdan.cc/gofumpt from 0.7.0 to 0.8.0 (#5728)
  • 997470c build(deps): bump github.com/ghostiam/protogetter from 0.3.13 to 0.3.14 (#5727)
  • 50f7446 docs: update GitHub Action assets (#5724)
  • d1b1db7 docs: update changelog
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/golangci/golangci-lint/v2](https://github.com/golangci/golangci-lint) from 2.0.2 to 2.1.2.
- [Release notes](https://github.com/golangci/golangci-lint/releases)
- [Changelog](https://github.com/golangci/golangci-lint/blob/main/CHANGELOG.md)
- [Commits](golangci/golangci-lint@v2.0.2...v2.1.2)

---
updated-dependencies:
- dependency-name: github.com/golangci/golangci-lint/v2
  dependency-version: 2.1.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Apr 21, 2025
@dependabot dependabot Bot requested a review from alexandear April 21, 2025 12:59
@dependabot @github

dependabot Bot commented on behalf of github Apr 28, 2025

Copy link
Copy Markdown
Contributor Author

Superseded by #118.

@dependabot dependabot Bot closed this Apr 28, 2025
@dependabot dependabot Bot deleted the dependabot/go_modules/tools/github.com/golangci/golangci-lint/v2-2.1.2 branch April 28, 2025 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update Go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants