Skip to content

v1.56.0

Compare
Choose a tag to compare
@golangci-releaser golangci-releaser released this 07 Feb 14:51
· 590 commits to master since this release
1a00b40

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)