Skip to content

Releases: golangci/golangci-lint

v2.4.0

14 Aug 00:04
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

  • fe730db build(deps): bump github.com/4meepo/tagalign from 1.4.2 to 1.4.3 (#5971)
  • 78dedd3 build(deps): bump github.com/GaijinEntertainment/go-exhaustruct from v3.3.1 to 4.0.0 (#5984)
  • 3db762c build(deps): bump github.com/alecthomas/chroma/v2 from 2.19.0 to 2.20.0 (#5981)
  • 16a682e build(deps): bump github.com/shirou/gopsutil/v4 from 4.25.6 to 4.25.7 (#5970)
  • 4b2b940 build(deps): bump golang.org/x/mod from 0.26.0 to 0.27.0 (#5982)
  • b4038f6 build(deps): bump golang.org/x/sys from 0.34.0 to 0.35.0 (#5980)
  • 18bf59c build(deps): bump golang.org/x/tools from 0.35.0 to 0.36.0 (#5988)
  • fca8610 feat: go1.25 support (#5872)
  • ef6ead8 godox: trim filepath from report messages (#5977)
  • cabd53d staticcheck: allow empty options (#5983)

v2.3.1

02 Aug 21:51
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

  • e460991 build(deps): bump github.com/bombsimon/wsl/v5 from 5.1.0 to 5.1.1 (#5959)
  • 430bd5e build(deps): bump github.com/daixiang0/gci from 0.13.6 to 0.13.7 (#5957)
  • 5ab9312 build(deps): bump github.com/ldez/grignotin from 0.9.0 to 0.10.0 (#5958)
  • 1231acb build(deps): bump github.com/securego/gosec/v2 from 2.22.6 to 2.22.7 (#5953)
  • 5ab4747 build(deps): bump github.com/sonatard/noctx from 0.3.5 to 0.4.0 (#5960)
  • f5dcd1f build(deps): bump the linter-testdata group across 3 directories with 3 updates (#5964)
  • 2b86f85 tagliatelle: force upper case for custom initialisms (#5956)

v2.3.0

21 Jul 15:16
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

  • efabf43 build(deps): bump github.com/AlwxSin/noinlineerr from 1.0.4 to 1.0.5 (#5949)
  • 1f65794 build(deps): bump github.com/bombsimon/wsl/v5 from 5.0.0 to 5.1.0 (#5917)
  • b1b3862 build(deps): bump github.com/go-viper/mapstructure/v2 from 2.3.0 to 2.4.0 (#5947)
  • e36f9d4 build(deps): bump github.com/mgechev/revive from 1.10.0 to 1.11.0 (#5933)
  • f8010b0 build(deps): bump github.com/nunnatsa/ginkgolinter from 0.19.1 to 0.20.0 (#5932)
  • 5b60be1 build(deps): bump github.com/securego/gosec/v2 from 2.22.5 to 2.22.6 (#5950)
  • 7cc0f9c build(deps): bump github.com/sonatard/noctx from 0.3.4 to 0.3.5 (#5916)
  • f807e9b build(deps): bump github.com/spf13/pflag from 1.0.6 to 1.0.7 (#5948)
  • 90a403c build(deps): bump github.com/uudashr/iface from 1.4.0 to 1.4.1 (#5915)
  • 75d4ce3 build(deps): bump go-simpler.org/sloglint from 0.11.0 to 0.11.1 (#5936)
  • 6ead9d7 build(deps): bump golang.org/x/sync from 0.15.0 to 0.16.0 (#5934)
  • d325213 build(deps): bump golang.org/x/tools from 0.34.0 to 0.35.0 (#5935)
  • 9298bc0 fix: panic: close of closed channel (#5939)

v2.2.2

11 Jul 12:26
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

  • b2b08ac build(deps): bump github.com/AlwxSin/noinlineerr from 1.0.3 to 1.0.4 (#5928)
  • aaeb9a2 build(deps): bump github.com/alecthomas/chroma/v2 from 2.18.0 to 2.19.0 (#5914)
  • b0c55d2 build(deps): bump github.com/shirou/gopsutil/v4 from 4.25.5 to 4.25.6 (#5918)
  • 466ecf2 build(deps): bump golang.org/x/mod from 0.25.0 to 0.26.0 (#5927)
  • 80027c4 build(deps): bump golang.org/x/sys from 0.33.0 to 0.34.0 (#5931)
  • fb86fc8 build(deps): bump the linter-testdata group across 2 directories with 3 updates (#5908)
  • 7c8ce46 fix: panic: close of closed channel (#5929)
  • f6b5aa3 godot: add noinline value into the JSONSchema (#5922)

v2.2.1

29 Jun 21:29
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

v2.2.0

28 Jun 21:07
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

  • 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

04 May 16:06
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

  • 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

24 Apr 19:54
8c14421
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

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

24 Apr 18:02
6ed4080
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

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

24 Apr 17:17
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

  • 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)