Releases: golangci/golangci-lint
v2.1.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
- 997470c build(deps): bump github.com/ghostiam/protogetter from 0.3.13 to 0.3.14 (#5727)
- 7dde13b build(deps): bump github.com/ghostiam/protogetter from 0.3.14 to 0.3.15 (#5732)
- 1581728 build(deps): bump github.com/ldez/exptostd from 0.4.2 to 0.4.3 (#5730)
- 3afce89 build(deps): bump github.com/ldez/usetesting from 0.4.2 to 0.4.3 (#5729)
- 624edd1 build(deps): bump mvdan.cc/gofumpt from 0.7.0 to 0.8.0 (#5728)
v2.1.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
The release process of v2.1.0 failed due to a regression inside goreleaser.
The binaries of v2.1.0 have been published, but not the other artifacts (AUR, Docker, etc.).
v2.1.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
- a39e032 Add funcorder linter (#5630)
- 61bbcc4 build(deps): bump dependencies in the linter-testdata group (#5691)
- 3f0afe4 build(deps): bump github.com/Antonboom/testifylint from 1.6.0 to 1.6.1 (#5654)
- d0b46eb build(deps): bump github.com/Crocmagnon/fatcontext from 0.7.1 to 0.7.2 (#5685)
- d1f1519 build(deps): bump github.com/alecthomas/chroma/v2 from 2.15.0 to 2.16.0 (#5690)
- 18a264f build(deps): bump github.com/alexkohler/nakedret/v2 from 2.0.5 to 2.0.6 (#5681)
- df1b1bb build(deps): bump github.com/alingse/nilnesserr from 0.1.2 to 0.2.0 (#5693)
- ab604ca build(deps): bump github.com/bombsimon/wsl/v4 from 4.6.0 to 4.7.0 (#5689)
- a7a49fe build(deps): bump github.com/butuzov/ireturn from 0.3.1 to 0.4.0 (#5710)
- 38d2fac build(deps): bump github.com/firefart/nonamedreturns from 1.0.5 to 1.0.6 (#5687)
- a1a9836 build(deps): bump github.com/ghostiam/protogetter from 0.3.12 to 0.3.13 (#5658)
- 9913226 build(deps): bump github.com/golangci/unconvert to HEAD (#5713)
- 72fe3b6 build(deps): bump github.com/jgautheron/goconst from 1.7.1 to 1.8.1 (#5712)
- 86cc7c6 build(deps): bump github.com/kunwardeep/paralleltest from 1.0.10 to 1.0.13 (#5636)
- ed7e596 build(deps): bump github.com/kunwardeep/paralleltest from 1.0.13 to 1.0.14 (#5657)
- 3031827 build(deps): bump github.com/mgechev/revive from 1.7.0 to 1.8.0 (#5663)
- e0e6eae build(deps): bump github.com/mgechev/revive from 1.8.0 to 1.9.0 (#5721)
- 06cc97c build(deps): bump github.com/pelletier/go-toml/v2 from 2.2.3 to 2.2.4 (#5711)
- 835bf75 build(deps): bump github.com/polyfloyd/go-errorlint from 1.7.1 to 1.8.0 (#5686)
- 7eac7fa build(deps): bump github.com/securego/gosec/v2 from 2.22.2 to 2.22.3 (#5694)
- be9882b build(deps): bump github.com/shirou/gopsutil/v4 from 4.25.2 to 4.25.3 (#5680)
- 516e0f0 build(deps): bump github.com/timonwong/loggercheck from 0.10.1 to 0.11.0 (#5715)
- fe1e49e build(deps): bump github.com/tomarrell/wrapcheck/v2 from 2.10.0 to 2.11.0 (#5656)
- 756a7b5 build(deps): bump go-simpler.org/sloglint from 0.10.0 to 0.10.1 (#5696)
- 638ece2 build(deps): bump go-simpler.org/sloglint from 0.10.1 to 0.11.0 (#5698)
- 427b310 build(deps): bump go-simpler.org/sloglint from 0.9.0 to 0.10.0 (#5688)
- bd59ef8 build(deps): bump golang.org/x/oauth2 from 0.28.0 to 0.29.0 in /scripts/gen_github_action_config in the scripts group (#5704)
- 8bf74c4 build(deps): bump golang.org/x/sys from 0.31.0 to 0.32.0 (#5699)
- ea6a565 build(deps): bump golang.org/x/tools from 0.31.0 to 0.32.0 (#5708)
- a2a26ae build(deps): bump the linter-testdata group across 2 directories with 4 updates (#5676)
- f639807 feat: add an option to display absolute paths (#5651)
- e589139 feat: add config path placeholder (#5650)
- 8c929e0 feat: add golangci-lint-fmt pre-commit hook (#5705)
- 0450995 feat: add warn-unused option for fmt command (#5668)
- 2edb46d feat: colored diff for fmt command (#5652)
- db2214f fix: gocritic importshadow checker (#5673)
- 65b3c07 fix: memory leaks when using go1.(N) with golangci-lint built with with go1.(N-1) (#5695)
- 941b1ef govet: add
httpmux
analyzer (#5717)
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)