Releases: golangci/golangci-lint
v2.0.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
v2.0.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.0.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
- bc96740 build(deps): bump mvdan.cc/unparam to HEAD (#5584)
- 23679e1 feat: new help commands related to formatters (#5517)
- 07e4a33 build(deps): bump github.com/Antonboom/errname from 1.0.0 to 1.1.0 (#5541)
- ddccb04 build(deps): bump github.com/Antonboom/nilnil from 1.0.1 to 1.1.0 (#5560)
- 64c6528 build(deps): bump github.com/Antonboom/testifylint from 1.5.2 to 1.6.0 (#5542)
- c79a93b build(deps): bump github.com/BurntSushi/toml from 1.4.1-0.20240526193622-a339e1f7089c to 1.5.0 (#5577)
- bb4d6b7 build(deps): bump github.com/bombsimon/wsl/v4 from 4.5.0 to 4.6.0 (#5483)
- b882bdd build(deps): bump github.com/breml/bidichk from 0.3.2 to 0.3.3 (#5536)
- dd6cf47 build(deps): bump github.com/breml/errchkjson from 0.4.0 to 0.4.1 (#5537)
- e9bc786 build(deps): bump github.com/catenacyber/perfsprint from 0.8.2 to 0.9.0 (#5481)
- fc87bfb build(deps): bump github.com/catenacyber/perfsprint from 0.9.0 to 0.9.1 (#5538)
- 0748577 build(deps): bump github.com/charmbracelet/lipgloss from 1.0.0 to 1.1.0 (#5556)
- 139ac3a build(deps): bump github.com/ckaznocha/intrange from 0.3.0 to 0.3.1 (#5589)
- 988b38e build(deps): bump github.com/daixiang0/gci from 0.13.5 to 0.13.6 (#5592)
- ca31177 build(deps): bump github.com/ghostiam/protogetter from 0.3.10 to 0.3.12 (#5578)
- d960769 build(deps): bump github.com/ghostiam/protogetter from 0.3.9 to 0.3.10 (#5531)
- 5dfb629 build(deps): bump github.com/go-critic/go-critic from 0.12.0 to 0.13.0 (#5579)
- 161f1c3 build(deps): bump github.com/macabu/inamedparam from 0.1.3 to 0.2.0 (#5554)
- af4b3f8 build(deps): bump github.com/ryancurrah/gomodguard from 1.3.5 to 1.4.1 (#5511)
- 845cf8a build(deps): bump github.com/timakin/bodyclose from ed6a65f985e3 to 1db5c5ca4d67 (#5585)
- e57f2d0 build(deps): bump github.com/xen0n/gosmopolitan from 1.2.2 to 1.3.0 (#5561)
- 1984b05 build(deps): bump the linter-testdata group across 3 directories with 4 updates (#5532)
- 610cc04 feat: add an option to display config path as JSON (#5431)
- df67079 feat: add option stdin for fmt command (#5588)
- a424bbe feat: check version of the configuration (#5524)
- a79eeab feat: configuration options renaming (#5462)
- 18e322e feat: convert comma separated to slices (#5468)
- 4fbd027 feat: detects linters inside formatters (#5544)
- 4d2f4d6 feat: drop v1 compatibility with exclude-dirs-use-default for fmt (#5520)
- b62fb8c feat: error if typecheck is enabled or disabled (#5543)
- feddadf feat: golines formatter (#5432)
- e564cce feat: merge staticcheck, stylecheck, gosimple (#5487)
- 6a37088 feat: migration command (#5506)
- 5a783ba feat: new
fmt
command with dedicated formatter configuration (#5357) - e651eee feat: new default for relative-path-mode to cfg (#5454)
- bed771a feat: new default sort order (#5465)
- 45f39cc feat: new default values (#5470)
- 60ac0dd feat: new linters configuration (#5475)
- 76d896a feat: new output format configuration (#5440)
- 7892153 feat: remove alternative names (#5472)
- 7611c76 feat: remove compatibility layer for formatters configuration (#5446)
- fab6467 feat: remove deprecated elements (#5450)
- 378dfbd feat: remove options (#5464)
- 7bcac43 feat: remove v1 exclusion configuration (#5451)
- fb7cc99 feat: use homogeneous JSON flags (#5522)
- 1400552 fix: formatters shound't be enabled/disabled as linters (#5516)
- 3df32d1 fix: funlen ignore-comments (#5594)
- 3f6f904 fix: improve staticcheck migration (#5545)
v1.64.8
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.7
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
- 94946f3 build(deps): bump github.com/OpenPeeDeeP/depguard/v2 from 2.2.0 to 2.2.1 (#5509)
- 132365e build(deps): bump github.com/golangci/dupl from 3e9179ac440a to f665c8d69b32 (#5512)
- bddd1bc build(deps): bump github.com/securego/gosec/v2 from 2.22.1 to 2.22.2 (#5515)
- 624fb4e build(deps): bump golang.org/x/mod from 0.23.0 to 0.24.0 (#5507)
- 8cffdb7 build(deps): bump golang.org/x/oauth2 from 0.27.0 to 0.28.0 in /scripts/gen_github_action_config in the scripts group (#5521)
- 7a3f3d7 build(deps): bump golang.org/x/tools from 0.30.0 to 0.31.0 (#5508)
- c13fd5b build(deps): bump honnef.co/go/tools from 0.6.0 to 0.6.1 (#5510)
v1.64.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
- 3d28c57 Require type for oneOf mutual exclusion (#5426)
- 84ab753 build(deps): bump 4d63.com/gocheckcompilerdirectives from 1.2.1 to 1.3.0 (#5485)
- 9fddfc4 build(deps): bump github.com/4meepo/tagalign from 1.4.1 to 1.4.2 (#5430)
- 404916a build(deps): bump github.com/GaijinEntertainment/go-exhaustruct/v3 from 3.3.0 to 3.3.1 (#5467)
- 3b6b9da build(deps): bump github.com/catenacyber/perfsprint from 0.8.1 to 0.8.2 (#5441)
- 336b21b build(deps): bump github.com/kisielk/errcheck from 1.8.0 to 1.9.0 (#5447)
- baad5bb build(deps): bump github.com/kkHAIKE/contextcheck from 1.1.5 to 1.1.6 (#5482)
- 9e832c9 build(deps): bump github.com/ldez/exptostd from 0.4.1 to 0.4.2 (#5456)
- f2c6303 build(deps): bump github.com/mgechev/revive from 1.6.1 to 1.7.0 (#5422)
- 9a2423a build(deps): bump github.com/nunnatsa/ginkgolinter from 0.19.0 to 0.19.1 (#5435)
- 140d96e build(deps): bump github.com/rogpeppe/go-internal from 1.13.1 to 1.14.0 (#5469)
- 3eecab1 build(deps): bump github.com/rogpeppe/go-internal from 1.14.0 to 1.14.1 (#5476)
- d574f35 build(deps): bump github.com/shirou/gopsutil/v4 from 4.25.1 to 4.25.2 (#5486)
- 1a6b95b build(deps): bump github.com/spf13/cobra from 1.8.1 to 1.9.0 (#5421)
- 69ed661 build(deps): bump github.com/spf13/cobra from 1.9.0 to 1.9.1 (#5429)
- 5e17a57 build(deps): bump github.com/tdakkota/asciicheck from 0.4.0 to 0.4.1 (#5418)
- 2c1d661 build(deps): bump github.com/tetafro/godot from 1.4.20 to 1.5.0 (#5420)
- 414f446 build(deps): bump golang.org/x/oauth2 from 0.26.0 to 0.27.0 in /scripts/gen_github_action_config in the scripts group (#5471)
- 042d640 build(deps): bump golangci/golangci-lint-action from 6.3.2 to 6.5.0 in the github-actions group (#5419)
- d4f4d16 build(deps): bump google.golang.org/protobuf from 1.36.4 to 1.36.5 in /pkg/golinters/protogetter/testdata in the linter-testdata group across 1 directory (#5484)
- f69da39 fix: use commit hash when version is v0.0.0 (#5479)
- 53d58e8 govet: skip fieldalignment test on 32bit platforms (#5463)
v1.64.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
- 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
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
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
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)