Skip to content

Releases: golangci/golangci-lint

v1.58.0

03 May 18:22
28b3813
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.

  • 7e2229a Add pre-commit hook to run config verify (#4602)
  • b2df2f4 Add new linter canonicalheader (#4672)
  • 95fc378 build(deps): bump github.com/Antonboom/errname from 0.1.12 to 0.1.13 (#4669)
  • 4c3cc53 build(deps): bump github.com/Antonboom/nilnil from 0.1.7 to 0.1.8 (#4668)
  • 2004f31 build(deps): bump github.com/butuzov/mirror from 1.1.0 to 1.2.0 (#4610)
  • 4e56cba build(deps): bump github.com/ckaznocha/intrange from 0.1.1 to 0.1.2 (#4601)
  • ed20557 build(deps): bump github.com/daixiang0/gci from 0.12.3 to 0.13.3 (#4522)
  • dc51209 build(deps): bump github.com/daixiang0/gci from 0.13.3 to 0.13.4 (#4611)
  • 8fb9856 build(deps): bump github.com/firefart/nonamedreturns from 1.0.4 to 1.0.5 (#4666)
  • 8f59629 build(deps): bump github.com/go-critic/go-critic from 0.11.2 to 0.11.3 (#4619)
  • 92cb311 build(deps): bump github.com/golangci/misspell from 0.4.1 to 0.5.1 (#4665)
  • 3f37412 build(deps): bump github.com/golangci/revgrep from 0.5.2 to 0.5.3 (#4633)
  • 1611bca build(deps): bump github.com/jjti/go-spancheck from 0.5.3 to 0.6.0 (#4670)
  • e953689 build(deps): bump github.com/jjti/go-spancheck from 0.6.0 to 0.6.1 (#4679)
  • 3f63db1 build(deps): bump github.com/karamaru-alpha/copyloopvar from 1.0.10 to 1.1.0 (#4632)
  • e4dae2a build(deps): bump github.com/lasiar/canonicalheader from 1.0.5 to 1.0.6 (#4682)
  • 28f7c39 build(deps): bump github.com/leonklingele/grouper from 1.1.1 to 1.1.2 (#4613)
  • 8e8ad83 build(deps): bump github.com/pelletier/go-toml/v2 from 2.2.0 to 2.2.1 (#4643)
  • 813af3e build(deps): bump github.com/pelletier/go-toml/v2 from 2.2.1 to 2.2.2 (#4688)
  • 24bcca2 build(deps): bump github.com/polyfloyd/go-errorlint from 1.4.8 to 1.5.1 (#4690)
  • e12d070 build(deps): bump github.com/ryancurrah/gomodguard from 1.3.1 to 1.3.2 (#4614)
  • b937c19 build(deps): bump github.com/shirou/gopsutil/v3 from 3.24.2 to 3.24.3 (#4612)
  • fa1cca8 build(deps): bump github.com/shirou/gopsutil/v3 from 3.24.3 to 3.24.4 (#4686)
  • d2d77af build(deps): bump github.com/ultraware/whitespace from 0.1.0 to 0.1.1 (#4664)
  • 54bfac8 build(deps): bump github.com/yeya24/promlinter from 0.2.0 to 0.3.0 (#4671)
  • 1eab03d build(deps): bump gitlab.com/bosi/decorder from 0.4.1 to 0.4.2 (#4667)
  • 5e1e22f build(deps): bump go-simpler.org/musttag from 0.10.0 to 0.11.0 (#4600)
  • 7f70763 build(deps): bump go-simpler.org/musttag from 0.11.0 to 0.12.0 (#4621)
  • b7c1d1a build(deps): bump go-simpler.org/musttag from 0.12.0 to 0.12.1 (#4626)
  • ad7eab9 build(deps): bump go-simpler.org/musttag from 0.9.0 to 0.10.0 (#4579)
  • 40d4872 build(deps): bump go-simpler.org/sloglint from 0.5.0 to 0.5.1 (#4644)
  • 7ea621b build(deps): bump go-simpler.org/sloglint from 0.5.1 to 0.6.0 (#4645)
  • 1f46a11 build(deps): bump golang.org/x/tools from 0.19.0 to 0.20.0 (#4620)
  • 87db2a3 build(deps): bump golangci/golangci-lint-action from 4.0.0 to 5.1.0 (#4684)
  • 83a91b4 build(deps): bump peaceiris/actions-gh-pages from 3 to 4 (#4625)
  • b7c7a1d execinquery: deprecation (#4652)
  • c00c1a5 feat: add fatcontext linter (#4583)
  • 5a9f5c1 feat: deprecate usage of linter alternative names (#4562)
  • a7868b3 feat: err113 analyzer name (#4567)
  • 38fac89 feat: log an error when using previously deprecated linters (#4681)
  • 288c847 feat: replace gomnd by mnd (#4572)
  • 28b3813 feat: use problem matchers for GitHub Action format (#4685)
  • a706941 fix: JSON schema about severities (#4617)
  • c1f9f54 fix: don't hide typecheck errors inside diff processor (#4674)
  • 44c070a fix: keep only typecheck issues (#4640)
  • dac4ba3 fix: remove help display on error with verify command (#4597)
  • 2b2fc8c fix: skip go.mod report inside autogenerated_exclude processor (#4663)
  • 15c57c1 fix: speed up "fast" linters (#4653)
  • 003b048 fix: use plugin version (#4655)
  • 0260ec8 unparam: bump to HEAD (#4689)

v1.57.2

28 Mar 19:15
77a8601
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

  • 94a0179 build(deps): bump github.com/ckaznocha/intrange from 0.1.0 to 0.1.1 (#4570)
  • 9558299 build(deps): bump github.com/jgautheron/goconst from 1.7.0 to 1.7.1 (#4555)
  • b78225b build(deps): bump github.com/karamaru-alpha/copyloopvar from 1.0.8 to 1.0.9 (#4565)
  • 5a66842 build(deps): bump github.com/karamaru-alpha/copyloopvar from 1.0.9 to 1.0.10 (#4584)
  • afd670b build(deps): bump github.com/kkHAIKE/contextcheck from 1.1.4 to 1.1.5 (#4564)
  • 03acb64 build(deps): bump github.com/ldez/gomoddirectives from 0.2.3 to 0.2.4 (#4580)
  • 4d2fa7b build(deps): bump github.com/nunnatsa/ginkgolinter from 0.16.1 to 0.16.2 (#4569)
  • 66ec75e fix: display warnings on deprecated linter options (#4568)
  • 77a8601 fix: hide useless warning (#4587)
  • 3cff868 fix: missing output format (#4574)
  • 5ae78cd fix: the TeamCity inspectionType service message (#4573)

v1.57.1

20 Mar 16:49
cd890db
Compare
Choose a tag to compare

golangci-lint is a free and open-source project, built by people in their free time.
Also, the linter authors are an important part of golangci-lint.
If you use and appreciate golangci-lint please think to support us (golangci-lint maintainers and linter authors). ❤️

The most important changes are detailed here: https://golangci-lint.run/product/changelog/#v1571

Changelog

  • 87b6bf1 build(deps): bump github.com/golangci/plugin-module-register from 0.1.0 to 0.1.1 (#4549)
  • 921d535 build(deps): bump github.com/pelletier/go-toml/v2 from 2.1.1 to 2.2.0 (#4548)
  • cd890db fix: filter invalid issues before other processors (#4552)

v1.57.0

19 Mar 23:31
ddc703d
Compare
Choose a tag to compare

golangci-lint is a free and open-source project, built by people in their free time.
Also, the linter authors are an important part of golangci-lint.
If you use and appreciate golangci-lint please think to support us (golangci-lint maintainers and linter authors). ❤️

The most important changes are detailed here: https://golangci-lint.run/product/changelog/#v1570

⚠️ Important ⚠️

  1. Deprecated linters are inactivated, you still need to disable them if you are using enable-all.
  2. Deprecated CLI flags (about linter settings and deadline) have been removed.

Changelog

  • 2bcc010 Revert "fix: deprecation message related to UseDefaultSkipDirs (#4533)"
  • 571f2fc build(deps): bump github.com/Abirdcfly/dupword from 0.0.13 to 0.0.14 (#4398)
  • 4ee10a2 build(deps): bump github.com/Antonboom/testifylint from 1.1.2 to 1.1.3 (#4447)
  • 61f2f70 build(deps): bump github.com/Antonboom/testifylint from 1.1.3 to 1.2.0 (#4449)
  • 02ea91d build(deps): bump github.com/alexkohler/nakedret/v2 from 2.0.2 to 2.0.4 (#4540)
  • e5d2bc9 build(deps): bump github.com/catenacyber/perfsprint from 0.6.0 to 0.7.0 (#4386)
  • 2443929 build(deps): bump github.com/catenacyber/perfsprint from 0.7.0 to 0.7.1 (#4402)
  • b07bd18 build(deps): bump github.com/daixiang0/gci from 0.12.1 to 0.12.3 (#4400)
  • 9c492af build(deps): bump github.com/daixiang0/gci from 0.12.3 to 0.13.0 (#4429)
  • 17e736f build(deps): bump github.com/denis-tingaikin/go-headerfrom 0.4.3 to 0.5.0 (#4396)
  • 584520c build(deps): bump github.com/ghostiam/protogetter from 0.3.4 to 0.3.5 (#4539)
  • f6e2369 build(deps): bump github.com/go-critic/go-critic from 0.11.1 to 0.11.2 (#4430)
  • addd06c build(deps): bump github.com/golangci/plugin-module-register to 0.1.0 (#4510)
  • d06296e build(deps): bump github.com/golangci/unconvert to HEAD (#4473)
  • 76ce09b build(deps): bump github.com/jjti/go-spancheck from 0.5.2 to 0.5.3 (#4414)
  • df70758 build(deps): bump github.com/karamaru-alpha/copyloopvar from 1.0.4 to 1.0.8 (#4444)
  • f4e33e0 build(deps): bump github.com/kunwardeep/paralleltest from 1.0.9 to 1.0.10 (#4394)
  • f837070 build(deps): bump github.com/nunnatsa/ginkgolinter from 0.15.2 to 0.16.0 (#4530)
  • f2d4110 build(deps): bump github.com/nunnatsa/ginkgolinter from 0.16.0 to 0.16.1 (#4531)
  • 485cb6a build(deps): bump github.com/ryancurrah/gomodguard from 1.3.0 to 1.3.1 (#4538)
  • d36c383 build(deps): bump github.com/shirou/gopsutil/v3 from 3.24.1 to 3.24.2 (#4446)
  • b5c339f build(deps): bump github.com/stretchr/testify from 1.8.4 to 1.9.0 (#4448)
  • bcd015e build(deps): bump github.com/tomarrell/wrapcheck/v2 from 2.8.1 to 2.8.3 (#4403)
  • ce27934 build(deps): bump go-simpler.org/musttag from 0.8.0 to 0.9.0 (#4428)
  • 2c0a8ee build(deps): bump go-simpler.org/sloglint from 0.4.0 to 0.5.0 (#4523)
  • 6628d21 build(deps): bump golang.org/x/oauth2 from 0.17.0 to 0.18.0 in /scripts/gen_github_action_config (#4464)
  • 603e568 build(deps): bump golang.org/x/tools from 0.18.0 to 0.19.0 (#4462)
  • c6ac5a1 build(deps): bump google.golang.org/protobuf from 1.31.0 to 1.33.0 (#4503)
  • 4068bb7 build(deps): bump honnef.co/go/tools from 0.4.6 to 0.4.7 (#4410)
  • 5cb1656 build(deps): downgrade github.com/daixiang0/gci from 0.13.0 to 0.12.3 (#4484)
  • 98f0a9e chore: nancy
  • 51a963f chore: simplify comparators (#4499)
  • 2417da1 feat: add copyloopvar linter (#4382)
  • b96ff83 feat: add intrange linter (#4378)
  • 0683d45 feat: add sort-order option (#4467)
  • eaafdf3 feat: add verify command (#4527)
  • 803970f feat: allow running only a specific linter without modifying the file configuration (#4438)
  • b1eed50 feat: automatically adjust the maximum concurrency to the container CPU quota (#4441)
  • d37a3e0 feat: create output directory (#4524)
  • 64492b5 feat: disable copyloopvar and intrange on Go < 1.22 (#4397)
  • cba35e1 feat: improve 'no go files to analyze' message (#4536)
  • a087808 feat: inactivate deprecated linters (#4436)
  • 167204c feat: new custom linters system (#4437)
  • e3ed3ba feat: new output.formats file configuration syntax (#4521)
  • 3d91352 feat: option to not override severity from linters (#4452)
  • b05e397 feat: option to strictly follow Go autogenerated file convention (#4507)
  • 39617e4 feat: rename exclude-autogenerated-strict to exclude-generated-strict (#4514)
  • 4b7a55a feat: replace run.skip-xxx options by issues.exclude-xxx options (#4509)
  • ec52d3c feat: syntax to not override severity from linters (#4472)
  • 1cabafc feat: use gosec severities (#4470)
  • bd47701 fix: deprecation message related to UseDefaultSkipDirs (#4533)
  • ddc703d fix: disable temporarily httpresponse from govet (#4528)
  • 8f2459b fix: move show-stats field from run to output (#4439)
  • c902b8e fix: panic when concurrency=0 (#4477)
  • 797d3bb fix: rule severity is required (#4469)
  • 7e2840b fix: store and read severity from linters in the cache (#4468)
  • 2413f68 fix: use GOTOOLCHAIN=auto inside the Docker images (#4532)
  • 1b0dbb0 fix: use first issue without inline on mergeLineIssues on multiplie issues (#3316)
  • c65868c gocritic: support of enable-all and disable-all options (#4335)
  • 3dbe882 govet: add a warning about the deprecation of check-shadowing (#4535)
  • 6914447 govet: fix check-shadowing (#4534)
  • 2a2eebd install.sh: set executable bit for Unix (#4408)
  • e6720b8 misspell: add extra-words (#4401)
  • d7a461a revive: add exclude option (#4365)

v1.56.2

15 Feb 18:16
58a724a
Compare
Choose a tag to compare

golangci-lint is a free and open-source project, built by people in their free time.
Also, the linter authors are an important part of golangci-lint.
If you use and appreciate golangci-lint please think to support us (golangci-lint maintainers and linter authors). ❤️

Changelog

  • 6f26840 build(deps): bump github.com/Antonboom/testifylint from 1.1.1 to 1.1.2 (#4371)
  • 5a78c8a build(deps): bump github.com/bombsimon/wsl/v4 from 4.2.0 to 4.2.1 (#4367)
  • 71eae84 build(deps): bump github.com/go-critic/go-critic from 0.11.0 to 0.11.1 (#4388)
  • 58a724a build(deps): bump github.com/sashamelentyev/usestdlibvars from 1.24.0 to 1.25.0 (#4390)
  • a35de8c build(deps): bump github.com/securego/gosec/v2 from 2.18.2 to 2.19.0 (#4389)
  • 21bb543 build(deps): bump golang.org/x/oauth2 from 0.16.0 to 0.17.0 in /scripts/gen_github_action_config (#4380)
  • 5513d3c build(deps): bump golang.org/x/tools from 0.17.0 to 0.18.0 (#4387)
  • 5357885 build(deps): bump golangci/golangci-lint-action from 3.7.0 to 4.0.0 (#4379)

v1.56.1

08 Feb 18:15
a25592b
Compare
Choose a tag to compare

golangci-lint is a free and open-source project, built by people in their free time.
Also, the linter authors are an important part of golangci-lint.
If you use and appreciate golangci-lint please think to support us (golangci-lint maintainers and linter authors). ❤️

Changelog

  • a25592b build(deps): bump github.com/Antonboom/testifylint from 1.1.0 to 1.1.1 (#4359)
  • 828b6b4 build(deps): bump github.com/kisielk/errcheck from 1.6.3 to 1.7.0 (#4358)
  • ca7b7a4 build(deps): bump github.com/mgechev/revive from 1.3.6 to 1.3.7 (#4355)
  • b525f2b govet: disable loopclosure with go1.22 (#4357)

v1.56.0

07 Feb 14:51
1a00b40
Compare
Choose a tag to compare

golangci-lint is a free and open-source project, built by people in their free time.
Also, the linter authors are an important part of golangci-lint.
If you use and appreciate golangci-lint please think to support us (golangci-lint maintainers and linter authors). ❤️

Important

testifylint has breaking changes about enabling/disabling checks:

  • If you were using the option enable with a filtered list of checks, you should either add disable-all: true (1) or use disable field (2).

      # Example (1)
      testifylint:
        disable-all: true
        enable:
          - bool-compare
          - compares
          - empty
          - error-is-as
          - error-nil
          - expected-actual
          - go-require
          - float-compare
          - len
          - nil-compare
          - require-error
          # - suite-dont-use-pkg
          - suite-extra-assert-call
          - suite-thelper
      # Example (2)
      testifylint:
        disable:
          - suite-dont-use-pkg

Changelog

  • bc169eb build(deps): bump actions/cache from 3 to 4 (#4329)
  • 390acc9 build(deps): bump actions/setup-go from 4 to 5 (#4250)
  • 4200194 build(deps): bump github.com/Antonboom/testifylint from 0.2.3 to 1.0.1 (#4186)
  • a12dde0 build(deps): bump github.com/Antonboom/testifylint from 1.0.1 to 1.0.2 (#4193)
  • 7656f82 build(deps): bump github.com/Antonboom/testifylint from 1.0.2 to 1.1.0 (#4330)
  • 1a00b40 build(deps): bump github.com/GaijinEntertainment/go-exhaustruct/v3 from 3.1.0 to 3.2.0 (#4304)
  • affa7d1 build(deps): bump github.com/OpenPeeDeeP/depguard/v2 from 2.1.0 to 2.2.0 (#4207)
  • 553161d build(deps): bump github.com/alecthomas/go-check-sumtype from 0.1.3 to 0.1.4 (#4317)
  • e32f2f3 build(deps): bump github.com/bombsimon/wsl/v4 from 3.4.0 to 4.2.0 (#4215)
  • 6e09a20 build(deps): bump github.com/butuzov/ireturn from 0.2.2 to 0.3.0 (#4352)
  • 2b7c777 build(deps): bump github.com/catenacyber/perfsprint from 0.2.0 to 0.3.0 (#4157)
  • be5c2e9 build(deps): bump github.com/catenacyber/perfsprint from 0.3.0 to 0.3.1 (#4199)
  • 84442f2 build(deps): bump github.com/catenacyber/perfsprint from 0.3.1 to 0.4.0 (#4236)
  • 5083ba8 build(deps): bump github.com/catenacyber/perfsprint from 0.4.0 to 0.5.0 (#4258)
  • 4ea9468 build(deps): bump github.com/catenacyber/perfsprint from 0.5.0 to 0.6.0 (#4346)
  • 1ead82f build(deps): bump github.com/cloudflare/circl from 1.3.3 to 1.3.7 in /tools (#4307)
  • 815556a build(deps): bump github.com/daixiang0/gci from 0.11.2 to 0.12.0 (#4260)
  • 0264eaa build(deps): bump github.com/daixiang0/gci from 0.12.0 to 0.12.1 (#4293)
  • da3eb31 build(deps): bump github.com/fatih/color from 1.15.0 to 1.16.0 (#4194)
  • 97cb905 build(deps): bump github.com/ghostiam/protogetter from 0.2.3 to 0.3.1 (#4167)
  • 2640ed7 build(deps): bump github.com/ghostiam/protogetter from 0.3.1 to 0.3.3 (#4185)
  • 3ff4163 build(deps): bump github.com/ghostiam/protogetter from 0.3.3 to 0.3.4 (#4327)
  • 87d55d9 build(deps): bump github.com/go-critic/go-critic from 0.10.0 to 0.11.0 (#4295)
  • 790c163 build(deps): bump github.com/go-critic/go-critic from 0.9.0 to 0.10.0 (#4249)
  • 32dd629 build(deps): bump github.com/go-git/go-git/v5 from 5.4.2 to 5.11.0 in /tools (#4288)
  • 77cfc00 build(deps): bump github.com/gordonklaus/ineffassign from 0.0.0-20230610083614-0e73809eb601 to 0.1.0 (#4173)
  • 53e2c53 build(deps): bump github.com/jgautheron/goconst from 1.6.0 to 1.7.0 (#4200)
  • 1bb8c57 build(deps): bump github.com/jjti/go-spancheck from 0.4.2 to 0.5.2 (#4316)
  • 77ffe36 build(deps): bump github.com/kunwardeep/paralleltest from 1.0.8 to 1.0.9 (#4256)
  • 8301163 build(deps): bump github.com/mgechev/revive from 1.3.4 to 1.3.5 (#4305)
  • 057c296 build(deps): bump github.com/mgechev/revive from 1.3.5 to 1.3.6 (#4314)
  • b314655 build(deps): bump github.com/nishanths/exhaustive from 0.11.0 to 0.12.0 (#4195)
  • 1c7e42a build(deps): bump github.com/nunnatsa/ginkgolinter from 0.14.1 to 0.15.1 (#4248)
  • f921f00 build(deps): bump github.com/nunnatsa/ginkgolinter from 0.15.1 to 0.15.2 (#4282)
  • dfd0984 build(deps): bump github.com/polyfloyd/go-errorlint from 1.4.5 to 1.4.6 (#4234)
  • 42cdc30 build(deps): bump github.com/polyfloyd/go-errorlint from 1.4.6 to 1.4.7 (#4245)
  • 1cfbe0d build(deps): bump github.com/polyfloyd/go-errorlint from 1.4.7 to 1.4.8 (#4337)
  • a0d0401 build(deps): bump github.com/shirou/gopsutil/v3 from 3.23.10 to 3.23.11 (#4233)
  • 8f4b1a7 build(deps): bump github.com/shirou/gopsutil/v3 from 3.23.11 to 3.23.12 (#4296)
  • ee98b50 build(deps): bump github.com/shirou/gopsutil/v3 from 3.23.12 to 3.24.1 (#4344)
  • 0d5efec build(deps): bump github.com/sigstore/cosign from 1.13.1 to 1.13.2 in /tools (#4251)
  • 4c6c871 build(deps): bump github.com/tetafro/godot from 1.4.15 to 1.4.16 (#4192)
  • 57bc603 build(deps): bump github.com/ykadowak/zerologlint from 0.1.3 to 0.1.4 (#4222)
  • 5cb4973 build(deps): bump github.com/ykadowak/zerologlint from 0.1.4 to 0.1.5 (#4235)
  • cd0d344 build(deps): bump github/codeql-action from 2 to 3 (#4266)
  • 89bfdc0 build(deps): bump go-simpler.org/musttag from v0.7.2 to v0.8.0 (#4201)
  • f17fef3 build(deps): bump go-simpler.org/sloglint from 0.1.2 to 0.2.0 (#4166)
  • b702218 build(deps): bump go-simpler.org/sloglint from 0.2.0 to 0.3.0 (#4183)
  • 27e99b5 build(deps): bump go-simpler.org/sloglint from 0.3.0 to 0.4.0 (#4257)
  • 2060066 build(deps): bump golang.org/x/crypto from 0.14.0 to 0.17.0 in /tools (#4269)
  • 0baed20 build(deps): bump golang.org/x/oauth2 from 0.13.0 to 0.14.0 in /scripts/gen_github_action_config (#4203)
  • 855d443 build(deps): bump golang.org/x/oauth2 from 0.14.0 to 0.15.0 in /scripts/gen_github_action_config (#4223)
  • 75d5708 build(deps): bump golang.org/x/oauth2 from 0.15.0 to 0.16.0 in /scripts/gen_github_action_config (#4308)
  • cf2591a build(deps): bump golang.org/x/tools from 0.14.0 to 0.15.0 (#4191)
  • de98cc0 build(deps): bump golang.org/x/tools from 0.15.0 to 0.16.0 (#4232)
  • 6b535ae build(deps): bump golang.org/x/tools from 0.16.0 to 0.16.1 (#4259)
  • 4bf463a build(deps): bump golang.org/x/tools from 0.16.1 to 0.17.0 (#4315)
  • 11bf3d6 build(deps): bump mvdan.cc/gofumpt from 0.5.0 to 0.6.0 (#4338)
  • 71ffbf2 build(deps): bump mvdan.cc/unparam from 20221223090309-7455f1af531d to 20240104100049-c549a3470d14 (#4333)
  • a7c175b build(deps): bump peter-evans/create-pull-request from 5 to 6 (#4348)
  • 32e5b2b build(deps): github.com/macabu/inamedparam from 0.1.2 to 0.1.3 (#4261)
  • 4384969 chore: build doc on PR
  • 7fc341e devs: fix typo in testdata for gochecknoglobals (#4320)
  • d23c354 feat: add spancheck linter (#4290)
  • b3ffe70 feat: implement stats per linter with a flag (#4341)
  • 95bc7a8 fix: make versioning inside Docker image consistent with binaries (#4279)
  • ad4a6b2 fix: parse Go RC version (#4319)
  • 192ee89 go1.22 support (#4272)
  • d99c02c misspell: add mode option (#4275)
  • f269abe sloglint: add static-msg option (#4213)
  • 78742ac whitespace: update after moving to the analysis package (#4003)

v1.55.2

03 Nov 13:27
e3c2265
Compare
Choose a tag to compare

If you use and appreciate golangci-lint please think to support us (golangci-lint maintainers and linter authors). ❤️

Changelog

  • 02b6600 build(deps): bump github.com/butuzov/ireturn from 0.2.1 to 0.2.2 (#4178)
  • 5a0f059 build(deps): bump github.com/nunnatsa/ginkgolinter from 0.14.0 to 0.14.1 (#4171)
  • e3c2265 build(deps): bump github.com/shirou/gopsutil/v3 from 3.23.9 to 3.23.10 (#4177)

v1.55.1

25 Oct 10:25
9b20d49
Compare
Choose a tag to compare

If you use and appreciate golangci-lint please think to support us (golangci-lint maintainers and linter authors). ❤️

Changelog

  • 3d58209 build(deps): bump actions/setup-node from 3 to 4 (#4155)
  • 5c19d1d build(deps): bump github.com/golangci/revgrep from v0.5.0 to v0.5.2 (#4154)
  • 4068be1 build(deps): bump github.com/securego/gosec/v2 from 2.18.1 to 2.18.2 (#4153)
  • 9b20d49 output: convert backslashes to forward slashes for GitHub Action annotations printer (#4149)

v1.55.0

20 Oct 11:55
de1c391
Compare
Choose a tag to compare

If you use and appreciate golangci-lint please think to support us (golangci-lint maintainers and linter authors). ❤️

Changelog

  • 4b188db Add "inamedparam": checks for interface method with unnamed params (#3793)
  • 2d5d29f Add testifylint linter (#4103)
  • 3c34799 Add a pre-commit hook to check all files (#4046)
  • de1c391 Add perfsprint linter (#3714)
  • 8c178d3 add protogetter linter (#4069)
  • c65ab4b build(deps): bump actions/checkout from 3 to 4 (#4065)
  • b74ffbb build(deps): bump docker/build-push-action from 4 to 5 (#4094)
  • b974c30 build(deps): bump docker/setup-buildx-action from 2 to 3 (#4093)
  • 47d7785 build(deps): bump docker/setup-qemu-action from 2 to 3 (#4095)
  • cf93cf5 build(deps): bump github.com/4meepo/tagalign from 1.3.2 to 1.3.3 (#4143)
  • 95edd30 build(deps): bump github.com/Abirdcfly/dupword from 0.0.12 to 0.0.13 (#4104)
  • 5b40213 build(deps): bump github.com/breml/bidichk from 0.2.4 to 0.2.6 (#4044)
  • c6eae6c build(deps): bump github.com/breml/bidichk from 0.2.6 to 0.2.7 (#4101)
  • f4b0ca7 build(deps): bump github.com/breml/errchkjson from 0.3.1 to 0.3.5 (#4042)
  • c9956e8 build(deps): bump github.com/breml/errchkjson from 0.3.5 to 0.3.6 (#4102)
  • 64e382b build(deps): bump github.com/butuzov/ireturn from 0.2.0 to 0.2.1 (#4142)
  • cc02271 build(deps): bump github.com/daixiang0/gci from 0.11.0 to 0.11.1 (#4068)
  • 615a52b build(deps): bump github.com/daixiang0/gci from 0.11.1 to 0.11.2 (#4090)
  • 0605100 build(deps): bump github.com/ghostiam/protogetter from 0.2.2 to 0.2.3 (#4130)
  • f18d712 build(deps): bump github.com/golangci/revgrep from 745bb2f7c2e6 to v0.5.0 (#4064)
  • a69976a build(deps): bump github.com/jgautheron/goconst from 1.5.1 to 1.6.0 (#4055)
  • 663d002 build(deps): bump github.com/mgechev/revive from 1.3.2 to 1.3.3 (#4043)
  • eeb2088 build(deps): bump github.com/mgechev/revive from 1.3.3 to 1.3.4 (#4087)
  • 0e82ef5 build(deps): bump github.com/nunnatsa/ginkgolinter from 0.13.5 to 0.14.0 (#4117)
  • 452410c build(deps): bump github.com/polyfloyd/go-errorlint from 1.4.4 to 1.4.5 (#4078)
  • b673fb7 build(deps): bump github.com/ryanrolds/sqlclosecheck from 0.4.0 to 0.5.1 (#4071)
  • 823f02d build(deps): bump github.com/securego/gosec/v2 from 2.17.0 to 2.18.0 (#4120)
  • e96af3a build(deps): bump github.com/securego/gosec/v2 from 2.18.0 to 2.18.1 (#4131)
  • 2858394 build(deps): bump github.com/shirou/gopsutil/v3 from 3.23.7 to 3.23.8 (#4063)
  • 1af49e3 build(deps): bump github.com/shirou/gopsutil/v3 from 3.23.8 to 3.23.9 (#4111)
  • 22c6434 build(deps): bump github.com/tetafro/godot from 1.4.14 to 1.4.15 (#4077)
  • 0946f2c build(deps): bump github.com/uudashr/gocognit from 1.0.7 to 1.1.1 (#4129)
  • 904cec8 build(deps): bump github.com/uudashr/gocognit from 1.1.0 to 1.1.2 (#4145)
  • ffb9608 build(deps): bump github.com/uudashr/gocognit from 1.1.1 to 1.1.0 (#4144)
  • 865b93a build(deps): bump github.com/xen0n/gosmopolitan from 1.2.1 to 1.2.2 (#4070)
  • 4b72aa5 build(deps): bump gitlab.com/bosi/decorder from 0.4.0 to 0.4.1 (#4056)
  • 4b83e50 build(deps): bump golang.org/x/net from 0.10.0 to 0.17.0 in /tools (#4124)
  • 6cd1bfd build(deps): bump golang.org/x/net from 0.16.0 to 0.17.0 in /scripts/gen_github_action_config (#4125)
  • efb52af build(deps): bump golang.org/x/oauth2 from 0.11.0 to 0.12.0 in /scripts/gen_github_action_config (#4079)
  • 2b73b3a build(deps): bump golang.org/x/oauth2 from 0.12.0 to 0.13.0 in /scripts/gen_github_action_config (#4122)
  • 28d88a1 build(deps): bump golang.org/x/tools from 0.12.0 to 0.13.0 (#4066)
  • dd58dd5 build(deps): bump golang.org/x/tools from 0.13.0 to 0.14.0 (#4119)
  • 75b6a08 build(deps): bump golangci/golangci-lint-action from 3.6.0 to 3.7.0 (#4036)
  • fd06dca build(deps): bump goreleaser/goreleaser-action from 4 to 5 (#4080)
  • 41bfce9 build(deps): bump honnef.co/go/tools from 0.4.5 to 0.4.6 (#4083)
  • 69d6cc9 feat: add gochecksumtype linter (#3671)
  • 39c5fd1 feat: add sloglint linter (#4133)
  • 3d8ae00 feat: update gofmt and goimports (#4115)
  • 4254fad fix: update gofmt (#4141)
  • 6491317 govet: add appends analyzer (#4127)
  • bce3dfd unused: support passing in options (#4086)