Commit 9f9bb1b
authored
fix(deps): Update module github.com/spf13/cobra to v1.10.1 (#2295)
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [github.com/spf13/cobra](https://redirect.github.com/spf13/cobra) | require | minor | `v1.9.1` -> `v1.10.1` |
---
### Release Notes
<details>
<summary>spf13/cobra (github.com/spf13/cobra)</summary>
### [`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 [@​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 [@​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 [@​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 [@​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 [@​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 [@​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 [@​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 [@​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 [@​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 [@​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 [@​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 [@​anishathalye](https://redirect.github.com/anishathalye) in [https://github.com/spf13/cobra/pull/2299](https://redirect.github.com/spf13/cobra/pull/2299)
#### New Contributors
- [@​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)
- [@​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)
- [@​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)
- [@​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)
- [@​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)
- [@​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)
- [@​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)
- [@​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
</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.
---
- [ ] <!-- rebase-check -->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).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MC4yMi4xIiwidXBkYXRlZEluVmVyIjoiNDAuMjIuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiYXV0b21lcmdlIl19-->1 parent c07ee17 commit 9f9bb1b
4 files changed
+12
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
61 | | - | |
| 60 | + | |
| 61 | + | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
| 83 | + | |
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
| |||
0 commit comments