Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Sep 4, 2025

This PR contains the following updates:

Package Change Age Confidence
github.com/spf13/cobra v1.9.1 -> v1.10.1 age confidence

Release Notes

spf13/cobra (github.com/spf13/cobra)

v1.10.1

Compare Source

🐛 Fix

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

Compare Source

What's Changed

🚨 Attention!

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

More details can be found here: #​2303 (comment)

✨ Features
🐛 Fix
🪠 Testing
📝 Docs

New Contributors

Full Changelog: spf13/cobra@v1.9.1...v1.9.2


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 was generated by Mend Renovate. View the repository job log.

@renovate
Copy link
Contributor Author

renovate bot commented Sep 4, 2025

ℹ 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

@renovate renovate bot requested a review from koki-develop as a code owner September 4, 2025 04:27
@github-actions
Copy link
Contributor

github-actions bot commented Sep 4, 2025

Renovate PR Review Results

⚖️ Safety Assessment: ✅ Safe

🔍 Release Content Analysis

  • v1.10.0: Added new features like context flow to SetHelpFunc, customizable default ShellCompDirective, and upgraded pflag to 1.0.8 (which brought a breaking change renaming ParseErrorsWhitelist to ParseErrorsAllowlist)
  • v1.10.1: Patch release that specifically fixes the pflag breaking change by upgrading to pflag v1.0.9, which restores the deprecated ParseErrorsWhitelist for backward compatibility
  • No security fixes: Both releases contain feature additions and bug fixes, no security-related changes mentioned
  • Breaking change resolution: The v1.10.1 release specifically addresses the pflag compatibility issue that could have caused build failures

🎯 Impact Scope Investigation

  • Cobra usage: The codebase uses standard cobra patterns in cmd/ directory with basic command definitions, flag management, and command execution
  • No advanced features: No usage of SetHelpFunc, ShellCompDirective, or pflag's ParseErrorsWhitelist/ParseErrorsAllowlist found in the codebase
  • Dependency impact: The pflag upgrade from v1.0.6 to v1.0.9 is handled automatically and maintains backward compatibility
  • Usage patterns: All cobra usage follows standard patterns (cobra.Command, cobra.ExactArgs, cmd.Flags().StringVarP) that remain unchanged

💡 Recommended Actions

  • No manual migration required: All existing cobra usage patterns in the codebase remain fully compatible
  • Safe to merge immediately: The update resolves potential compatibility issues rather than introducing them
  • Standard testing recommended: Run existing test suite to verify functionality (though no breaking changes expected)

🔗 Reference Links

Generated by koki-develop/claude-renovate-review

@renovate renovate bot force-pushed the renovate/mygithub.libinneed.workers.dev-spf13-cobra-1.x branch from f1f69b8 to 36a6bae Compare September 4, 2025 17:25
@renovate renovate bot changed the title fix(deps): update module github.com/spf13/cobra to v1.10.0 fix(deps): update module github.com/spf13/cobra to v1.10.1 Sep 4, 2025
@koki-develop koki-develop merged commit ebb6b2f into main Sep 5, 2025
6 checks passed
@koki-develop koki-develop deleted the renovate/mygithub.libinneed.workers.dev-spf13-cobra-1.x branch September 5, 2025 12:16
@renovate renovate bot changed the title fix(deps): update module github.com/spf13/cobra to v1.10.1 fix(deps): update module github.com/spf13/cobra to v1.10.1 - autoclosed Sep 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants