fix(deps): update module github.com/spf13/cobra to v1.10.1
This MR contains the following updates:
| Package | Change | Age | Confidence |
|---|---|---|---|
| github.com/spf13/cobra |
v1.9.1 -> v1.10.1
|
View the Renovate pipeline for this MR
Release Notes
spf13/cobra (github.com/spf13/cobra)
v1.10.1
🐛 Fix
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
What's Changed
🚨 Attention!
- Bump pflag to 1.0.8 by @tomasaschan in #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 andcobra, upgradepflagto 1.0.8 andcobrato1.10.0` -
or use the newer, fixed version of
pflagv1.0.9 which keeps the deprecatedParseErrorsWhitelist
More details can be found here: #2303 (comment)
✨ Features
- Flow context to command in SetHelpFunc by @Frassle in #2241
- The default ShellCompDirective can be customized for a command and its subcommands by @albers in #2238
🐛 Fix
🪠 Testing
- Test with Go 1.24 by @harryzcy in #2236
- chore: Rm GitHub Action MR size labeler by @jpmcb in #2256
📝 Docs
- Remove traling curlybrace by @yedayak in #2237
- Update command.go by @styee in #2248
- feat: Add security policy by @jpmcb in #2253
- Update Readme (Warp) by @ericdachen in #2267
- Add Periscope to the list of projects using Cobra by @anishathalye in #2299
New Contributors
- @harryzcy made their first contribution in #2236
- @yedayak made their first contribution in #2237
- @Frassle made their first contribution in #2241
- @styee made their first contribution in #2248
- @ericdachen made their first contribution in #2267
- @albers made their first contribution in #2238
- @anishathalye made their first contribution in #2299
- @tomasaschan made their first contribution in #2303
Full Changelog: https://github.com/spf13/cobra/compare/v1.9.1...v1.9.2
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.