Skip to content

Commit cfcaffa

Browse files
authored
fix(deps): Update module github.com/spf13/cobra to v1.10.2 (#21923)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [github.com/spf13/cobra](https://redirect.github.com/spf13/cobra) | require | minor | `v1.8.1` -> `v1.10.2` | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>spf13/cobra (github.com/spf13/cobra)</summary> ### [`v1.10.2`](https://redirect.github.com/spf13/cobra/releases/tag/v1.10.2) [Compare Source](https://redirect.github.com/spf13/cobra/compare/v1.10.1...v1.10.2) #### 🔧 Dependencies - chore: Migrate from `gopkg.in/yaml.v3` to `go.yaml.in/yaml/v3` by [@&#8203;dims](https://redirect.github.com/dims) in [https://github.com/spf13/cobra/pull/2336](https://redirect.github.com/spf13/cobra/pull/2336) - the `gopkg.in/yaml.v3` package has been deprecated for some time: this should significantly cleanup dependency/supply-chains for consumers of `spf13/cobra` #### 📈 CI/CD - Fix linter and allow CI to pass by [@&#8203;marckhouzam](https://redirect.github.com/marckhouzam) in [https://github.com/spf13/cobra/pull/2327](https://redirect.github.com/spf13/cobra/pull/2327) - fix: actions/setup-go v6 by [@&#8203;jpmcb](https://redirect.github.com/jpmcb) in [https://github.com/spf13/cobra/pull/2337](https://redirect.github.com/spf13/cobra/pull/2337) #### 🔥✍🏼 Docs - Add documentation for repeated flags functionality by [@&#8203;rvergis](https://redirect.github.com/rvergis) in [https://github.com/spf13/cobra/pull/2316](https://redirect.github.com/spf13/cobra/pull/2316) #### 🍂 Refactors - refactor: replace several vars with consts by [@&#8203;htoyoda18](https://redirect.github.com/htoyoda18) in [https://github.com/spf13/cobra/pull/2328](https://redirect.github.com/spf13/cobra/pull/2328) - refactor: change minUsagePadding from var to const by [@&#8203;ssam18](https://redirect.github.com/ssam18) in [https://github.com/spf13/cobra/pull/2325](https://redirect.github.com/spf13/cobra/pull/2325) #### 🤗 New Contributors - [@&#8203;rvergis](https://redirect.github.com/rvergis) made their first contribution in [https://github.com/spf13/cobra/pull/2316](https://redirect.github.com/spf13/cobra/pull/2316) - [@&#8203;htoyoda18](https://redirect.github.com/htoyoda18) made their first contribution in [https://github.com/spf13/cobra/pull/2328](https://redirect.github.com/spf13/cobra/pull/2328) - [@&#8203;ssam18](https://redirect.github.com/ssam18) made their first contribution in [https://github.com/spf13/cobra/pull/2325](https://redirect.github.com/spf13/cobra/pull/2325) - [@&#8203;dims](https://redirect.github.com/dims) made their first contribution in [https://github.com/spf13/cobra/pull/2336](https://redirect.github.com/spf13/cobra/pull/2336) **Full Changelog**: spf13/cobra@v1.10.1...v1.10.2 Thank you to our amazing contributors!!!!! 🐍 🚀 ### [`v1.10.1`](https://redirect.github.com/spf13/cobra/releases/tag/v1.10.1) [Compare Source](https://redirect.github.com/spf13/cobra/compare/v1.10.0...v1.10.1) ##### 🐛 Fix - chore: upgrade pflags v1.0.9 by [@&#8203;jpmcb](https://redirect.github.com/jpmcb) in [https://github.com/spf13/cobra/pull/2305](https://redirect.github.com/spf13/cobra/pull/2305) v1.0.9 of pflags brought back `ParseErrorsWhitelist` and marked it as deprecated **Full Changelog**: spf13/cobra@v1.10.0...v1.10.1 ### [`v1.10.0`](https://redirect.github.com/spf13/cobra/releases/tag/v1.10.0) [Compare Source](https://redirect.github.com/spf13/cobra/compare/v1.9.1...v1.10.0) #### What's Changed ##### 🚨 Attention! - Bump pflag to 1.0.8 by [@&#8203;tomasaschan](https://redirect.github.com/tomasaschan) in [https://github.com/spf13/cobra/pull/2303](https://redirect.github.com/spf13/cobra/pull/2303) This version of `pflag` carried a breaking change: it renamed `ParseErrorsWhitelist` to `ParseErrorsAllowlist` which can break builds if both `pflag` and `cobra` are dependencies in your project. - If you use both ` pflag and `cobra` , upgrade `pflag`to 1.0.8 and`cobra`to`1.10.0\` - ***or*** use the newer, fixed version of `pflag` v1.0.9 which keeps the deprecated `ParseErrorsWhitelist` More details can be found here: [https://github.com/spf13/cobra/pull/2303#issuecomment-3242333515](https://redirect.github.com/spf13/cobra/pull/2303#issuecomment-3242333515) ##### ✨ Features - Flow context to command in SetHelpFunc by [@&#8203;Frassle](https://redirect.github.com/Frassle) in [https://github.com/spf13/cobra/pull/2241](https://redirect.github.com/spf13/cobra/pull/2241) - The default ShellCompDirective can be customized for a command and its subcommands by [@&#8203;albers](https://redirect.github.com/albers) in [https://github.com/spf13/cobra/pull/2238](https://redirect.github.com/spf13/cobra/pull/2238) ##### 🐛 Fix - Upgrade golangci-lint to v2, address findings by [@&#8203;scop](https://redirect.github.com/scop) in [https://github.com/spf13/cobra/pull/2279](https://redirect.github.com/spf13/cobra/pull/2279) ##### 🪠 Testing - Test with Go 1.24 by [@&#8203;harryzcy](https://redirect.github.com/harryzcy) in [https://github.com/spf13/cobra/pull/2236](https://redirect.github.com/spf13/cobra/pull/2236) - chore: Rm GitHub Action PR size labeler by [@&#8203;jpmcb](https://redirect.github.com/jpmcb) in [https://github.com/spf13/cobra/pull/2256](https://redirect.github.com/spf13/cobra/pull/2256) ##### 📝 Docs - Remove traling curlybrace by [@&#8203;yedayak](https://redirect.github.com/yedayak) in [https://github.com/spf13/cobra/pull/2237](https://redirect.github.com/spf13/cobra/pull/2237) - Update command.go by [@&#8203;styee](https://redirect.github.com/styee) in [https://github.com/spf13/cobra/pull/2248](https://redirect.github.com/spf13/cobra/pull/2248) - feat: Add security policy by [@&#8203;jpmcb](https://redirect.github.com/jpmcb) in [https://github.com/spf13/cobra/pull/2253](https://redirect.github.com/spf13/cobra/pull/2253) - Update Readme (Warp) by [@&#8203;ericdachen](https://redirect.github.com/ericdachen) in [https://github.com/spf13/cobra/pull/2267](https://redirect.github.com/spf13/cobra/pull/2267) - Add Periscope to the list of projects using Cobra by [@&#8203;anishathalye](https://redirect.github.com/anishathalye) in [https://github.com/spf13/cobra/pull/2299](https://redirect.github.com/spf13/cobra/pull/2299) #### New Contributors - [@&#8203;harryzcy](https://redirect.github.com/harryzcy) made their first contribution in [https://github.com/spf13/cobra/pull/2236](https://redirect.github.com/spf13/cobra/pull/2236) - [@&#8203;yedayak](https://redirect.github.com/yedayak) made their first contribution in [https://github.com/spf13/cobra/pull/2237](https://redirect.github.com/spf13/cobra/pull/2237) - [@&#8203;Frassle](https://redirect.github.com/Frassle) made their first contribution in [https://github.com/spf13/cobra/pull/2241](https://redirect.github.com/spf13/cobra/pull/2241) - [@&#8203;styee](https://redirect.github.com/styee) made their first contribution in [https://github.com/spf13/cobra/pull/2248](https://redirect.github.com/spf13/cobra/pull/2248) - [@&#8203;ericdachen](https://redirect.github.com/ericdachen) made their first contribution in [https://github.com/spf13/cobra/pull/2267](https://redirect.github.com/spf13/cobra/pull/2267) - [@&#8203;albers](https://redirect.github.com/albers) made their first contribution in [https://github.com/spf13/cobra/pull/2238](https://redirect.github.com/spf13/cobra/pull/2238) - [@&#8203;anishathalye](https://redirect.github.com/anishathalye) made their first contribution in [https://github.com/spf13/cobra/pull/2299](https://redirect.github.com/spf13/cobra/pull/2299) - [@&#8203;tomasaschan](https://redirect.github.com/tomasaschan) made their first contribution in [https://github.com/spf13/cobra/pull/2303](https://redirect.github.com/spf13/cobra/pull/2303) **Full Changelog**: spf13/cobra@v1.9.1...v1.9.2 ### [`v1.9.1`](https://redirect.github.com/spf13/cobra/releases/tag/v1.9.1) [Compare Source](https://redirect.github.com/spf13/cobra/compare/v1.9.0...v1.9.1) ##### 🐛 Fixes - Fix CompletionFunc implementation by [@&#8203;ccoVeille](https://redirect.github.com/ccoVeille) in [https://github.com/spf13/cobra/pull/2234](https://redirect.github.com/spf13/cobra/pull/2234) - Revert "Make detection for test-binary more universal ([#&#8203;2173](https://redirect.github.com/spf13/cobra/issues/2173))" by [@&#8203;marckhouzam](https://redirect.github.com/marckhouzam) in [https://github.com/spf13/cobra/pull/2235](https://redirect.github.com/spf13/cobra/pull/2235) **Full Changelog**: spf13/cobra@v1.9.0...v1.9.1 ### [`v1.9.0`](https://redirect.github.com/spf13/cobra/releases/tag/v1.9.0) [Compare Source](https://redirect.github.com/spf13/cobra/compare/v1.8.1...v1.9.0) #### ✨ Features - Allow linker to perform deadcode elimination for program using Cobra by [@&#8203;aarzilli](https://redirect.github.com/aarzilli) in [https://github.com/spf13/cobra/pull/1956](https://redirect.github.com/spf13/cobra/pull/1956) - Add default completion command even if there are no other sub-commands by [@&#8203;marckhouzam](https://redirect.github.com/marckhouzam) in [https://github.com/spf13/cobra/pull/1559](https://redirect.github.com/spf13/cobra/pull/1559) - Add CompletionWithDesc helper by [@&#8203;ccoVeille](https://redirect.github.com/ccoVeille) in [https://github.com/spf13/cobra/pull/2231](https://redirect.github.com/spf13/cobra/pull/2231) #### 🐛 Fixes - Fix deprecation comment for Command.SetOutput by [@&#8203;thaJeztah](https://redirect.github.com/thaJeztah) in [https://github.com/spf13/cobra/pull/2172](https://redirect.github.com/spf13/cobra/pull/2172) - Replace deprecated ioutil usage by [@&#8203;nirs](https://redirect.github.com/nirs) in [https://github.com/spf13/cobra/pull/2181](https://redirect.github.com/spf13/cobra/pull/2181) - Fix --version help and output for plugins by [@&#8203;nirs](https://redirect.github.com/nirs) in [https://github.com/spf13/cobra/pull/2180](https://redirect.github.com/spf13/cobra/pull/2180) - Allow to reset the templates to the default by [@&#8203;marckhouzam](https://redirect.github.com/marckhouzam) in [https://github.com/spf13/cobra/pull/2229](https://redirect.github.com/spf13/cobra/pull/2229) #### 🤖 Completions - Make Powershell completion work in constrained mode by [@&#8203;lstemplinger](https://redirect.github.com/lstemplinger) in [https://github.com/spf13/cobra/pull/2196](https://redirect.github.com/spf13/cobra/pull/2196) - Improve detection for flags that accept multiple values by [@&#8203;thaJeztah](https://redirect.github.com/thaJeztah) in [https://github.com/spf13/cobra/pull/2210](https://redirect.github.com/spf13/cobra/pull/2210) - add CompletionFunc type to help with completions by [@&#8203;ccoVeille](https://redirect.github.com/ccoVeille) in [https://github.com/spf13/cobra/pull/2220](https://redirect.github.com/spf13/cobra/pull/2220) - Add similar whitespace escape logic to bash v2 completions than in other completions by [@&#8203;kangasta](https://redirect.github.com/kangasta) in [https://github.com/spf13/cobra/pull/1743](https://redirect.github.com/spf13/cobra/pull/1743) - Print ActiveHelp for bash along other completions by [@&#8203;marckhouzam](https://redirect.github.com/marckhouzam) in [https://github.com/spf13/cobra/pull/2076](https://redirect.github.com/spf13/cobra/pull/2076) - fix(completions): Complete map flags multiple times by [@&#8203;gabe565](https://redirect.github.com/gabe565) in [https://github.com/spf13/cobra/pull/2174](https://redirect.github.com/spf13/cobra/pull/2174) - fix(bash): nounset unbound file filter variable on empty extension by [@&#8203;scop](https://redirect.github.com/scop) in [https://github.com/spf13/cobra/pull/2228](https://redirect.github.com/spf13/cobra/pull/2228) #### 🧪 Testing - Test also with go 1.23 by [@&#8203;nirs](https://redirect.github.com/nirs) in [https://github.com/spf13/cobra/pull/2182](https://redirect.github.com/spf13/cobra/pull/2182) - Make detection for test-binary more universal by [@&#8203;thaJeztah](https://redirect.github.com/thaJeztah) in [https://github.com/spf13/cobra/pull/2173](https://redirect.github.com/spf13/cobra/pull/2173) #### ✍🏼 Documentation - docs: update README.md by [@&#8203;eltociear](https://redirect.github.com/eltociear) in [https://github.com/spf13/cobra/pull/2197](https://redirect.github.com/spf13/cobra/pull/2197) - Improve site formatting by [@&#8203;nirs](https://redirect.github.com/nirs) in [https://github.com/spf13/cobra/pull/2183](https://redirect.github.com/spf13/cobra/pull/2183) - doc: add Conduit by [@&#8203;raulb](https://redirect.github.com/raulb) in [https://github.com/spf13/cobra/pull/2230](https://redirect.github.com/spf13/cobra/pull/2230) - doc: azion project added to the list of CLIs that use cobra by [@&#8203;maxwelbm](https://redirect.github.com/maxwelbm) in [https://github.com/spf13/cobra/pull/2198](https://redirect.github.com/spf13/cobra/pull/2198) - Fix broken links in active_help.md by [@&#8203;vuil](https://redirect.github.com/vuil) in [https://github.com/spf13/cobra/pull/2202](https://redirect.github.com/spf13/cobra/pull/2202) - chore: fix function name in comment by [@&#8203;zhuhaicity](https://redirect.github.com/zhuhaicity) in [https://github.com/spf13/cobra/pull/2216](https://redirect.github.com/spf13/cobra/pull/2216) #### 🔧 Dependency upgrades - build(deps): bump github.com/cpuguy83/go-md2man/v2 from 2.0.5 to 2.0.6 by [@&#8203;thaJeztah](https://redirect.github.com/thaJeztah) in [https://github.com/spf13/cobra/pull/2206](https://redirect.github.com/spf13/cobra/pull/2206) - Update to latest go-md2man by [@&#8203;mikelolasagasti](https://redirect.github.com/mikelolasagasti) in [https://github.com/spf13/cobra/pull/2201](https://redirect.github.com/spf13/cobra/pull/2201) - Upgrade `pflag` dependencies for v1.9.0 by [@&#8203;jpmcb](https://redirect.github.com/jpmcb) in [https://github.com/spf13/cobra/pull/2233](https://redirect.github.com/spf13/cobra/pull/2233) *** Thank you to all of our amazing contributors and all the great work that's been going into the completions feature!! ##### 👋🏼 New Contributors - [@&#8203;gabe565](https://redirect.github.com/gabe565) made their first contribution in [https://github.com/spf13/cobra/pull/2174](https://redirect.github.com/spf13/cobra/pull/2174) - [@&#8203;maxwelbm](https://redirect.github.com/maxwelbm) made their first contribution in [https://github.com/spf13/cobra/pull/2198](https://redirect.github.com/spf13/cobra/pull/2198) - [@&#8203;lstemplinger](https://redirect.github.com/lstemplinger) made their first contribution in [https://github.com/spf13/cobra/pull/2196](https://redirect.github.com/spf13/cobra/pull/2196) - [@&#8203;vuil](https://redirect.github.com/vuil) made their first contribution in [https://github.com/spf13/cobra/pull/2202](https://redirect.github.com/spf13/cobra/pull/2202) - [@&#8203;mikelolasagasti](https://redirect.github.com/mikelolasagasti) made their first contribution in [https://github.com/spf13/cobra/pull/2201](https://redirect.github.com/spf13/cobra/pull/2201) - [@&#8203;zhuhaicity](https://redirect.github.com/zhuhaicity) made their first contribution in [https://github.com/spf13/cobra/pull/2216](https://redirect.github.com/spf13/cobra/pull/2216) - [@&#8203;ccoVeille](https://redirect.github.com/ccoVeille) made their first contribution in [https://github.com/spf13/cobra/pull/2220](https://redirect.github.com/spf13/cobra/pull/2220) - [@&#8203;kangasta](https://redirect.github.com/kangasta) made their first contribution in [https://github.com/spf13/cobra/pull/1743](https://redirect.github.com/spf13/cobra/pull/1743) - [@&#8203;aarzilli](https://redirect.github.com/aarzilli) made their first contribution in [https://github.com/spf13/cobra/pull/1956](https://redirect.github.com/spf13/cobra/pull/1956) **Full Changelog**: spf13/cobra@v1.8.1...v1.9.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - Between 12:00 AM and 03:59 AM, on day 1 of the month ( * 0-3 1 * * ) (UTC), 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](https://redirect.github.com/renovatebot/renovate).
1 parent 8144c1c commit cfcaffa

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

scaffold/go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ module github.com/cloudquery/cloudquery/scaffold/v3
22

33
go 1.25.6
44

5-
require github.com/spf13/cobra v1.8.1
5+
require github.com/spf13/cobra v1.10.2
66

77
require (
88
github.com/inconshreveable/mousetrap v1.1.0 // indirect
9-
github.com/spf13/pflag v1.0.5 // indirect
9+
github.com/spf13/pflag v1.0.9 // indirect
1010
)

scaffold/go.sum

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
github.com/cpuguy83/go-md2man/v2 v2.0.4/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
1+
github.com/cpuguy83/go-md2man/v2 v2.0.6/go.mod h1:oOW0eioCTA6cOiMLiUPZOpcVxMig6NIQQ7OS05n1F4g=
22
github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8=
33
github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw=
44
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
5-
github.com/spf13/cobra v1.8.1 h1:e5/vxKd/rZsfSJMUX1agtjeTDf+qv1/JdBF8gg5k9ZM=
6-
github.com/spf13/cobra v1.8.1/go.mod h1:wHxEcudfqmLYa8iTfL+OuZPbBZkmvliBWKIezN3kD9Y=
7-
github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA=
8-
github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
5+
github.com/spf13/cobra v1.10.2 h1:DMTTonx5m65Ic0GOoRY2c16WCbHxOOw6xxezuLaBpcU=
6+
github.com/spf13/cobra v1.10.2/go.mod h1:7C1pvHqHw5A4vrJfjNwvOdzYu0Gml16OCs2GRiTUUS4=
7+
github.com/spf13/pflag v1.0.9 h1:9exaQaMOCwffKiiiYk6/BndUBv+iRViNW+4lEMi0PvY=
8+
github.com/spf13/pflag v1.0.9/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
9+
go.yaml.in/yaml/v3 v3.0.4/go.mod h1:DhzuOOF2ATzADvBadXxruRBLzYTpT36CKvDb3+aBEFg=
910
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
10-
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=

0 commit comments

Comments
 (0)