Releases: golangci/golangci-lint
v2.5.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
- 9ff8f59 Add unqueryvet linter (#6060)
- 5a502b3 build(deps): bump actions/checkout from 4 to 5 in the github-actions group (#5993)
- 2d4621c build(deps): bump actions/setup-go from 5 to 6 in the github-actions group (#6068)
- ef19786 build(deps): bump github.com/Antonboom/errname from 1.1.0 to 1.1.1 (#6075)
- fd51bf3 build(deps): bump github.com/Antonboom/nilnil from 1.1.0 to 1.1.1 (#6072)
- 22944a2 build(deps): bump github.com/Antonboom/testifylint from 1.6.1 to 1.6.3 (#6071)
- 5678698 build(deps): bump github.com/Antonboom/testifylint from 1.6.3 to 1.6.4 (#6077)
- f20b688 build(deps): bump github.com/Djarvur/go-err113 from 0.0.0-20210108212216-aea10b59be24 to 0.1.1 (#6086)
- 05d1475 build(deps): bump github.com/bombsimon/wsl/v5 from 5.1.1 to 5.2.0 (#6055)
- 7b13d98 build(deps): bump github.com/ghostiam/protogetter from 0.3.15 to 0.3.16 (#6046)
- 012d42c build(deps): bump github.com/golangci/go-printf-func-name from 0.1.0 to 0.1.1 (#6048)
- a2141c9 build(deps): bump github.com/gordonklaus/ineffassign from 0.1.0 to 0.2.0 (#6032)
- b65912b build(deps): bump github.com/gostaticanalysis/nilerr from 0.1.1 to a fork (#6087)
- 3ff4d3b build(deps): bump github.com/kulti/thelper from 0.6.3 to 0.7.1 (#6084)
- ccd8a54 build(deps): bump github.com/ldez/grignotin from 0.10.0 to 0.10.1 (#6085)
- 9dffd0c build(deps): bump github.com/ldez/tagliatelle from 0.7.1 to 0.7.2 (#6033)
- befeaf5 build(deps): bump github.com/manuelarte/embeddedstructfieldcheck from 0.3.0 to 0.4.0 (#6012)
- e438834 build(deps): bump github.com/mgechev/revive from 1.11.0 to 1.12.0 (#6035)
- 8a0d1a2 build(deps): bump github.com/nunnatsa/ginkgolinter from 0.20.0 to 0.21.0 (#6079)
- 27c10db build(deps): bump github.com/securego/gosec/v2 from 2.22.7 to 2.22.8 (#6014)
- 02733b6 build(deps): bump github.com/shirou/gopsutil/v4 from 4.25.7 to 4.25.8 (#6047)
- 75d38e3 build(deps): bump github.com/spf13/cobra from 1.9.1 to 1.10.1 (#6044)
- 374a8cf build(deps): bump github.com/spf13/pflag from 1.0.9 to 1.0.10 (#6054)
- 3641f1c build(deps): bump github.com/stretchr/testify from 1.10.0 to 1.11.0 in /scripts/gen_github_action_config in the scripts group (#6031)
- 937a099 build(deps): bump github.com/stretchr/testify from 1.10.0 to 1.11.1 (#6034)
- 838684c build(deps): bump github.com/tdakkota/asciicheck from 0.4.1 to 0.5.0 (#6018)
- b7bd3db build(deps): bump github.com/tetafro/godot from 1.5.1 to 1.5.2 (#6078)
- 96b640c build(deps): bump github.com/tetafro/godot from 1.5.2 to 1.5.4 (#6093)
- 9de0799 build(deps): bump go-simpler.org/musttag from 0.13.1 to 0.14.0 (#6015)
- f95beb2 build(deps): bump go.augendre.info/fatcontext from 0.8.0 to 0.8.1 (#6013)
- d376dd1 build(deps): bump golang.org/x/mod from 0.27.0 to 0.28.0 (#6073)
- b76d4f0 build(deps): bump golang.org/x/sync from 0.16.0 to 0.17.0 (#6063)
- 96e3184 build(deps): bump golang.org/x/sys from 0.35.0 to 0.36.0 (#6064)
- b521deb build(deps): bump golang.org/x/tools from 0.36.0 to 0.37.0 (#6074)
- fab8933 build(deps): bump mvdan.cc/gofumpt from 0.8.0 to 0.9.1 (#6065)
- b645176 build(deps): bump the scripts group in /scripts/gen_github_action_config with 2 updates (#6067)
- 09ded41 feat: add godoclint linter (#6062)
- bfb730a feat: add iotamixing linter (#5966)
- 88ef93e fix: no export data must always be handled as a typecheck error (#6061)
v2.4.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
- fe730db build(deps): bump github.com/4meepo/tagalign from 1.4.2 to 1.4.3 (#5971)
- 78dedd3 build(deps): bump github.com/GaijinEntertainment/go-exhaustruct from v3.3.1 to 4.0.0 (#5984)
- 3db762c build(deps): bump github.com/alecthomas/chroma/v2 from 2.19.0 to 2.20.0 (#5981)
- 16a682e build(deps): bump github.com/shirou/gopsutil/v4 from 4.25.6 to 4.25.7 (#5970)
- 4b2b940 build(deps): bump golang.org/x/mod from 0.26.0 to 0.27.0 (#5982)
- b4038f6 build(deps): bump golang.org/x/sys from 0.34.0 to 0.35.0 (#5980)
- 18bf59c build(deps): bump golang.org/x/tools from 0.35.0 to 0.36.0 (#5988)
- fca8610 feat: go1.25 support (#5872)
- ef6ead8 godox: trim filepath from report messages (#5977)
- cabd53d staticcheck: allow empty options (#5983)
v2.3.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
- e460991 build(deps): bump github.com/bombsimon/wsl/v5 from 5.1.0 to 5.1.1 (#5959)
- 430bd5e build(deps): bump github.com/daixiang0/gci from 0.13.6 to 0.13.7 (#5957)
- 5ab9312 build(deps): bump github.com/ldez/grignotin from 0.9.0 to 0.10.0 (#5958)
- 1231acb build(deps): bump github.com/securego/gosec/v2 from 2.22.6 to 2.22.7 (#5953)
- 5ab4747 build(deps): bump github.com/sonatard/noctx from 0.3.5 to 0.4.0 (#5960)
- f5dcd1f build(deps): bump the linter-testdata group across 3 directories with 3 updates (#5964)
- 2b86f85 tagliatelle: force upper case for custom initialisms (#5956)
v2.3.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
- efabf43 build(deps): bump github.com/AlwxSin/noinlineerr from 1.0.4 to 1.0.5 (#5949)
- 1f65794 build(deps): bump github.com/bombsimon/wsl/v5 from 5.0.0 to 5.1.0 (#5917)
- b1b3862 build(deps): bump github.com/go-viper/mapstructure/v2 from 2.3.0 to 2.4.0 (#5947)
- e36f9d4 build(deps): bump github.com/mgechev/revive from 1.10.0 to 1.11.0 (#5933)
- f8010b0 build(deps): bump github.com/nunnatsa/ginkgolinter from 0.19.1 to 0.20.0 (#5932)
- 5b60be1 build(deps): bump github.com/securego/gosec/v2 from 2.22.5 to 2.22.6 (#5950)
- 7cc0f9c build(deps): bump github.com/sonatard/noctx from 0.3.4 to 0.3.5 (#5916)
- f807e9b build(deps): bump github.com/spf13/pflag from 1.0.6 to 1.0.7 (#5948)
- 90a403c build(deps): bump github.com/uudashr/iface from 1.4.0 to 1.4.1 (#5915)
- 75d4ce3 build(deps): bump go-simpler.org/sloglint from 0.11.0 to 0.11.1 (#5936)
- 6ead9d7 build(deps): bump golang.org/x/sync from 0.15.0 to 0.16.0 (#5934)
- d325213 build(deps): bump golang.org/x/tools from 0.34.0 to 0.35.0 (#5935)
- 9298bc0 fix: panic: close of closed channel (#5939)
v2.2.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
- b2b08ac build(deps): bump github.com/AlwxSin/noinlineerr from 1.0.3 to 1.0.4 (#5928)
- aaeb9a2 build(deps): bump github.com/alecthomas/chroma/v2 from 2.18.0 to 2.19.0 (#5914)
- b0c55d2 build(deps): bump github.com/shirou/gopsutil/v4 from 4.25.5 to 4.25.6 (#5918)
- 466ecf2 build(deps): bump golang.org/x/mod from 0.25.0 to 0.26.0 (#5927)
- 80027c4 build(deps): bump golang.org/x/sys from 0.33.0 to 0.34.0 (#5931)
- fb86fc8 build(deps): bump the linter-testdata group across 2 directories with 3 updates (#5908)
- 7c8ce46 fix: panic: close of closed channel (#5929)
- f6b5aa3 godot: add noinline value into the JSONSchema (#5922)
v2.2.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
v2.2.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
- f54365b Add noinlineerr linter (#5826)
- 3e52be7 Add swaggo/swag formatter (#5749)
- f5f2c16 build(deps): bump github.com/Abirdcfly/dupword from 0.1.3 to 0.1.4 (#5809)
- 2a63ebc build(deps): bump github.com/Abirdcfly/dupword from 0.1.4 to 0.1.5 (#5839)
- 0bcafa0 build(deps): bump github.com/Abirdcfly/dupword from 0.1.5 to 0.1.6 (#5841)
- 58036dd build(deps): bump github.com/alecthomas/chroma/v2 from 2.17.2 to 2.18.0 (#5812)
- acbcbdb build(deps): bump github.com/ashanbrown/forbidigo from 1.6.0 to 2.1.0 (#5783)
- e905d80 build(deps): bump github.com/ashanbrown/makezero from 1.2.0 to 2.0.1 (#5782)
- 82147d5 build(deps): bump github.com/bombsimon/wsl/v5 from 4.7.0 to 5.0.0 (#5900)
- ba13580 build(deps): bump github.com/go-viper/mapstructure/v2 from 2.2.1 to 2.3.0 (#5888)
- f40f9d7 build(deps): bump github.com/golangci/misspell from 0.6.0 to 0.7.0 (#5813)
- b9510d7 build(deps): bump github.com/golangci/plugin-module-register from 0.1.1 to 0.1.2 (#5838)
- 8eab120 build(deps): bump github.com/jgautheron/goconst from 1.8.1 to 1.8.2 (#5825)
- ed782d7 build(deps): bump github.com/jjti/go-spancheck from 0.6.4 to 0.6.5 (#5784)
- 6ed4f04 build(deps): bump github.com/ldez/exptostd from 0.4.3 to 0.4.4 (#5876)
- cc3f6de build(deps): bump github.com/ldez/gomoddirectives from 0.6.1 to 0.7.0 (#5869)
- 6b65696 build(deps): bump github.com/ldez/usetesting from 0.4.3 to 0.5.0 (#5877)
- 8e38a6e build(deps): bump github.com/manuelarte/embeddedstructfieldcheck from 0.2.1 to 0.3.0 (#5811)
- fd9a0f2 build(deps): bump github.com/manuelarte/funcorder from 0.2.1 to 0.3.0 (#5743)
- 5a945fd build(deps): bump github.com/manuelarte/funcorder from 0.3.0 to 0.5.0 (#5792)
- 1052555 build(deps): bump github.com/mgechev/revive from 1.9.0 to 1.10.0 (#5837)
- ee5054a build(deps): bump github.com/santhosh-tekuri/jsonschema/v6 from 6.0.1 to 6.0.2 (#5829)
- e7c4589 build(deps): bump github.com/sashamelentyev/usestdlibvars from 1.28.0 to 1.29.0 (#5828)
- fd792ae build(deps): bump github.com/securego/gosec/v2 from 2.22.3 to 2.22.4 (#5788)
- 9f19dcb build(deps): bump github.com/securego/gosec/v2 from 2.22.4 to 2.22.5 (#5880)
- a02b91e build(deps): bump github.com/shirou/gopsutil/v4 from 4.25.4 to 4.25.5 (#5849)
- af60e9f build(deps): bump github.com/sonatard/noctx from 0.1.0 to 0.3.3 (#5771)
- 8496d6d build(deps): bump github.com/sonatard/noctx from 0.3.3 to 0.3.4 (#5895)
- 66fc278 build(deps): bump github.com/uudashr/iface from 1.3.1 to 1.3.2 (#5810)
- 36ddc0e build(deps): bump github.com/uudashr/iface from 1.3.2 to 1.4.0 (#5820)
- c2db6c4 build(deps): bump golang.org/x/mod from 0.24.0 to 0.25.0 (#5868)
- 9e01be5 build(deps): bump golang.org/x/oauth2 from 0.29.0 to 0.30.0 in /scripts/gen_github_action_config in the scripts group (#5781)
- f0c8514 build(deps): bump golang.org/x/sys from 0.32.0 to 0.33.0 (#5785)
- 4af8bfc build(deps): bump golang.org/x/tools from 0.32.0 to 0.33.0 (#5786)
- 09ca65a build(deps): bump golang.org/x/tools from 0.33.0 to 0.34.0 (#5867)
- 5546285 build(deps): bump golangci/golangci-lint-action from 7.0.0 to 8.0.0 in the github-actions group (#5780)
- 48d1da4 build(deps): bump the linter-testdata group across 2 directories with 2 updates (#5814)
- 69479c6 build(deps): bump the linter-testdata group across 4 directories with 4 updates (#5850)
- deee4e7 errcheck: add verbose option (#5802)
- b24761d feat: add arangolint linter (#5718)
- c61f43f feat: add embeddedstructfieldcheck linter (#5761)
- 75b18f9 feat: deprecate print-resources-usage flag (#5860)
- 65c85df fix: deduplicate typecheck errors (#5864)
- 156db1d fix: error message when trying to migrate a migrated config (#5836)
- 8c225c3 fix: exclusions path-expect (#5798)
- db7f62b fix: formats consistently the code with gci (#5893)
- d4bc40e fix: formatters CLI flags help message (#5835)
- 3217de6 fix: stop the analysis after the first package analysis error (#5885)
- f946bcd fix: typecheck memory leak (#5884)
- 6d9ab42 fix: unique version per custom build (#5896)
- cd315cd fix: write the input to stdout when using stdin and there are no changes (#5827)
v2.1.6
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
- 896c041 build(deps): bump github.com/alecthomas/chroma/v2 from 2.16.0 to 2.17.0 (#5772)
- 75865b1 build(deps): bump github.com/alecthomas/chroma/v2 from 2.17.0 to 2.17.2 (#5779)
- 999631a build(deps): bump github.com/shirou/gopsutil/v4 from 4.25.3 to 4.25.4 (#5778)
- 1b791de build(deps): bump github.com/tetafro/godot from 1.5.0 to 1.5.1 (#5770)
- 69778fe build(deps): bump go-simpler.org/musttag from 0.13.0 to 0.13.1 (#5769)
- 2ea61ac build(deps): bump the linter-testdata group across 2 directories with 2 updates (#5777)
v2.1.5
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 Snapcraft, some artifacts of the v2.1.4 release have not been published.
This release contains the same things as v2.1.3.
v2.1.4
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 Snapcraft, some artifacts of the v2.1.3 release have not been published.
This release contains the same things as v2.1.3.