Releases: golangci/golangci-lint
v1.62.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
- 29c5529 Add filen linter (#5081)
- baf610d Add iface linter (#4871)
- ab90763 Add recvcheck linter (#5014)
- 8a9d16e Revert "Add filen linter (#5081)" (#5087)
- 944e1d8 build(deps): bump github.com/Abirdcfly/dupword from 0.1.1 to 0.1.3 (#5062)
- 9f4951f build(deps): bump github.com/Antonboom/errname from 0.1.13 to 1.0.0 (#5057)
- 61f8c0e build(deps): bump github.com/Antonboom/nilnil from 0.1.9 to 1.0.0 (#5058)
- 095e495 build(deps): bump github.com/Antonboom/testifylint from 1.4.3 to 1.5.0 (#5054)
- 0798941 build(deps): bump github.com/alecthomas/go-check-sumtype from 0.1.4 to 0.2.0 (#5038)
- 90c0509 build(deps): bump github.com/alexkohler/nakedret/v2 from 2.0.4 to 2.0.5 (#5076)
- 188d56c build(deps): bump github.com/bkielbasa/cyclop from 1.2.1 to 1.2.3 (#5071)
- b020f7b build(deps): bump github.com/breml/bidichk from 0.2.7 to 0.3.1 (#5025)
- 6c0ee25 build(deps): bump github.com/breml/bidichk from 0.3.1 to 0.3.2 (#5075)
- e5dab8d build(deps): bump github.com/breml/errchkjson from 0.3.6 to 0.4.0 (#5028)
- 318d78e build(deps): bump github.com/ckaznocha/intrange from 0.2.0 to 0.2.1 (#5024)
- 5034dbc build(deps): bump github.com/fatih/color from 1.17.0 to 1.18.0 (#5088)
- a33f794 build(deps): bump github.com/ghostiam/protogetter from 0.3.6 to 0.3.8 (#5026)
- b07c319 build(deps): bump github.com/go-critic/go-critic from 0.11.4 to 0.11.5 (#5061)
- a45560d build(deps): bump github.com/go-viper/mapstructure/v2 from 2.1.0 to 2.2.0 (#5034)
- aa669e2 build(deps): bump github.com/go-viper/mapstructure/v2 from 2.2.0 to 2.2.1 (#5040)
- 8a9cdad build(deps): bump github.com/golangci/go-printf-func-name from 7558a9eaa5af to v0.1.0 (#5079)
- 9966cab build(deps): bump github.com/kisielk/errcheck from 1.7.0 to 1.8.0 (#5074)
- 84c203a build(deps): bump github.com/lasiar/canonicalheader from 1.1.1 to 1.1.2 (#5119)
- fb37d4c build(deps): bump github.com/mgechev/revive from 1.3.9 to 1.4.0 (#5035)
- 6ba5f63 build(deps): bump github.com/mgechev/revive from 1.4.0 to 1.5.0 (#5113)
- ce9bbe3 build(deps): bump github.com/nunnatsa/ginkgolinter from 0.16.2 to 0.17.0 (#5093)
- c4b6d37 build(deps): bump github.com/nunnatsa/ginkgolinter from 0.17.0 to 0.18.0 (#5114)
- 225f7a0 build(deps): bump github.com/securego/gosec/v2 from 2.21.2 to 2.21.3 (#5029)
- 3a69806 build(deps): bump github.com/securego/gosec/v2 from 2.21.3 to 2.21.4 (#5039)
- c2f7126 build(deps): bump github.com/sivchari/tenv from 1.10.0 to 1.12.1 (#5090)
- 7187c89 build(deps): bump github.com/sonatard/noctx from 0.0.2 to 0.1.0 (#5027)
- 5451909 build(deps): bump github.com/tetafro/godot from 1.4.17 to 1.4.18 (#5002)
- d68c333 build(deps): bump github.com/timonwong/loggercheck from 0.9.4 to 0.10.1 (#5094)
- 22b58c9 build(deps): bump go-simpler.org/musttag from 0.12.2 to 0.13.0 (#5121)
- 46db787 build(deps): bump go.uber.org/automaxprocs from 1.5.3 to 1.6.0 (#5041)
- 02a536a build(deps): bump golang.org/x/sys from 0.26.0 to 0.27.0 (#5118)
- b3a1e1c build(deps): bump golang.org/x/tools from 0.24.0 to 0.25.0 (#5001)
- 10f281c build(deps): bump golang.org/x/tools from 0.25.0 to 0.26.0 (#5056)
- 0f4f0cb build(deps): bump golang.org/x/tools from 0.26.0 to 0.27.0 (#5120)
- 31f2714 build(deps): bump golangci/golangci-lint-action from 6.1.0 to 6.1.1 in the all group (#5059)
- 5956285 build(deps): bump the all group across 3 directories with 4 updates /testdata (#5049)
- 3592be6 build(deps): bump the all group across 3 directories with 5 updates (#5099)
- be469a4 code-climate: add check_name field (#5086)
- 874a8ba feat: deprecation step 2 of execinquery and gomnd (#5110)
- 8c0c515 fix: Go version propagation (#5109)
- 7560b4f fix: improve Go detection (#5112)
- a86d8ba fix: type sizing when cross-compiling (32-bit) (#5053)
v1.61.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
- e9a8726 build(deps): bump github.com/Abirdcfly/dupword from 0.0.14 to 0.1.1 (#4954)
- 2813c45 build(deps): bump github.com/Crocmagnon/fatcontext from 0.4.0 to 0.5.2 (#4971)
- 48251f2 build(deps): bump github.com/ckaznocha/intrange from 0.1.2 to 0.2.0 (#4996)
- 726b815 build(deps): bump github.com/daixiang0/gci from 0.13.4 to 0.13.5 (#4975)
- 2fcfe26 build(deps): bump github.com/go-viper/mapstructure/v2 from 2.0.0 to 2.1.0 (#4910)
- 5fa1b68 build(deps): bump github.com/pelletier/go-toml/v2 from 2.2.2 to 2.2.3 (#4955)
- a6fc686 build(deps): bump github.com/quasilyte/go-ruleguard to 0fe6f58b47b1 (#4949)
- 57fa4da build(deps): bump github.com/ryancurrah/gomodguard from 1.3.3 to 1.3.5 (#4992)
- 6e5dc28 build(deps): bump github.com/securego/gosec/v2 from 2.20.1-0.20240826145712-bcec04e78483 to 2.21.0 (#4981)
- dd069d5 build(deps): bump github.com/securego/gosec/v2 from 2.21.0 to 2.21.1 (#4982)
- a1d6c56 build(deps): bump github.com/securego/gosec/v2 from 2.21.1 to 2.21.2 (#4997)
- 98b685c build(deps): bump github.com/securego/gosec/v2 from ab3f6c1c83a0 to bcec04e78483 (#4960)
- bfc5247 build(deps): bump github.com/tetafro/godot from 1.4.16 to 1.4.17 (#4993)
- 04c19e6 build(deps): bump golang.org/x/oauth2 from 0.22.0 to 0.23.0 in /scripts/gen_github_action_config in the all group (#4977)
- e905c7a build(deps): bump peter-evans/create-pull-request from 6 to 7 in the all group (#4978)
- 2881c71 build(deps): bump the all group across 4 directories with 8 updates (#4979)
- 0275389 feat: add junit-xml-extended format (#4918)
- a6bd868 feat: exclude Swagger Codegen files (#4967)
- 54d089d fix: improve runtime version parsing (#4961)
- bf4a66a gosec: disable G407 (#4983)
- 3797ed9 nolintlint: remove empty line in unused directive replacement (#4973)
v1.60.3
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
v1.60.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
- f338f3e build(deps): bump github.com/securego/gosec/v2 from 5f0084eb01a9 to 81cda2f91fbe (#4927)
- 132d81c build(deps): bump github.com/tomarrell/wrapcheck/v2 from 2.8.3 to 2.9.0 (#4921)
- 15529a9 build(deps): bump honnef.co/go/tools from 0.5.0 to 0.5.1 (#4911)
- e24ef74 build(deps): bump mvdan.cc/gofumpt from 0.6.0 to 0.7.0 (#4922)
- 87dd8fe exportloopref: deprecation (#4916)
- ca0b09e gosec: add G602 analyzer (#4906)
- adbdfdb staticcheck: propagate Go version (#4907)
v1.60.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
- 1147824 go1.23 support (#4836)
- 9eeb891 build(deps): bump golang.org/x/tools from 0.23.0 to 0.24.0 (#4898)
- 73bbf82 build(deps): bump github.com/polyfloyd/go-errorlint from 1.5.2 to 1.6.0 (#4899)
- a9ea7d3 unused: remove exported-is-used option
- 90664f6 build(deps): bump golangci/golangci-lint-action from 6.0.1 to 6.1.0 (#4893)
- 78a738f unused: remove exported-is-used option (#4890)
- 5536bb5 build(deps): bump github.com/mgechev/revive from 1.3.7 to 1.3.9 (#4886)
- f903621 build(deps): bump github.com/gofrs/flock from 0.12.0 to 0.12.1 (#4889)
- 113858f build(deps): bump github.com/uudashr/gocognit from 1.1.2 to 1.1.3 (#4887)
- 7cc813e build(deps): bump github.com/Crocmagnon/fatcontext from 0.3.0 to 0.4.0 (#4888)
- e8300b7 feat: improve processors filtering stats (#4882)
- e95ac1b fix: typecheck issues should never be ignored (#4870)
- ee37ef3 build(deps): bump golang.org/x/tools from 0.22.0 to 0.23.0 (#4868)
- 283a9e7 build(deps): bump github.com/gofrs/flock from 0.10.0 to 0.12.0 (#4863)
- aeacb54 build(deps): bump github.com/valyala/quicktemplate from 1.7.0 to 1.8.0 (#4862)
- c5998e1 build(deps): bump github.com/ryancurrah/gomodguard from 1.3.2 to 1.3.3 (#4851)
- 96bd9ef build(deps): bump github.com/gofrs/flock from 0.8.1 to 0.10.0 (#4852)
- a62f1f1 build(deps): bump github.com/moricho/tparallel from 0.3.1 to 0.3.2 (#4849)
- 967061e build(deps): bump github.com/bombsimon/wsl/v4 from 4.4.0 to 4.4.1 (#4844)
- 4f9e50e build(deps): bump github.com/Antonboom/testifylint from 1.4.2 to 1.4.3 (#4839)
- 23f2390 build(deps): bump go-simpler.org/sloglint from 0.7.1 to 0.7.2 (#4840)
- 45efa67 build(deps): bump github.com/jjti/go-spancheck from 0.6.1 to 0.6.2 (#4833)
- 304e22a fix: sanitize level property for SARIF (#4831)
- 9211eec build(deps): bump github.com/spf13/cobra from 1.7.0 to 1.8.1 (#4822)
- 2e2e14b build(deps): bump github.com/sivchari/tenv from 1.9.1 to 1.10.0 (#4823)
- 8abf4fe build(deps): bump github.com/Antonboom/testifylint from 1.4.1 to 1.4.2 (#4821)
- 7b776e4 build(deps): bump github.com/sashamelentyev/usestdlibvars from 1.26.0 to 1.27.0 (#4820)
- 464ad17 build(deps): bump goreleaser/goreleaser-action from 5 to 6 (#4809)
- a02629a build(deps): bump github.com/sivchari/tenv from 1.7.1 to 1.9.1 (#4808)
- a2cc1c4 build(deps): bump github.com/bombsimon/wsl/v4 from 4.3.0 to 4.4.0 (#4807)
- e2087c7 build(deps): bump github.com/Antonboom/testifylint from 1.3.1 to 1.4.1 (#4798)
- 784ea0e build(deps): bump github.com/Crocmagnon/fatcontext from 0.2.2 to 0.3.0 (#4783)
- eb23eaf lll: Advertise max line length instead of just reporting failure (#4781)
- 78f350b build(deps): bump github.com/GaijinEntertainment/go-exhaustruct/v3 from 3.2.0 to 3.3.0 (#4760)
- 2eb8081 build(deps): bump github.com/bombsimon/wsl/v4 from 4.2.1 to 4.3.0 (#4799)
v1.59.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
- f738736 build(deps): bump github.com/Antonboom/testifylint from 1.3.0 to 1.3.1 (#4759)
- 44b3cdd build(deps): bump github.com/go-viper/mapstructure/v2 from 2.0.0-alpha.1 to 2.0.0 (#4788)
- 1a55854 build(deps): bump github.com/golangci/misspell from 0.5.1 to 0.6.0 (#4804)
- 9a7a1ad build(deps): bump github.com/polyfloyd/go-errorlint from 1.5.1 to 1.5.2 (#4785)
- aaff918 build(deps): bump github.com/sashamelentyev/usestdlibvars from 1.25.0 to 1.26.0 (#4801)
- a0d2c83 build(deps): bump github.com/shirou/gopsutil/v3 from 3.24.4 to 3.24.5 (#4782)
- 2042b1f build(deps): bump go-simpler.org/sloglint from 0.7.0 to 0.7.1 (#4784)
- 327a78a build(deps): bump golang.org/x/tools from 0.21.0 to 0.22.0 (#4802)
- e1a8055 fix: SARIF format require issue column >= 1 (#4775)
- 88f60c8 fix: gomnd deprecated configuration compatibility (#4768)
- 8173166 fix: init empty result slice for SARIF printer (#4758)
- 02740ea intrange: add style preset (#4797)
- 615b873 unparam: bump to HEAD (#4786)
v1.59.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
- 4f5251d Support Sarif output (#4723)
- 73110df build(deps): bump github.com/Antonboom/testifylint from 1.2.0 to 1.3.0 (#4729)
- 62c83cc build(deps): bump github.com/BurntSushi/toml from 1.3.2 to 1.4.0 (#4746)
- 0cb1418 build(deps): bump github.com/go-critic/go-critic from 0.11.3 to 0.11.4 (#4738)
- e14ae4b build(deps): bump github.com/hashicorp/go-version from 1.6.0 to 1.7.0 (#4745)
- 2059b18 build(deps): bump github.com/securego/gosec/v2 from 2.20.0 to 5f0084eb01a9 (#4748)
- be1bb6d build(deps): bump go-simpler.org/sloglint from 0.6.0 to 0.7.0 (#4718)
- 08deff4 feat: add warning about disabled and deprecated linters (level 2) (#4742)
- b99d529 feat: allow the analysis of generated files (#4740)
- 867adaf feat: deprecate github-actions format (#4726)
- 4beae6a fix: remove errcheck defaults (#4734)
v1.58.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
- 7c87a9e build(deps): bump github.com/Antonboom/nilnil from 0.1.8 to 0.1.9 (#4716)
- 3fbc2f5 build(deps): bump github.com/fatih/color from 1.16.0 to 1.17.0 (#4725)
- 8fe47a9 build(deps): bump github.com/lasiar/canonicalheader from 1.0.6 to 1.1.1 (#4715)
- 8c4cfb6 build(deps): bump github.com/securego/gosec/v2 from 2.19.0 to 2.20.0 (#4724)
- 35eaf60 build(deps): bump go-simpler.org/musttag from 0.12.1 to 0.12.2 (#4710)
- 7f6606a build(deps): bump golangci/golangci-lint-action from 5.3.0 to 6.0.1 (#4722)
v1.58.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
- dc28153 build(deps): bump github.com/4meepo/tagalign from 1.3.3 to 1.3.4 (#4705)
- 9116634 build(deps): bump github.com/ghostiam/protogetter from 0.3.5 to 0.3.6 (#4707)
- d64e1de build(deps): bump golang.org/x/tools from 0.20.0 to 0.21.0 (#4706)
- ee97dbf build(deps): bump golangci/golangci-lint-action from 5.1.0 to 5.3.0 (#4701)
- 4532eb9 fix: gochecknoinits shadow name (#4698)
- 6767d7c fix: remove GitHub Action problem matchers (#4700)
v1.58.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.
- 7e2229a Add
pre-commit
hook to runconfig verify
(#4602) - b2df2f4 Add new linter canonicalheader (#4672)
- 95fc378 build(deps): bump github.com/Antonboom/errname from 0.1.12 to 0.1.13 (#4669)
- 4c3cc53 build(deps): bump github.com/Antonboom/nilnil from 0.1.7 to 0.1.8 (#4668)
- 2004f31 build(deps): bump github.com/butuzov/mirror from 1.1.0 to 1.2.0 (#4610)
- 4e56cba build(deps): bump github.com/ckaznocha/intrange from 0.1.1 to 0.1.2 (#4601)
- ed20557 build(deps): bump github.com/daixiang0/gci from 0.12.3 to 0.13.3 (#4522)
- dc51209 build(deps): bump github.com/daixiang0/gci from 0.13.3 to 0.13.4 (#4611)
- 8fb9856 build(deps): bump github.com/firefart/nonamedreturns from 1.0.4 to 1.0.5 (#4666)
- 8f59629 build(deps): bump github.com/go-critic/go-critic from 0.11.2 to 0.11.3 (#4619)
- 92cb311 build(deps): bump github.com/golangci/misspell from 0.4.1 to 0.5.1 (#4665)
- 3f37412 build(deps): bump github.com/golangci/revgrep from 0.5.2 to 0.5.3 (#4633)
- 1611bca build(deps): bump github.com/jjti/go-spancheck from 0.5.3 to 0.6.0 (#4670)
- e953689 build(deps): bump github.com/jjti/go-spancheck from 0.6.0 to 0.6.1 (#4679)
- 3f63db1 build(deps): bump github.com/karamaru-alpha/copyloopvar from 1.0.10 to 1.1.0 (#4632)
- e4dae2a build(deps): bump github.com/lasiar/canonicalheader from 1.0.5 to 1.0.6 (#4682)
- 28f7c39 build(deps): bump github.com/leonklingele/grouper from 1.1.1 to 1.1.2 (#4613)
- 8e8ad83 build(deps): bump github.com/pelletier/go-toml/v2 from 2.2.0 to 2.2.1 (#4643)
- 813af3e build(deps): bump github.com/pelletier/go-toml/v2 from 2.2.1 to 2.2.2 (#4688)
- 24bcca2 build(deps): bump github.com/polyfloyd/go-errorlint from 1.4.8 to 1.5.1 (#4690)
- e12d070 build(deps): bump github.com/ryancurrah/gomodguard from 1.3.1 to 1.3.2 (#4614)
- b937c19 build(deps): bump github.com/shirou/gopsutil/v3 from 3.24.2 to 3.24.3 (#4612)
- fa1cca8 build(deps): bump github.com/shirou/gopsutil/v3 from 3.24.3 to 3.24.4 (#4686)
- d2d77af build(deps): bump github.com/ultraware/whitespace from 0.1.0 to 0.1.1 (#4664)
- 54bfac8 build(deps): bump github.com/yeya24/promlinter from 0.2.0 to 0.3.0 (#4671)
- 1eab03d build(deps): bump gitlab.com/bosi/decorder from 0.4.1 to 0.4.2 (#4667)
- 5e1e22f build(deps): bump go-simpler.org/musttag from 0.10.0 to 0.11.0 (#4600)
- 7f70763 build(deps): bump go-simpler.org/musttag from 0.11.0 to 0.12.0 (#4621)
- b7c1d1a build(deps): bump go-simpler.org/musttag from 0.12.0 to 0.12.1 (#4626)
- ad7eab9 build(deps): bump go-simpler.org/musttag from 0.9.0 to 0.10.0 (#4579)
- 40d4872 build(deps): bump go-simpler.org/sloglint from 0.5.0 to 0.5.1 (#4644)
- 7ea621b build(deps): bump go-simpler.org/sloglint from 0.5.1 to 0.6.0 (#4645)
- 1f46a11 build(deps): bump golang.org/x/tools from 0.19.0 to 0.20.0 (#4620)
- 87db2a3 build(deps): bump golangci/golangci-lint-action from 4.0.0 to 5.1.0 (#4684)
- 83a91b4 build(deps): bump peaceiris/actions-gh-pages from 3 to 4 (#4625)
- b7c7a1d execinquery: deprecation (#4652)
- c00c1a5 feat: add fatcontext linter (#4583)
- 5a9f5c1 feat: deprecate usage of linter alternative names (#4562)
- a7868b3 feat: err113 analyzer name (#4567)
- 38fac89 feat: log an error when using previously deprecated linters (#4681)
- 288c847 feat: replace gomnd by mnd (#4572)
- 28b3813 feat: use problem matchers for GitHub Action format (#4685)
- a706941 fix: JSON schema about severities (#4617)
- c1f9f54 fix: don't hide typecheck errors inside diff processor (#4674)
- 44c070a fix: keep only typecheck issues (#4640)
- dac4ba3 fix: remove help display on error with verify command (#4597)
- 2b2fc8c fix: skip go.mod report inside autogenerated_exclude processor (#4663)
- 15c57c1 fix: speed up "fast" linters (#4653)
- 003b048 fix: use plugin version (#4655)
- 0260ec8 unparam: bump to HEAD (#4689)