Skip to content

Releases: golangci/golangci-lint

v1.60.3

22 Aug 22:09
c2e095c
Compare
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

  • c2e095c build(deps): bump github.com/securego/gosec/v2 from 81cda2f91fbe to ab3f6c1c83a0 (#4943)
  • f0c1904 feat: check that Go version use to build is greater or equals to the Go version of the project (#4938)

v1.60.2

20 Aug 20:26
f338f3e
Compare
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

  • 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

14 Aug 01:31
Compare
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

  • 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

09 Jun 18:24
1a55854
Compare
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

  • 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

26 May 18:29
2059b18
Compare
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

  • 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

19 May 18:24
8c4cfb6
Compare
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

  • 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

08 May 19:10
dc28153
Compare
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

  • 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

03 May 18:22
28b3813
Compare
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.

  • 7e2229a Add pre-commit hook to run config 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)

v1.57.2

28 Mar 19:15
77a8601
Compare
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

  • 94a0179 build(deps): bump github.com/ckaznocha/intrange from 0.1.0 to 0.1.1 (#4570)
  • 9558299 build(deps): bump github.com/jgautheron/goconst from 1.7.0 to 1.7.1 (#4555)
  • b78225b build(deps): bump github.com/karamaru-alpha/copyloopvar from 1.0.8 to 1.0.9 (#4565)
  • 5a66842 build(deps): bump github.com/karamaru-alpha/copyloopvar from 1.0.9 to 1.0.10 (#4584)
  • afd670b build(deps): bump github.com/kkHAIKE/contextcheck from 1.1.4 to 1.1.5 (#4564)
  • 03acb64 build(deps): bump github.com/ldez/gomoddirectives from 0.2.3 to 0.2.4 (#4580)
  • 4d2fa7b build(deps): bump github.com/nunnatsa/ginkgolinter from 0.16.1 to 0.16.2 (#4569)
  • 66ec75e fix: display warnings on deprecated linter options (#4568)
  • 77a8601 fix: hide useless warning (#4587)
  • 3cff868 fix: missing output format (#4574)
  • 5ae78cd fix: the TeamCity inspectionType service message (#4573)

v1.57.1

20 Mar 16:49
cd890db
Compare
Choose a tag to compare

golangci-lint is a free and open-source project, built by people in their free time.
Also, the linter authors are an important part of golangci-lint.
If you use and appreciate golangci-lint please think to support us (golangci-lint maintainers and linter authors). ❤️

The most important changes are detailed here: https://golangci-lint.run/product/changelog/#v1571

Changelog

  • 87b6bf1 build(deps): bump github.com/golangci/plugin-module-register from 0.1.0 to 0.1.1 (#4549)
  • 921d535 build(deps): bump github.com/pelletier/go-toml/v2 from 2.1.1 to 2.2.0 (#4548)
  • cd890db fix: filter invalid issues before other processors (#4552)