Skip to content

Releases: golangci/golangci-lint

v1.64.5

13 Feb 21:44
0a603e4
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

  • a43c84c build(deps): bump github.com/gostaticanalysis/forcetypeassert from 0.1.0 to 0.2.0 (#5409)
  • 4be8bf8 build(deps): bump github.com/securego/gosec/v2 from 2.22.0 to 2.22.1 (#5410)
  • e352220 build(deps): bump github.com/tdakkota/asciicheck from 0.3.0 to 0.4.0 (#5411)
  • 0a603e4 fix: add missing new-from-merge-base flag (#5412)

v1.64.4

12 Feb 22:22
04aec4f
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.64.3

12 Feb 20:06
09167d7
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

  • b8920dd build(deps): bump github.com/go-critic/go-critic from 0.11.5 to 0.12.0 (#5400)
  • 1a0b85b build(deps): bump github.com/mgechev/revive from 1.6.0 to 1.6.1 (#5399)
  • 750e1ab build(deps): bump github.com/nunnatsa/ginkgolinter from 0.18.4 to 0.19.0 (#5404)
  • 08ae805 gci: fix standard packages list for go1.24 (#5402)

v1.64.2

11 Feb 22:09
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

  • 07019ee build(deps): bump honnef.co/go/tools from 0.5.1 to 0.6.0 (#5391)
  • 474fdaf go1.24 support (#5224)
  • e21ee9a build(deps): bump github.com/ldez/exptostd from 0.4.0 to 0.4.1 (#5390)
  • 8e1d5f4 build(deps): bump golang.org/x/tools from 0.29.0 to 0.30.0 (#5389)
  • 23eafd5 build(deps): bump github.com/catenacyber/perfsprint from 0.8.0 to 0.8.1 (#5386)
  • 71445ee build(deps): bump go-simpler.org/sloglint from 0.7.2 to 0.9.0 (#5384)
  • 9ce9097 build(deps): bump 4d63.com/gochecknoglobals from 0.2.1 to 0.2.2 (#5380)
  • 1200be2 build(deps): bump github.com/catenacyber/perfsprint from 0.7.1 to 0.8.0 (#5382)
  • 2b24c4e build(deps): bump golang.org/x/sys from 0.29.0 to 0.30.0 (#5376)
  • fbc663d build(deps): bump golang.org/x/mod from 0.22.0 to 0.23.0 (#5375)
  • 0284fa9 tenv: deprecation (#5373)
  • a2ef9ee build(deps): bump github.com/polyfloyd/go-errorlint from 1.7.0 to 1.7.1 (#5368)
  • a7da404 build(deps): bump github.com/spf13/pflag from 1.0.5 to 1.0.6 (#5367)
  • 72a1b33 build(deps): bump github.com/shirou/gopsutil/v4 from 4.24.12 to 4.25.1 (#5366)
  • 10c03d7 feat: use run.relative-path-mode for output format paths (#5363)
  • fc94060 build(deps): bump the linter-testdata group across 2 directories with 4 updates (#5365)
  • 192e98b feat: add new issues.new-from-merge-base option (#5362)
  • 980a911 fix: sanitize severities by output format (#5359)
  • 4b05170 build(deps): bump github.com/matoous/godox from 0.0.0-20230222163458-006bad1f9d26 to 1.1.0 (#5355)
  • 98c110b feat: new linter exclusions system (#5339)
  • d1e9da0 fix: fallback on unknown severities for code climate (#5350)
  • 2637593 build(deps): bump github.com/mgechev/revive from 1.5.1 to 1.6.0 (#5346)
  • 23641e3 build(deps): bump github.com/golangci/revgrep from 0.6.1 to 0.7.0 (#5337)
  • a10bfc5 build(deps): bump github.com/golangci/revgrep from 0.6.0 to 0.6.1 (#5336)
  • 2084a50 build(deps): bump github.com/Crocmagnon/fatcontext from 0.6.0 to 0.7.1 (#5335)
  • ac95a23 build(deps): bump github.com/ldez/exptostd from 0.3.1 to 0.4.0 (#5330)
  • 20e4b1e build(deps): bump github.com/Crocmagnon/fatcontext from 0.5.3 to 0.6.0 (#5332)
  • 29eaf2d build(deps): bump github.com/ldez/gomoddirectives from 0.6.0 to 0.6.1 (#5329)
  • 5a7c7e6 fix: spancheck default StartSpanMatchersSlice values (#5324)
  • 019bde5 build(deps): bump github.com/golangci/revgrep from 0.5.3 to 0.6.0 (#5319)
  • 2502d20 build(deps): bump github.com/mattn/go-colorable from 0.1.13 to 0.1.14 (#5318)
  • 8f187ff build(deps): bump github.com/securego/gosec/v2 from 2.21.4 to 2.22.0 (#5311)
  • e24c18c build(deps): bump github.com/karamaru-alpha/copyloopvar from 1.1.0 to 1.2.1 (#5307)
  • ace35f0 fix: avoid panic with plugin without description (#5312)
  • 09489d5 build(deps): bump github.com/uudashr/iface from 1.3.0 to 1.3.1 (#5308)
  • c07dc97 build(deps): bump github.com/ghostiam/protogetter from 0.3.8 to 0.3.9 (#5306)
  • 555fb5c build(deps): bump github.com/alingse/nilnesserr from 0.1.1 to 0.1.2 (#5305)
  • b7fd295 build(deps): bump golang.org/x/tools from 0.28.0 to 0.29.0 (#5309)
  • b747025 build(deps): bump github.com/ldez/grignotin from 0.7.0 to 0.8.0 (#5295)
  • d516da9 build(deps): bump golang.org/x/sys from 0.28.0 to 0.29.0 (#5293)

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)