crossplane-runtime
crossplane-runtime copied to clipboard
chore(deps): update dependency golangci/golangci-lint to v1.64.8 (main)
This PR contains the following updates:
| Package | Update | Change |
|---|---|---|
| golangci/golangci-lint | minor | v1.59.0 -> v1.64.8 |
[!WARNING] Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
golangci/golangci-lint (golangci/golangci-lint)
v1.64.8
- Detects use of configuration files from golangci-lint v2
v1.64.7
- Linters bug fixes
- Documentation
- Add GitLab documentation
v1.64.6
- Linters bug fixes
asciicheck: from 0.4.0 to 0.4.1contextcheck: from 1.1.5 to 1.1.6errcheck: from 1.8.0 to 1.9.0exptostd: from 0.4.1 to 0.4.2ginkgolinter: from 0.19.0 to 0.19.1go-exhaustruct: from 3.3.0 to 3.3.1gocheckcompilerdirectives: from 1.2.1 to 1.3.0godot: from 1.4.20 to 1.5.0perfsprint: from 0.8.1 to 0.8.2revive: from 1.6.1 to 1.7.0tagalign: from 1.4.1 to 1.4.2
v1.64.5
- Bug fixes
- Add missing flag
new-from-merge-base-flag
- Add missing flag
- Linters bug fixes
asciicheck: from 0.3.0 to 0.4.0forcetypeassert: from 0.1.0 to 0.2.0gosec: from 2.22.0 to 2.22.1
v1.64.4
- Linters bug fixes
gci: fix standard packages list for go1.24
v1.64.3
- Linters bug fixes
ginkgolinter: from 0.18.4 to 0.19.0go-critic: from 0.11.5 to 0.12.0revive: from 1.6.0 to 1.6.1gci: fix standard packages list for go1.24
- Misc.
- Build Docker images with go1.24
v1.64.2
This is the last minor release of golangci-lint v1. The next release will be golangci-lint v2.
- Enhancements
- 🎉 go1.24 support
- New
issues.new-from-merge-baseoption - New
run.relative-path-modeoption
- Linters new features
copyloopvar: from 1.1.0 to 1.2.1 (support suggested fixes)exptostd: from 0.3.1 to 0.4.1 (handlesgolang.org/x/exp/constraints.Ordered)fatcontext: from 0.5.3 to 0.7.1 (new option:check-struct-pointers)perfsprint: from 0.7.1 to 0.8.1 (new options:integer-format,error-format,string-format,bool-format, andhex-format)revive: from 1.5.1 to 1.6.0 (new rules:redundant-build-tag,use-errors-new. New optionearly-return.early-return)
- Linters bug fixes
go-errorlint: from 1.7.0 to 1.7.1gochecknoglobals: from 0.2.1 to 0.2.2godox: from006bad1to 1.1.0gosec: from 2.21.4 to 2.22.0iface: from 1.3.0 to 1.3.1nilnesserr: from 0.1.1 to 0.1.2protogetter: from 0.3.8 to 0.3.9sloglint: from 0.7.2 to 0.9.0spancheck: fix defaultStartSpanMatchersSlicevaluesstaticcheck: from 0.5.1 to 0.6.0
- Deprecations
- ⚠️
tenvis deprecated and replaced byusetesting.os-setenv: true. - ⚠️
exportlooprefdeprecation step 2
- ⚠️
- Misc.
- Sanitize severities by output format
- Avoid panic with plugin without description
- Documentation
- Clarify
depguardconfiguration
- Clarify
v1.63.4
- Linters bug fixes
dupl,gomodguard,revive: keep only Go-files.
v1.63.3
- Linters bug fixes
gofmt,gofumpt,goimports,gci: panic with several trailing EOLgoheader: skip issues with invalid positions
v1.63.2
- Linters bug fixes
gofmt,gofumpt,goimports,gci: panic with missing trailing EOL
v1.63.1
- Linters bug fixes
cgi: invalid reports with cgogofumpt: panic with autofix and cgo
v1.63.0
- Enhancements
- Add support for SuggestedFixes 🎉 (35 linters can "autofix" reports).
- Formatters (
gofmt,goimports,gofumpt,gci) are applied after the suggested fixes.
- New linters
- Add
exptostdlinter https://github.com/ldez/exptostd - Add
nilnesserrlinter https://github.com/alingse/nilnesserr - Add
usetestinglinter https://github.com/ldez/usetesting
- Add
- Linters new features
gci: new options:no-inline-comments,no-prefix-commentsgomoddirectives: from 0.2.4 to 0.6.0 (new options:go-version-pattern,toolchain-pattern,toolchain-forbidden,tool-forbidden,go-debug-forbidden)govet: newstdversion,waitgroupanalyzersimportas: allow multiple empty aliasesloggercheck: newslogoptionrecvcheck: from 0.1.2 to 0.2.0 (new options:disable-builtin,exclusions)tagliatelle: from 0.5.0 to 0.7.1 (new options:ignored-fields,extended-rules,overrides,pkg,ignore)usestdlibvars: from 1.27.0 to 1.28.0 (autofix)wrapcheck: from 2.9.0 to 2.10.0 (new option:extra-ignore-sigs)
- Linters bug fixes
asciicheck: from 0.2.0 to 0.3.0bodyclose: from5742072toed6a65ffunlen: from 0.1.0 to 0.2.0ginkgolinter: from 0.18.3 to 0.18.4gochecksumtype: from 0.2.0 to 0.3.1gocognit: from 1.1.3 to 1.2.0godot: from 1.4.18 to 1.4.20goheader: report position improvementgosec: handling of global nosec option when it is falseiface: from 1.2.1 to 1.3.0importas: from 0.1.0 to 0.2.0intrange: from 0.2.1 to 0.3.0makezero: from 1.1.1 to 1.2.0mirror: from 1.2.0 to 1.3.0nilnil: from 1.0.0 to 1.0.1nosprintfhostport: from 0.1.1 to 0.2.0reassign: from 0.2.0 to 0.3.0spancheck: from 0.6.2 to 0.6.4tagalign: from 1.3.4 to 1.4.1wastedassign: from 2.0.7 to 2.1.0whitespace: from 0.1.1 to 0.2.0wsl: from 4.4.1 to 4.5.0
- Deprecations
- ⚠️
output.uniq-by-lineis deprecated and replaced byissues.uniq-by-line.
- ⚠️
- Misc.
- Improvements of the help command (color and JSON support).
- Removes
decoder,sloglint,tagalignfromformatpreset. - Enables paths with junction inside Windows.
- The timeout is disabled if
run.timeout<= 0.
v1.62.2
- Linters bug fixes
fatcontext: from 0.5.2 to 0.5.3ginkgolinter: from 0.18.0 to 0.18.3errorlint: from 1.6.0 to 1.7.0iface: from 1.2.0 to 1.2.1revive: from 1.5.0 to 1.5.1testifylint: from 1.5.0 to 1.5.2
- Misc.
- fix: ignore cache error when file not found
v1.62.0
- New linters
- Add
recvchecklinter https://github.com/raeperd/recvcheck - Add
ifacelinter https://github.com/uudashr/iface
- Add
- Linters new features
ginkgolinter: from 0.17.0 to 0.18.0 (new option:force-succeed)gochecksumtype: from 0.1.4 to 0.2.0 (new option:default-signifies-exhaustive)loggercheck: from 0.9.4 to 0.10.1 (log/slogsupport)nilnil: from 0.1.9 to 1.0.0 (new option:detect-opposite)revive: from 1.3.9 to 1.5.0 (new rules:filename-format, andfile-length-limit)tenv: from 1.10.0 to 1.12.1 (handle dot import)testifylint: from 1.4.3 to 1.5.0 (new checkers:contains,encoded-compare,regexp)
- Linters bug fixes
bidichk: from 0.2.7 to 0.3.2 (important performance improvement)canonicalheader: from 1.1.1 to 1.1.2cyclop: from 1.2.1 to 1.2.3dupword: from 0.1.1 to 0.1.3errcheck: from 1.7.0 to 1.8.0errchkjson: from 0.3.6 to 0.4.0errname: from 0.1.13 to 1.0.0gocritic: from 0.11.4 to 0.11.5goprintffuncname: from7558a9eto v0.1.0godot: from 1.4.17 to 1.4.18gosec: from 2.21.2 to 2.21.4intrange: from 0.2.0 to 0.2.1musttag: from 0.12.2 to 0.13.0nakedret: from 2.0.4 to 2.0.5noctx: from 0.0.2 to 0.1.0protogetter: from 0.3.6 to 0.3.8
- Deprecations
- ⚠️
execinquery: deprecation step 2 - ⚠️
gomnd: deprecation step 2 (replaced bymnd)
- ⚠️
- Misc.
- Type sizing when cross-compiling (32-bit).
- code-climate: add check_name field
- Improve Go version detection
- Fix Go version propagation
- Documentation
- Adds a section about
exclude-dirs-use-default - Improve 'install from sources' section
- Improve FAQ about Go versions
- Improve linter/rule/check docs
- Improve new linter section
- Improve
forbidigopattern examples for built-in functions
- Adds a section about
v1.61.0
- Enhancements
- Add
junit-xml-extendedformat - Exclude Swagger Codegen files by default
- Add
- Linters new features
gci: from 0.13.4 to 0.13.5 (new optionno-lex-order)nolintlint: remove the empty line in the directive replacement
- Linters bug fixes
dupword: from 0.0.14 to 0.1.1fatcontext: from 0.4.0 to 0.5.2go-ruleguard: from 0.4.2 to0fe6f58(fix panic with custom linters)godot: from 1.4.16 to 1.4.17gomodguard: from 1.3.3 to 1.3.5gosec: disable temporarilyG407gosec: fromab3f6c1to 2.21.2 (partially fixG115)intrange: from 0.1.2 to 0.2.0
- Misc.
- Improve runtime version parsing
- Documentation
- Add additional info about
typecheck
- Add additional info about
v1.60.3
- Updated linters
- Misc.
- Check that the Go version use to build is greater or equals to the Go version of the project
v1.60.2
- Linters new features
- Linters bug fixes
gofmt: update to HEAD (go1.22)gofumpt: from 0.6.0 to 0.7.0gosec: fix G602 analyzerstaticcheck: from 0.5.0 to 0.5.1staticcheck: propagate Go versionwrapcheck: from 2.8.3 to 2.9.0
- Deprecations
- ⚠️
exportloopref: deprecation
- ⚠️
v1.60.1
- Misc.
- 🎉 go1.23 support
- Linters new features
exhaustruct: from 3.2.0 to 3.3.0 (recognize custom error values in return)govet(printf): report non-constant format, no argslll: advertise max line length instead of just reporting failurerevive: from 1.3.7 to 1.3.9 (new rule:comments-density)staticcheck: from 0.4.7 to 0.5.0testifylint: from 1.3.1 to 1.4.3 (new options:formatter,suite-broken-parallel,suite-subtest-run)
- Linters bug fixes
errorlint: from 1.5.2 to 1.6.0fatcontext: from 0.2.2 to 0.4.0 (fix false positives for context stored in structs)gocognit: from 1.1.2 to 1.1.3gomodguard: from 1.3.2 to 1.3.3sloglint: from 0.7.1 to 0.7.2spancheck: from 0.6.1 to 0.6.2tenv: from 1.7.1 to 1.10.0 (remove reports on fuzzing)tparallel: from 0.3.1 to 0.3.2usestdlibvars: from 1.26.0 to 1.27.0 (fix false-positive with number used inside a mathematical operations)wsl: from 4.2.1 to 4.4.1
- Deprecations
- ️⚠️
unused: removeexported-is-usedoption
- ️⚠️
- Fixes
- SARIF: sanitize level property
- ️⚠️
typecheckissues should never be ignored
- Documentation
- Add link on linter without configuration
- Remove 'trusted by' page
wslupdate documentation of the configuration
v1.59.1
- Updated linters
errorlint: from 1.5.1 to 1.5.2gomnd: deprecated configuration compatibilityintrange: addstylepresetmisspell: from 0.5.1 to 0.6.0sloglint: from 0.7.0 to 0.7.1testifylint: from 1.3.0 to 1.3.1unparam: bump to HEADusestdlibvars: from 1.25.0 to 1.26.0
- Fixes
- SARIF: init empty result slice
- SARIF: issue column >= 1
- Documentation
revive: update documentation of the configuration
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Renovate Bot.