Releases: golangci/golangci-lint
v1.51.2
Changelog
- 589ab84 build(deps): bump github.com/ashanbrown/forbidigo from 1.3.0 to 1.4.0 (#3590)
- c4df01f build(deps): bump github.com/bombsimon/wsl/v3 from 3.3.0 to 3.4.0 (#3575)
- b19c0f1 build(deps): bump github.com/daixiang0/gci from 0.9.0 to 0.9.1 (#3576)
- a775985 build(deps): bump github.com/go-critic/go-critic from 0.6.5 to 0.6.6 (#3616)
- 3e8facb build(deps): bump github.com/go-critic/go-critic from 0.6.6 to 0.6.7 (#3618)
- b8907fa build(deps): bump github.com/junk1tm/musttag from 0.4.4 to 0.4.5 (#3598)
- ed098c4 build(deps): bump github.com/polyfloyd/go-errorlint from 1.0.6 to 1.1.0 (#3588)
- 6437429 build(deps): bump github.com/sashamelentyev/usestdlibvars from 1.21.1 to 1.22.0 (#3574)
- ba76af4 build(deps): bump github.com/sashamelentyev/usestdlibvars from 1.22.0 to 1.23.0 (#3615)
- 1248a2b build(deps): bump github.com/securego/gosec/v2 from 2.14.0 to 2.15.0 (#3577)
- dd45e44 build(deps): bump golang.org/x/tools from 0.5.0 to 0.6.0 (#3587)
- a4d2f89 build(deps): bump honnef.co/go/tools from 0.4.0 to 0.4.1 (#3591)
- f764234 build(deps): bump honnef.co/go/tools from 0.4.1 to 0.4.2 (#3599)
- fe53ca0 fix: cache status size calculation (#3611)
- a0893e3 govet: enable timeformat by default (#3602)
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). ❤️
v1.51.1
Changelog
- 5a9bd92 build(deps): bump github.com/go-toolsmith/astcopy from v1.0.2 to v1.0.3 (#3560)
- 54f8bd6 build(deps): bump github.com/junk1tm/musttag from 0.4.3 to 0.4.4 (#3564)
- f866ad8 build(deps): bump github.com/nunnatsa/ginkgolinter from 0.8.0 to 0.8.1 (#3562)
- b0b0e4c build(deps): bump github.com/ryanrolds/sqlclosecheck from 0.3.0 to 0.4.0 (#3545)
- 193ad93 build(deps): bump github.com/sanposhiho/wastedassign/v2 from 2.0.6 to 2.0.7 (#2160)
- 53fde12 build(deps): bump github.com/shirou/gopsutil/v3 from 3.22.12 to 3.23.1 (#3544)
- b87d2c1 build(deps): bump github.com/tomarrell/wrapcheck/v2 from 2.7.0 to 2.8.0 (#3563)
- a48b00a ginkgolinter: fix panic (#3553)
- 06e3515 ineffassign: bump to HEAD (#3550)
- 7beb2fb staticcheck: bump to v0.4.0 (#3551)
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 linters authors). ❤️
v1.51.0
Changelog
- 26dde52 Add the ginkgolinter linter (#3369)
- 74b768a Add timeformat to govet analysers (#3353)
- 6f7f8ae Build NetBSD binaries (#3442)
- 49e5bc0 Revert "build(deps): bump github.com/shirou/gopsutil/v3 from 3.22.10 to 3.22.11" (#3397)
- ec4b34d build(deps): bump 4d63.com/gocheckcompilerdirectives from 1.1.0 to 1.2.0 (#3497)
- 08f0914 build(deps): bump 4d63.com/gocheckcompilerdirectives from 1.2.0 to 1.2.1 (#3519)
- 5631503 build(deps): bump 4d63.com/gochecknoglobals from 0.1.0 to 0.2.1 (#3496)
- abe878d build(deps): bump docker/build-push-action from 3 to 4 (#3522)
- 17ceb18 build(deps): bump github.com/Abirdcfly/dupword from 0.0.7 to 0.0.8 (#3333)
- 9e81318 build(deps): bump github.com/Abirdcfly/dupword from 0.0.8 to 0.0.9 (#3422)
- 7c4b7fd build(deps): bump github.com/daixiang0/gci from 0.8.1 to 0.8.2 (#3330)
- 3ed68cb build(deps): bump github.com/daixiang0/gci from 0.8.2 to 0.8.5 (#3367)
- 5a17666 build(deps): bump github.com/daixiang0/gci from 0.8.5 to 0.9.0 (#3379)
- 8ed6146 build(deps): bump github.com/fatih/color from 1.13.0 to 1.14.1 (#3520)
- 6eee916 build(deps): bump github.com/junk1tm/musttag from 0.4.1 to 0.4.3 (#3499)
- b155355 build(deps): bump github.com/kisielk/errcheck from 1.6.2 to 1.6.3 (#3482)
- 9d5b6be build(deps): bump github.com/kyoh86/exportloopref from 0.1.8 to 0.1.9 (#3317)
- a2fd652 build(deps): bump github.com/kyoh86/exportloopref from 0.1.9 to 0.1.11 (#3368)
- f290697 build(deps): bump github.com/ldez/tagliatelle from 0.3.1 to 0.4.0 (#3483)
- 5cd8583 build(deps): bump github.com/leonklingele/grouper from 1.1.0 to 1.1.1 (#3372)
- b126822 build(deps): bump github.com/mgechev/revive from 1.2.4 to 1.2.5 (#3517)
- 7fb3021 build(deps): bump github.com/nishanths/exhaustive from 0.8.3 to 0.9.2 (#3381)
- 453ff48 build(deps): bump github.com/nishanths/exhaustive from 0.9.2 to 0.9.3 (#3392)
- e5aaa0a build(deps): bump github.com/nishanths/exhaustive from 0.9.3 to 0.9.5 (#3444)
- 17c6cbb build(deps): bump github.com/nunnatsa/ginkgolinter from 0.6.0 to 0.7.1 (#3500)
- 0eb5e26 build(deps): bump github.com/polyfloyd/go-errorlint from 1.0.5 to 1.0.6 (#3380)
- 5ddece4 build(deps): bump github.com/quasilyte/go-ruleguard/dsl from 0.3.21 to 0.3.22 (#3443)
- a9acb8d build(deps): bump github.com/ryancurrah/gomodguard from 1.2.4 to 1.3.0 (#3518)
- ce9b9d6 build(deps): bump github.com/sashamelentyev/usestdlibvars from 1.20.0 to 1.21.1 (#3318)
- 0028d68 build(deps): bump github.com/securego/gosec/v2 from 2.13.1 to 2.14.0 (#3311)
- 089cf83 build(deps): bump github.com/shirou/gopsutil/v3 from 3.22.10 to 3.22.11 (#3393)
- 7a1c8d3 build(deps): bump github.com/shirou/gopsutil/v3 from 3.22.10 to 3.22.12 (#3445)
- 95813b7 build(deps): bump github.com/shirou/gopsutil/v3 from 3.22.9 to 3.22.10 (#3347)
- ff0373c build(deps): bump github.com/sivchari/tenv from 1.7.0 to 1.7.1 (#3331)
- 58ebedd build(deps): bump github.com/sourcegraph/go-diff to HEAD (#3350)
- 34dde34 build(deps): bump github.com/spf13/cobra from 1.6.0 to 1.6.1 (#3334)
- 402bb50 build(deps): bump github.com/stretchr/testify from 1.8.0 to 1.8.1 (#3332)
- 036db83 build(deps): bump github.com/timakin/bodyclose to HEAD (#3378)
- b8277a9 build(deps): bump golang.org/x/tools from 0.2.0 to 0.3.0 (#3358)
- b2462ed build(deps): bump golang.org/x/tools from 0.3.0 to 0.4.0 (#3411)
- 43e1eda build(deps): bump golang.org/x/tools from 0.4.0 to 0.5.0 (#3465)
- a31485f build(deps): bump golangci/golangci-lint-action from 3.2.0 to 3.3.0 (#3323)
- bc33392 build(deps): bump golangci/golangci-lint-action from 3.3.0 to 3.3.1 (#3360)
- 7fcd71a build(deps): bump golangci/golangci-lint-action from 3.3.1 to 3.4.0 (#3501)
- e0b6589 build(deps): bump goreleaser/goreleaser-action from 3 to 4 (#3427)
- d7f24f9 build(deps): bump minimatch from 3.0.4 to 3.1.2 in /tools (#3373)
- 31ada2a chore: Add a clarifying note to the bug report template (#3355)
- d193989 chore: Do not use methods on pointer and value receivers (#3321)
- 59bbe7f chore: add changelog
- 9a8a056 chore: fix install script (revert) (#3514)
- d57156e chore: fix install.sh to point at releases API (#3510)
- 52e2f93 chore: fix latest install to cater for existing users who installed using '-s latest' (#3513)
- fb0866a ci: support building loong64 release binaries (#3459)
- d5d671f feat: add gocheckcompilerdirectives (#3463)
- 3cc6373 feat: add musttag linter (#3386)
- 67d57f4 feat: remove deprecated linters from presets (#3405)
- 3a6f840 go1.20 support (#3414)
- d65222a unparam: bump to HEAD (#3429)
- 271a55d unparam: bump to HEAD (#3452)
- 0cc3585 wsl: fix force-err-cuddling flag (#3407)
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 linters authors). ❤️
v1.50.1
Changelog
- bd7edf3 build(deps): bump github.com/BurntSushi/toml from 1.2.0 to 1.2.1 (#3310)
- 8926a95 build(deps): bump github.com/daixiang0/gci from 0.8.0 to 0.8.1 (#3309)
- 98df049 build(deps): bump github.com/kkHAIKE/contextcheck from 1.1.2 to 1.1.3 (#3296)
- a760cb1 build(deps): bump github.com/spf13/cobra from 1.5.0 to 1.6.0 (#3298)
- 2823ec6 build(deps): bump github.com/tomarrell/wrapcheck/v2 from 2.6.2 to 2.7.0 (#3287)
- 0793063 build(deps): bump github.com/tommy-muehle/go-mnd/v2 from 2.5.0 to 2.5.1 (#3295)
- 046dce3 build(deps): bump golang.org/x/tools from 0.1.12 to 0.2.0 (#3312)
- 2fa3b6f chore: update go.mod for gen_github_action_config script (#3300)
- 6740559 code-climate: add default severity (#3294)
- d03294f fix: remove redundant character escape '/' (#3278)
- 8a1cf90 lll: skip imports (#3288)
- 5ef7b41 revive: fix configuration parsing (#3284)
v1.50.0
Changelog
- 890a826 Normalize exclude-rules paths for Windows (#2387)
- db4955a build(deps): bump github.com/OpenPeeDeeP/depguard from 1.1.0 to 1.1.1 (#3186)
- 937e3d4 build(deps): bump github.com/curioswitch/go-reassign v0.1.2 to v0.2.0 (#3234)
- 40082da build(deps): bump github.com/daixiang0/gci from 0.6.3 to 0.7.0 (#3190)
- c78bc23 build(deps): bump github.com/daixiang0/gci from 0.7.0 to 0.8.0 (#3241)
- 28d7095 build(deps): bump github.com/go-critic/go-critic from 0.6.4 to 0.6.5 (#3150)
- ff61ea9 build(deps): bump github.com/kkHAIKE/contextcheck from 1.1.0 to 1.1.1 (#3208)
- 0a581b3 build(deps): bump github.com/kkHAIKE/contextcheck from 1.1.1 to 1.1.2 (#3243)
- 0a94c36 build(deps): bump github.com/mgechev/revive from 1.2.3 to 1.2.4 (#3257)
- 33a78c9 build(deps): bump github.com/nishanths/exhaustive from 0.8.1 to 0.8.3 (#3207)
- d5dc2a1 build(deps): bump github.com/polyfloyd/go-errorlint from 1.0.2 to 1.0.3 (#3209)
- ac95c85 build(deps): bump github.com/polyfloyd/go-errorlint from 1.0.3 to 1.0.4 (#3226)
- b5203c3 build(deps): bump github.com/polyfloyd/go-errorlint from 1.0.4 to 1.0.5 (#3254)
- 4189d1c build(deps): bump github.com/sashamelentyev/usestdlibvars from 1.13.0 to 1.14.0 (#3147)
- 70d595e build(deps): bump github.com/sashamelentyev/usestdlibvars from 1.14.0 to 1.17.1 (#3188)
- 1f155b7 build(deps): bump github.com/sashamelentyev/usestdlibvars from 1.17.1 to 1.19.0 (#3206)
- d1dc9ae build(deps): bump github.com/sashamelentyev/usestdlibvars from 1.19.0 to 1.19.1 (#3242)
- e3aa30f build(deps): bump github.com/sashamelentyev/usestdlibvars from 1.19.1 to 1.20.0 (#3255)
- 24f86df build(deps): bump github.com/shirou/gopsutil/v3 from 3.22.7 to 3.22.8 (#3187)
- 704109c build(deps): bump github.com/shirou/gopsutil/v3 from 3.22.8 to 3.22.9 (#3267)
- 794f00c build(deps): bump github.com/spf13/viper from 1.12.0 to 1.13.0 (#3205)
- 942e7e5 build(deps): bump github.com/sylvia7788/contextcheck from 1.0.6 to 1.0.8 (#3148)
- ed47d7b build(deps): bump github.com/sylvia7788/contextcheck from 1.0.8 to 1.0.9 (#3189)
- 2019f76 build(deps): bump mvdan.cc/gofumpt from 0.3.1 to 0.4.0 (#3256)
- 0d33a5b cli: remove reference to old service (#3173)
- 213fb56 contextcheck: change owner (#3198)
- 8a3b754 exhaustive: add missing config (#3212)
- febe5fd feat: add linter dupword (#3192)
- 281e184 feat: add testableexamples linter (#3170)
- 3a2ad90 feat: rename logrlint to loggercheck (#3144)
- aba80c7 feat: update gofmt and goimports and add option "rewrite-rules" (#3174)
- 091d2f4 interfacebloat: fix configuration loading (#3194)
- 05c3af1 paralleltest: add tests of the ignore-missing option (#3233)
- b1cec47 wsl: support all configs and update docs (#3202)
v1.49.0
Changelog
- 69a49cf build(deps): bump github.com/GaijinEntertainment/go-exhaustruct/v2 from 2.2.2 to 2.3.0 (#3122)
- 9da04f5 build(deps): bump github.com/go-critic/go-critic from 0.6.3 to 0.6.4 (#3089)
- 1bb23af build(deps): bump github.com/mattn/go-colorable from 0.1.12 to 0.1.13 (#3123)
- be10ef2 build(deps): bump github.com/mgechev/revive from 1.2.1 to 1.2.2 (#3075)
- 1ca9aff build(deps): bump github.com/mgechev/revive from 1.2.2 to 1.2.3 (#3091)
- f78f6dd build(deps): bump github.com/polyfloyd/go-errorlint from 1.0.0 to 1.0.1 (#3092)
- edeaa17 build(deps): bump github.com/polyfloyd/go-errorlint from 1.0.1 to 1.0.2 (#3097)
- 1471405 build(deps): bump github.com/sashamelentyev/usestdlibvars from 1.10.0 to 1.13.0 (#3120)
- 0e044f2 build(deps): bump github.com/sashamelentyev/usestdlibvars from 1.8.0 to 1.10.0 (#3090)
- d57145d build(deps): bump github.com/securego/gosec/v2 from 2.12.0 to 2.13.1 (#3119)
- a813244 build(deps): bump github.com/shirou/gopsutil/v3 from 3.22.6 to 3.22.7 (#3074)
- cc2d97f contextcheck: bump to v1.0.6 && re-enable (#3102)
- 63b2fe0 feat: add interfacebloat (#3024)
- f48530e feat: add logrlint (#3093)
- 58809c3 feat: add reassign linter (#3064)
- 37d3aa4 feat: deprecate varcheck, deadcode, and structcheck (#3125)
- da3b149 fix: exit early on run --version (#3067)
- 970b0a5 fix: set an explicit GOROOT in the Docker image for go-critic (#3106)
- d4fd2db nosnakecase: deprecate linter (#3065)
v1.48.0
Changelog
- 368c41c build(deps): bump github.com/daixiang0/gci from 0.5.0 to 0.6.0 (#3035)
- 2d8fea8 build(deps): bump github.com/daixiang0/gci from 0.6.0 to 0.6.2 (#3058)
- aeb5860 build(deps): bump github.com/kisielk/errcheck from 1.6.1 to 1.6.2 (#3059)
- 0559b92 build(deps): bump revgrep to HEAD (#3054)
- 6313fa9 contextcheck: disable linter (#3050)
- 0ba1388 feat: add usestdlibvars (#3016)
- 1557692 feat: go1.19 support (#3037)
- 15cba44 gci: add missing
custom-order
setting (#3052) - 9a1b949 ifshort: deprecate linter (#3034)
- f8f8f9a nolint: drop allow-leading-space option and add "nolint:all" (#3002)
v1.47.3
Changelog
- 72fc41c build(deps): bump github.com/BurntSushi/toml from 1.1.0 to 1.2.0 (#3009)
- 57d61af build(deps): bump github.com/GaijinEntertainment/go-exhaustruct/v2 from 2.2.0 to 2.2.2 (#3030)
- 9cb17e4 build(deps): bump github.com/alingse/asasalint from 0.0.10 to 0.0.11 (#3003)
- 2ab4678 build(deps): bump github.com/daixiang0/gci from 0.4.3 to 0.5.0 (#3031)
- 03d9b11 build(deps): bump github.com/ryancurrah/gomodguard from 1.2.3 to 1.2.4 (#3029)
- e55f22c build(deps): bump github.com/sirupsen/logrus from 1.8.1 to 1.9.0 (#3010)
- c7ed8b6 build(deps): bump github.com/sivchari/nosnakecase from 1.5.0 to 1.7.0 (#3008)
- 95d57d9 build(deps): bump gitlab.com/bosi/decorder from 0.2.2 to 0.2.3 (#3033)
- d186efe build(deps): bump honnef.co/go/tools from 0.3.2 to 0.3.3 (#3032)
- 846fab8 cgo: fix linters ignoring Cgo files (#3025)
- d44cd49 feat: remove some go1.18 limitations (#3001)
- 886fbd7 gci: fix panic with invalid configuration option (#3019)