Skip to content

Releases: golangci/golangci-lint

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)

v2.1.2

15 Apr 13:53
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

  • 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

12 Apr 18:44
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

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

12 Apr 17:23
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

  • 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

25 Mar 22:00
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.0.1

24 Mar 20:59
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.0.0

24 Mar 12:37
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

  • 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

17 Mar 21:06
8b37f14
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