Releases: golangci/golangci-lint
v2.2.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.2.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
- f54365b Add noinlineerr linter (#5826)
- 3e52be7 Add swaggo/swag formatter (#5749)
- f5f2c16 build(deps): bump github.com/Abirdcfly/dupword from 0.1.3 to 0.1.4 (#5809)
- 2a63ebc build(deps): bump github.com/Abirdcfly/dupword from 0.1.4 to 0.1.5 (#5839)
- 0bcafa0 build(deps): bump github.com/Abirdcfly/dupword from 0.1.5 to 0.1.6 (#5841)
- 58036dd build(deps): bump github.com/alecthomas/chroma/v2 from 2.17.2 to 2.18.0 (#5812)
- acbcbdb build(deps): bump github.com/ashanbrown/forbidigo from 1.6.0 to 2.1.0 (#5783)
- e905d80 build(deps): bump github.com/ashanbrown/makezero from 1.2.0 to 2.0.1 (#5782)
- 82147d5 build(deps): bump github.com/bombsimon/wsl/v5 from 4.7.0 to 5.0.0 (#5900)
- ba13580 build(deps): bump github.com/go-viper/mapstructure/v2 from 2.2.1 to 2.3.0 (#5888)
- f40f9d7 build(deps): bump github.com/golangci/misspell from 0.6.0 to 0.7.0 (#5813)
- b9510d7 build(deps): bump github.com/golangci/plugin-module-register from 0.1.1 to 0.1.2 (#5838)
- 8eab120 build(deps): bump github.com/jgautheron/goconst from 1.8.1 to 1.8.2 (#5825)
- ed782d7 build(deps): bump github.com/jjti/go-spancheck from 0.6.4 to 0.6.5 (#5784)
- 6ed4f04 build(deps): bump github.com/ldez/exptostd from 0.4.3 to 0.4.4 (#5876)
- cc3f6de build(deps): bump github.com/ldez/gomoddirectives from 0.6.1 to 0.7.0 (#5869)
- 6b65696 build(deps): bump github.com/ldez/usetesting from 0.4.3 to 0.5.0 (#5877)
- 8e38a6e build(deps): bump github.com/manuelarte/embeddedstructfieldcheck from 0.2.1 to 0.3.0 (#5811)
- fd9a0f2 build(deps): bump github.com/manuelarte/funcorder from 0.2.1 to 0.3.0 (#5743)
- 5a945fd build(deps): bump github.com/manuelarte/funcorder from 0.3.0 to 0.5.0 (#5792)
- 1052555 build(deps): bump github.com/mgechev/revive from 1.9.0 to 1.10.0 (#5837)
- ee5054a build(deps): bump github.com/santhosh-tekuri/jsonschema/v6 from 6.0.1 to 6.0.2 (#5829)
- e7c4589 build(deps): bump github.com/sashamelentyev/usestdlibvars from 1.28.0 to 1.29.0 (#5828)
- fd792ae build(deps): bump github.com/securego/gosec/v2 from 2.22.3 to 2.22.4 (#5788)
- 9f19dcb build(deps): bump github.com/securego/gosec/v2 from 2.22.4 to 2.22.5 (#5880)
- a02b91e build(deps): bump github.com/shirou/gopsutil/v4 from 4.25.4 to 4.25.5 (#5849)
- af60e9f build(deps): bump github.com/sonatard/noctx from 0.1.0 to 0.3.3 (#5771)
- 8496d6d build(deps): bump github.com/sonatard/noctx from 0.3.3 to 0.3.4 (#5895)
- 66fc278 build(deps): bump github.com/uudashr/iface from 1.3.1 to 1.3.2 (#5810)
- 36ddc0e build(deps): bump github.com/uudashr/iface from 1.3.2 to 1.4.0 (#5820)
- c2db6c4 build(deps): bump golang.org/x/mod from 0.24.0 to 0.25.0 (#5868)
- 9e01be5 build(deps): bump golang.org/x/oauth2 from 0.29.0 to 0.30.0 in /scripts/gen_github_action_config in the scripts group (#5781)
- f0c8514 build(deps): bump golang.org/x/sys from 0.32.0 to 0.33.0 (#5785)
- 4af8bfc build(deps): bump golang.org/x/tools from 0.32.0 to 0.33.0 (#5786)
- 09ca65a build(deps): bump golang.org/x/tools from 0.33.0 to 0.34.0 (#5867)
- 5546285 build(deps): bump golangci/golangci-lint-action from 7.0.0 to 8.0.0 in the github-actions group (#5780)
- 48d1da4 build(deps): bump the linter-testdata group across 2 directories with 2 updates (#5814)
- 69479c6 build(deps): bump the linter-testdata group across 4 directories with 4 updates (#5850)
- deee4e7 errcheck: add verbose option (#5802)
- b24761d feat: add arangolint linter (#5718)
- c61f43f feat: add embeddedstructfieldcheck linter (#5761)
- 75b18f9 feat: deprecate print-resources-usage flag (#5860)
- 65c85df fix: deduplicate typecheck errors (#5864)
- 156db1d fix: error message when trying to migrate a migrated config (#5836)
- 8c225c3 fix: exclusions path-expect (#5798)
- db7f62b fix: formats consistently the code with gci (#5893)
- d4bc40e fix: formatters CLI flags help message (#5835)
- 3217de6 fix: stop the analysis after the first package analysis error (#5885)
- f946bcd fix: typecheck memory leak (#5884)
- 6d9ab42 fix: unique version per custom build (#5896)
- cd315cd fix: write the input to stdout when using stdin and there are no changes (#5827)
v2.1.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
- 896c041 build(deps): bump github.com/alecthomas/chroma/v2 from 2.16.0 to 2.17.0 (#5772)
- 75865b1 build(deps): bump github.com/alecthomas/chroma/v2 from 2.17.0 to 2.17.2 (#5779)
- 999631a build(deps): bump github.com/shirou/gopsutil/v4 from 4.25.3 to 4.25.4 (#5778)
- 1b791de build(deps): bump github.com/tetafro/godot from 1.5.0 to 1.5.1 (#5770)
- 69778fe build(deps): bump go-simpler.org/musttag from 0.13.0 to 0.13.1 (#5769)
- 2ea61ac build(deps): bump the linter-testdata group across 2 directories with 2 updates (#5777)
v2.1.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
Due to an error related to Snapcraft, some artifacts of the v2.1.4 release have not been published.
This release contains the same things as v2.1.3.
v2.1.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
Due to an error related to Snapcraft, some artifacts of the v2.1.3 release have not been published.
This release contains the same things as v2.1.3.
v2.1.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
- 6d2a94b build(deps): bump go.augendre.info/fatcontext from 0.7.2 to 0.8.0 (#5757)
- f1e4d89 fix: add go.mod hash to the cache salt (#5739)
- d0588f0 fix: convert uint as pointer of uint for the migration (#5755)
- 43e07c4 fix: order of staticcheck settings during migration (#5741)
- 221803a fix: related information position (#5746)
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.