Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Releases: golangci/golangci-lint

v2.12.2

06 May 11:36
Immutable release. Only release title and notes can be modified.
c0d3ddc

Choose a tag to compare

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

  • 0b01827 build(deps): bump github.com/onsi/ginkgo/v2 from 2.28.1 to 2.28.2 in /pkg/golinters/ginkgolinter/testdata in the linter-testdata group across 1 directory (#6559)
  • 1a0697f build(deps): bump github.com/pelletier/go-toml/v2 from 2.3.0 to 2.3.1 (#6548)
  • f11cfe0 build(deps): bump github.com/ryancurrah/gomodguard/v2 from 2.1.0 to 2.1.3 (#6549)
  • fb2c241 build(deps): bump github.com/shirou/gopsutil/v4 from 4.26.3 to 4.26.4 (#6547)
  • 9a10710 build(deps): bump github.com/uudashr/iface from 1.4.1 to 1.4.2 (#6557)
  • 81e8f81 gomodguard: fix blocked configuration (#6561)

v2.12.1

02 May 10:35
9aa24e9

Choose a tag to compare

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

Important

If you are using the install script from the master branch:
https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh
This branch is not used anymore, we are using main.

We recommend using https://golangci-lint.run/install.sh as URL to install golangci-lint.

https://golangci-lint.run/docs/welcome/install/local/#binaries

v2.12.0

01 May 13:09
7761527

Choose a tag to compare

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

Important

If you are using the install script from the master branch:
https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh
This branch is not used anymore, we are using main.

We recommend using https://golangci-lint.run/install.sh as URL to install golangci-lint.

https://golangci-lint.run/docs/welcome/install/local/#binaries

  • d092dad Bump github.com/jingyugao/rowserrcheck from v1.1.1 to c5f79b8 (#6510)
  • eec5c47 build(deps): bump github.com/Masterminds/semver/v3 from 3.4.0 to 3.5.0 (#6535)
  • c670072 build(deps): bump github.com/alecthomas/chroma/v2 from 2.23.1 to 2.24.1 (#6534)
  • 493a1c8 build(deps): bump github.com/ashanbrown/forbidigo/v2 from 2.3.0 to 2.3.1 (#6502)
  • 3ad7eac build(deps): bump github.com/ashanbrown/makezero/v2 from 2.1.0 to 2.2.0 (#6492)
  • 4ab3b44 build(deps): bump github.com/ashanbrown/makezero/v2 from 2.2.0 to 2.2.1 (#6503)
  • 8116fb5 build(deps): bump github.com/bombsimon/wsl/v5 from 5.6.0 to 5.8.0 (#6536)
  • d144666 build(deps): bump github.com/butuzov/ireturn from 0.4.0 to 0.4.1 (#6462)
  • 06707e1 build(deps): bump github.com/charmbracelet/lipgloss from v1.1.0 to v2.0.3 (#6529)
  • b3ac139 build(deps): bump github.com/golangci/dupl from f665c8d69b32 to c99c5cf5c202 (#6474)
  • 7abc771 build(deps): bump github.com/hashicorp/go-version from 1.8.0 to 1.9.0 (#6484)
  • 3acada0 build(deps): bump github.com/jgautheron/goconst from 1.8.2 to 1.9.0 (#6421)
  • 5b1b0bf build(deps): bump github.com/jgautheron/goconst from 1.9.0 to 1.10.0 (#6482)
  • 479e560 build(deps): bump github.com/manuelarte/funcorder from 0.5.0 to 0.6.0 (#6494)
  • 8c2e9b5 build(deps): bump github.com/pelletier/go-toml/v2 from 2.2.4 to 2.3.0 (#6461)
  • e3016c8 build(deps): bump github.com/rs/zerolog from 1.35.0 to 1.35.1 in /pkg/golinters/arangolint/testdata in the linter-testdata group across 1 directory (#6531)
  • 83284fe build(deps): bump github.com/ryancurrah/gomodguard/v2 from 1.4.1 to 2.1.0 (#6465)
  • 8589d80 build(deps): bump github.com/securego/gosec/v2 from 2.25.0 to 2.26.1 (#6532)
  • 1175bc9 build(deps): bump github.com/securego/gosec/v2 from 619ce2117e08 to 2.25.0 (#6443)
  • 9684c78 build(deps): bump github.com/shirou/gopsutil/v4 from 4.26.2 to 4.26.3 (#6483)
  • bb01e40 build(deps): bump github.com/sourcegraph/go-diff from 0.7.0 to 0.8.0 (#6524)
  • 19f760a build(deps): bump github.com/tetafro/godot from 1.5.4 to 1.5.6 (#6460)
  • 486831b build(deps): bump github.com/timakin/bodyclose from 1db5c5ca4d67 to 73d1f95b84b4 (#6504)
  • 4269e96 build(deps): bump github/codeql-action from 4.35.1 to 4.35.2 in the github-actions group (#6507)
  • c700e19 build(deps): bump go-simpler.org/sloglint from 0.11.1 to 0.12.0 (#6512)
  • 7a5afce build(deps): bump golang.org/x/mod from 0.34.0 to 0.35.0 (#6495)
  • 14ed13d build(deps): bump golang.org/x/sys from 0.42.0 to 0.43.0 (#6493)
  • 1fe87d0 build(deps): bump golang.org/x/tools from 0.43.0 to 0.44.0 (#6491)
  • 1500d9b build(deps): bump goreleaser/goreleaser-action from 7.0.0 to 7.1.0 in the github-actions group (#6519)
  • 4f6d180 build(deps): bump goreleaser/goreleaser-action from 7.1.0 to 7.2.1 in the github-actions group (#6526)
  • 862caa2 build(deps): bump the linter-testdata group across 2 directories with 3 updates (#6506)
  • f321d48 build(deps): bump the linter-testdata group across 4 directories with 5 updates (#6476)
  • 6d1ebeb feat: add clickhouselint (#6485)
  • 2da081b feat: decrease cache entropy (#6445)
  • 80ad1dc feat: embed the JSON schema in the binary (#6533)
  • 1b86933 fix(custom): filter env vars when cloning the repository (#6515)
  • 5df2421 goconst: ignore strings from tests (#6480)
  • 6d59c1a govet: add inline analyzer (#6385)
  • 8084467 paralleltest: expose checkcleanup option (#6477)

v2.11.4

22 Mar 18:01
8f3b0c7

Choose a tag to compare

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

  • 4bbfc35 build(deps): bump github.com/fatih/color from 1.18.0 to 1.19.0 (#6451)
  • b65068d build(deps): bump github.com/ryanrolds/sqlclosecheck from 0.5.1 to 0.6.0 (#6452)
  • b7ca3ba build(deps): bump github.com/ryanrolds/sqlclosecheck from v0.5.1 to a fork (#6441)
  • c795a75 build(deps): bump github.com/sonatard/noctx from 0.5.0 to 0.5.1 (#6436)
  • 92706b6 build(deps): bump golang.org/x/mod from 0.33.0 to 0.34.0 (#6433)
  • 41ee6f6 build(deps): bump golang.org/x/sys from 0.41.0 to 0.42.0 (#6435)
  • b345eab build(deps): bump golang.org/x/tools from 0.42.0 to 0.43.0 (#6434)

v2.11.3

10 Mar 10:52
6008b81

Choose a tag to compare

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

  • 697a189 build(deps): bump github.com/securego/gosec/v2 from v2.24.7 to 619ce2117e08 (#6424)
  • 760f8ab build(deps): bump golang.org/x/oauth2 from 0.35.0 to 0.36.0 in /scripts/gen_github_action_config in the scripts group (#6425)
  • 5ea763e build(deps): bump the github-actions group with 2 updates (#6426)

v2.11.2

07 Mar 21:54
e8f6219

Choose a tag to compare

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

v2.11.1

06 Mar 14:30
89a46a2

Choose a tag to compare

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

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

06 Mar 13:43
804e5ec

Choose a tag to compare

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

  • a97407a build(deps): bump actions/attest-build-provenance from 3 to 4 in the github-actions group (#6404)
  • 71381cd build(deps): bump github.com/MirrexOne/unqueryvet from 1.5.3 to 1.5.4 (#6383)
  • c6ae2ea build(deps): bump github.com/alexkohler/prealloc from 1.0.2 to 1.0.3 (#6391)
  • 2e57144 build(deps): bump github.com/alexkohler/prealloc from 1.0.3 to 1.1.0 (#6395)
  • f619fdc build(deps): bump github.com/kisielk/errcheck from 1.9.0 to 1.10.0 (#6396)
  • 46d7813 build(deps): bump github.com/mgechev/revive from 1.14.0 to 1.15.0 (#6412)
  • f8861ca build(deps): bump github.com/securego/gosec/v2 from 2.23.0 to 2.24.0 (#6394)
  • a6f1155 build(deps): bump github.com/securego/gosec/v2 from 2.24.0 to 2.24.6 (#6398)
  • 0259a6a build(deps): bump github.com/securego/gosec/v2 from 2.24.6 to 2.24.7 (#6400)
  • 4fde6f7 build(deps): bump github.com/shirou/gopsutil/v4 from 4.26.1 to 4.26.2 (#6401)
  • b746a30 build(deps): bump github.com/sonatard/noctx from 0.4.0 to 0.5.0 (#6393)
  • 41aa1cd build(deps): bump github.com/uudashr/gocognit from 1.2.0 to 1.2.1 (#6392)
  • d8bb8c4 build(deps): bump goreleaser/goreleaser-action from 6 to 7 in the github-actions group (#6384)
  • 2e484ee build(deps): bump the linter-testdata group across 4 directories with 5 updates (#6382)

v2.10.1

17 Feb 15:54
5d1e709

Choose a tag to compare

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

  • 31356b6 fix: make markDepsForAnalyzingSource recursive to fix buildssa panic (#6376)

v2.10.0

17 Feb 13:34
95dcb68

Choose a tag to compare

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

  • 87a60c9 build(deps): bump github.com/godoc-lint/godoc-lint from 0.11.1 to 0.11.2 (#6372)
  • f9b0a75 build(deps): bump github.com/nunnatsa/ginkgolinter from 0.22.0 to 0.23.0 (#6368)
  • abdeb8d build(deps): bump github.com/securego/gosec/v2 from 2.22.11 to 2.23.0 (#6366)
  • d9d4b19 build(deps): bump honnef.co/go/tools from 0.6.1 to 0.7.0 (#6367)