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 pflagto 1.0.8 andcobrato1.10.0`
or use the newer, fixed version of pflag v1.0.9 which keeps the deprecated ParseErrorsWhitelist
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [github.com/spf13/cobra](https://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://github.com/spf13/cobra/releases/tag/v1.10.1)
[Compare Source](https://github.com/spf13/cobra/compare/v1.10.0...v1.10.1)
##### 🐛 Fix
- chore: upgrade pflags v1.0.9 by [@​jpmcb](https://github.com/jpmcb) in [#​2305](https://github.com/spf13/cobra/pull/2305)
v1.0.9 of pflags brought back `ParseErrorsWhitelist` and marked it as deprecated
**Full Changelog**: <https://github.com/spf13/cobra/compare/v1.10.0...v1.10.1>
### [`v1.10.0`](https://github.com/spf13/cobra/releases/tag/v1.10.0)
[Compare Source](https://github.com/spf13/cobra/compare/v1.9.1...v1.10.0)
#### What's Changed
##### 🚨 Attention!
- Bump pflag to 1.0.8 by [@​tomasaschan](https://github.com/tomasaschan) in [#​2303](https://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: [#​2303 (comment)](https://github.com/spf13/cobra/pull/2303#issuecomment-3242333515)
##### ✨ Features
- Flow context to command in SetHelpFunc by [@​Frassle](https://github.com/Frassle) in [#​2241](https://github.com/spf13/cobra/pull/2241)
- The default ShellCompDirective can be customized for a command and its subcommands by [@​albers](https://github.com/albers) in [#​2238](https://github.com/spf13/cobra/pull/2238)
##### 🐛 Fix
- Upgrade golangci-lint to v2, address findings by [@​scop](https://github.com/scop) in [#​2279](https://github.com/spf13/cobra/pull/2279)
##### 🪠 Testing
- Test with Go 1.24 by [@​harryzcy](https://github.com/harryzcy) in [#​2236](https://github.com/spf13/cobra/pull/2236)
- chore: Rm GitHub Action PR size labeler by [@​jpmcb](https://github.com/jpmcb) in [#​2256](https://github.com/spf13/cobra/pull/2256)
##### 📝 Docs
- Remove traling curlybrace by [@​yedayak](https://github.com/yedayak) in [#​2237](https://github.com/spf13/cobra/pull/2237)
- Update command.go by [@​styee](https://github.com/styee) in [#​2248](https://github.com/spf13/cobra/pull/2248)
- feat: Add security policy by [@​jpmcb](https://github.com/jpmcb) in [#​2253](https://github.com/spf13/cobra/pull/2253)
- Update Readme (Warp) by [@​ericdachen](https://github.com/ericdachen) in [#​2267](https://github.com/spf13/cobra/pull/2267)
- Add Periscope to the list of projects using Cobra by [@​anishathalye](https://github.com/anishathalye) in [#​2299](https://github.com/spf13/cobra/pull/2299)
#### New Contributors
- [@​harryzcy](https://github.com/harryzcy) made their first contribution in [#​2236](https://github.com/spf13/cobra/pull/2236)
- [@​yedayak](https://github.com/yedayak) made their first contribution in [#​2237](https://github.com/spf13/cobra/pull/2237)
- [@​Frassle](https://github.com/Frassle) made their first contribution in [#​2241](https://github.com/spf13/cobra/pull/2241)
- [@​styee](https://github.com/styee) made their first contribution in [#​2248](https://github.com/spf13/cobra/pull/2248)
- [@​ericdachen](https://github.com/ericdachen) made their first contribution in [#​2267](https://github.com/spf13/cobra/pull/2267)
- [@​albers](https://github.com/albers) made their first contribution in [#​2238](https://github.com/spf13/cobra/pull/2238)
- [@​anishathalye](https://github.com/anishathalye) made their first contribution in [#​2299](https://github.com/spf13/cobra/pull/2299)
- [@​tomasaschan](https://github.com/tomasaschan) made their first contribution in [#​2303](https://github.com/spf13/cobra/pull/2303)
**Full Changelog**: <https://github.com/spf13/cobra/compare/v1.9.1...v1.9.2>
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR is behind base branch, 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://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS45MS40IiwidXBkYXRlZEluVmVyIjoiNDEuOTIuMCIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6WyJyZW5vdmF0ZS9hdXRvbWVyZ2UiLCJyZW5vdmF0ZS9nb2xhbmciXX0=-->
CSRBot
scheduled this pull request to auto merge when all checks succeed 2025-09-01 18:05:53 +02:00
In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):
1 additional dependency was updated
Details:
Package
Change
github.com/spf13/pflag
v1.0.6 -> v1.0.9
### ℹ Artifact update notice
##### File name: go.mod
In order to perform the update(s) described in the table above, Renovate ran the `go get` command, which resulted in the following additional change(s):
- 1 additional dependency was updated
Details:
| **Package** | **Change** |
| :----------------------- | :------------------- |
| `github.com/spf13/pflag` | `v1.0.6` -> `v1.0.9` |
CSRBot
changed title from chore(deps): update module github.com/spf13/cobra to v1.10.0 to chore(deps): update module github.com/spf13/cobra to v1.10.12025-09-01 21:05:07 +02:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
This PR contains the following updates:
v1.9.1->v1.10.1Release Notes
spf13/cobra (github.com/spf13/cobra)
v1.10.1Compare Source
🐛 Fix
v1.0.9 of pflags brought back
ParseErrorsWhitelistand marked it as deprecatedFull Changelog: https://github.com/spf13/cobra/compare/v1.10.0...v1.10.1
v1.10.0Compare Source
What's Changed
🚨 Attention!
This version of
pflagcarried a breaking change: it renamedParseErrorsWhitelisttoParseErrorsAllowlistwhich can break builds if bothpflagandcobraare dependencies in your project.pflag andcobra, upgradepflagto 1.0.8 andcobrato1.10.0`pflagv1.0.9 which keeps the deprecatedParseErrorsWhitelistMore details can be found here: #2303 (comment)
✨ Features
🐛 Fix
🪠 Testing
📝 Docs
New Contributors
Full Changelog: https://github.com/spf13/cobra/compare/v1.9.1...v1.9.2
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.
ℹ Artifact update notice
File name: go.mod
In order to perform the update(s) described in the table above, Renovate ran the
go getcommand, which resulted in the following additional change(s):Details:
github.com/spf13/pflagv1.0.6->v1.0.9chore(deps): update module github.com/spf13/cobra to v1.10.0to chore(deps): update module github.com/spf13/cobra to v1.10.1751288adc5to9ebb6d92e29ebb6d92e2toda7a2a0c92da7a2a0c92toc931bbc3ff