Skip to content

Releases: golangci/golangci-lint

v1.63.4

03 Jan 20:11
c114969
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

v1.63.3

02 Jan 19:26
e1b7346
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

  • bb896aa build(deps): bump github.com/ldez/exptostd from 0.3.0 to 0.3.1 (#5283)
  • e7a1c9f build(deps): bump github.com/ldez/usetesting from 0.4.1 to 0.4.2 (#5282)
  • 472b9b9 build(deps): bump github.com/shirou/gopsutil/v4 from 4.24.11 to 4.24.12 (#5281)
  • e1b7346 fix: invalid from position (#5287)
  • 8e4b0c3 goheader: skip issues with invalid positions (#5286)

v1.63.2

02 Jan 13:04
15412b3
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

v1.63.1

01 Jan 21:32
2980928
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

v1.63.0

01 Jan 13:33
6bae718
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

  • 0640d3f Add UseTesting linter (#5170)
  • aa0450c Add exptostd linter (#5259)
  • 1467bc0 Add nilnesserr linter (#5240)
  • 6a20504 build(deps): bump github.com/shirou/gopsutil to v4.24.10 (#5167)
  • a6c26ee build(deps): bump github.com/4meepo/tagalign from 1.3.4 to 1.4.1 (#5255)
  • e85310c build(deps): bump github.com/Antonboom/nilnil from 1.0.0 to 1.0.1 (#5233)
  • c751e5c build(deps): bump github.com/alecthomas/go-check-sumtype from 0.2.0 to 0.3.1 (#5230)
  • c882e89 build(deps): bump github.com/ashanbrown/makezero from 1.1.1 to 1.2.0 (#5181)
  • acfb3be build(deps): bump github.com/bombsimon/wsl/v4 from 4.4.1 to 4.5.0 (#5262)
  • 321e03f build(deps): bump github.com/butuzov/ireturn from 0.3.0 to 0.3.1 (#5188)
  • 72bbc45 build(deps): bump github.com/butuzov/mirror from 1.2.0 to 1.3.0 (#5178)
  • 06ffc05 build(deps): bump github.com/ckaznocha/intrange from 0.2.1 to 0.3.0 (#5203)
  • a92ccc7 build(deps): bump github.com/curioswitch/go-reassign from 0.2.0 to 0.3.0 (#5176)
  • 043275f build(deps): bump github.com/go-xmlfmt/xmlfmt from 1.1.2 to 1.1.3 (#5177)
  • c8cf7a4 build(deps): bump github.com/jjti/go-spancheck from 0.6.2 to 0.6.4 (#5174)
  • dafd655 build(deps): bump github.com/julz/importas from 0.1.0 to b26b8fc96f8a (#5219)
  • b322a16 build(deps): bump github.com/julz/importas from 0.1.1-0.20241016092914-b26b8fc96f8a to 0.2.0 (#5256)
  • d40b6da build(deps): bump github.com/ldez/gomoddirectives from 0.2.4 to 0.4.2 (#5175)
  • 794a340 build(deps): bump github.com/ldez/gomoddirectives from 0.4.2 to 0.5.0 (#5187)
  • 67825fe build(deps): bump github.com/ldez/gomoddirectives from 0.5.0 to 0.6.0 (#5196)
  • 0c6bccb build(deps): bump github.com/ldez/grignotin from 0.6.0 to 0.7.0 (#5248)
  • d74f1ae build(deps): bump github.com/ldez/tagliatelle from 0.5.0 to 0.6.0 (#5164)
  • 59f05b5 build(deps): bump github.com/ldez/tagliatelle from 0.6.0 to 0.7.1 (#5204)
  • 9686758 build(deps): bump github.com/ldez/usetesting from 0.2.0 to 0.2.1 (#5189)
  • fc650e4 build(deps): bump github.com/ldez/usetesting from 0.2.1 to 0.2.2 (#5198)
  • cf4c529 build(deps): bump github.com/ldez/usetesting from 0.2.2 to 0.3.0 (#5261)
  • 30f4265 build(deps): bump github.com/ldez/usetesting from 0.3.0 to 0.4.0 (#5264)
  • 8eb7bd8 build(deps): bump github.com/ldez/usetesting from 0.4.0 to 0.4.1 (#5266)
  • a1d0762 build(deps): bump github.com/nunnatsa/ginkgolinter from 0.18.3 to 0.18.4 (#5217)
  • 8a5d479 build(deps): bump github.com/raeperd/recvcheck from 0.1.2 to 0.2.0 (#5258)
  • b26b5ae build(deps): bump github.com/sanposhiho/wastedassign/v2 from 2.0.7 to 2.1.0 (#5186)
  • 11d508e build(deps): bump github.com/sashamelentyev/usestdlibvars from 1.27.0 to 1.28.0 (#5263)
  • 06648bc build(deps): bump github.com/shirou/gopsutil/v4 from 4.24.10 to 4.24.11 (#5180)
  • 43a7560 build(deps): bump github.com/stbenjam/no-sprintf-host-port from 0.1.1 to 0.2.0 (#5161)
  • 0a42d36 build(deps): bump github.com/tdakkota/asciicheck from 0.2.0 to 0.3.0 (#5163)
  • 0b08f09 build(deps): bump github.com/tetafro/godot from 1.4.18 to 1.4.20 (#5247)
  • b7b77ca build(deps): bump github.com/timakin/bodyclose from 574207250966 to ed6a65f985e (#5077)
  • e1a63e3 build(deps): bump github.com/tomarrell/wrapcheck/v2 from 2.9.0 to 2.10.0 (#5138)
  • 966259a build(deps): bump github.com/ultraware/funlen from 0.1.0 to 0.2.0 (#5231)
  • c16fb19 build(deps): bump github.com/ultraware/whitespace from 0.1.1 to 0.2.0 (#5244)
  • 6a28e15 build(deps): bump github.com/uudashr/gocognit from 1.1.3 to 1.1.4 (#5195)
  • 3bd5e21 build(deps): bump github.com/uudashr/gocognit from 1.1.4 to 1.2.0 (#5212)
  • 0c54e1d build(deps): bump github.com/uudashr/iface from 1.2.1 to 1.3.0 (#5162)
  • 3a293b6 build(deps): bump golang.org/x/sys from 0.27.0 to 0.28.0 (#5197)
  • fa08d7b build(deps): bump golang.org/x/tools from 0.27.0 to 0.28.0 (#5199)
  • bab25b4 build(deps): bump santhosh-tekuri/jsonschema/v5 to v6 (#5171)
  • 5bd7e2a build(deps): bump the linter-testdata group across 3 directories with 6 updates (#5182)
  • 618f29a build(deps): bump the linter-testdata group across 3 directories with 6 updates (#5268)
  • c3e693d feat: add support for SuggestedFixes (#5232)
  • 8e47515 feat: apply formatters after the suggested fixes (#5246)
  • 286701c feat: disable timeout if timeout <= 0 (#5250)
  • a27f475 feat: display linters help as JSON (#5209)
  • 6bae718 feat: format fixed files with the same formatters as the issues related to formatting (#5267)
  • f996a66 feat: improve formatter messages (#5243)
  • 7806463 fix: enable paths with junction inside windows (#5245)
  • 6b5f742 fix: improve Go version detection inside workspace (#5179)
  • 93ffea1 fix: move uniq-by-line field from output to issues (#5253)
  • e11de60 fix: remove decoder, sloglint, tagalin from 'format' preset (#5242)
  • fe04b90 gci: add new option
  • f5cca90 goheader: fix invalid position (#5238)
  • 87ea9ef gosec: handling of global nosec option when it is false (#5228)
  • a09d370 govet: add stdversion analyzer (#5160)
  • 6b000ab govet: fix stdversion (#5168)
  • b2e24d6 importas: allow multiple empty aliases (#5222)
  • 33c140e loggercheck: add missing slog option (#5155)

v1.62.2

25 Nov 14:36
89476e7
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

  • build(deps): bump github.com/uudashr/iface from 1.2.0 to 1.2.1 (#5154)
  • build(deps): bump github.com/stretchr/testify from 1.9.0 to 1.10.0 (#5152)
  • build(deps): bump github.com/Crocmagnon/fatcontext from 0.5.2 to 0.5.3 (#5153)
  • build(deps): bump github.com/polyfloyd/go-errorlint from 1.6.0 to 1.7.0 (#5134)
  • build(deps): bump github.com/nunnatsa/ginkgolinter from 0.18.0 to 0.18.3 (#5133)
  • build(deps): bump github.com/mgechev/revive from 1.5.0 to 1.5.1 (#5135)
  • build(deps): bump github.com/Antonboom/testifylint from 1.5.0 to 1.5.2 (#5132)
  • fix: ignore cache error when file not found (#5129)

v1.62.0

10 Nov 19:26
22b58c9
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

  • 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

09 Sep 18:02
a1d6c56
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

  • 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

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)