Skip to content

deps: bump github.com/spf13/cobra from 1.8.0 to 1.10.2#62

Merged
ako merged 1 commit intomainfrom
dependabot/go_modules/github.com/spf13/cobra-1.10.2
Mar 30, 2026
Merged

deps: bump github.com/spf13/cobra from 1.8.0 to 1.10.2#62
ako merged 1 commit intomainfrom
dependabot/go_modules/github.com/spf13/cobra-1.10.2

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Mar 30, 2026

Bumps github.com/spf13/cobra from 1.8.0 to 1.10.2.

Release notes

Sourced from github.com/spf13/cobra's releases.

v1.10.2

🔧 Dependencies

  • chore: Migrate from gopkg.in/yaml.v3 to go.yaml.in/yaml/v3 by @​dims in spf13/cobra#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

🔥✍🏼 Docs

🍂 Refactors

🤗 New Contributors

Full Changelog: spf13/cobra@v1.10.1...v1.10.2

Thank you to our amazing contributors!!!!! 🐍 🚀

v1.10.1

🐛 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

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

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.8.0 to 1.10.2.
- [Release notes](https://github.com/spf13/cobra/releases)
- [Commits](spf13/cobra@v1.8.0...v1.10.2)

---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
  dependency-version: 1.10.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github Mar 30, 2026

Labels

The following labels could not be found: dependencies. Please create it before Dependabot can add it to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@github-actions
Copy link
Copy Markdown

AI Code Review

What Looks Good

  • The PRupdates github.com/spf13/cobra from v1.8.0 to v1.10.2 and its indirect dependency github.com/spf13/pflag from v1.0.5 to v1.0.9.
  • The update includes maintenance improvements: migration from deprecated gopkg.in/yaml.v3 to go.yaml.in/yaml/v3 in Cobra's dependencies, CI/CD fixes, and minor refactors.
  • No breaking changes affect this project: Cobra v1.10.0+ already adapted to the pflag v1.0.8 breaking change (ParseErrorsWhitelist → ParseErrorsAllowlist), and pflag v1.0.9 restores the deprecated name for backward compatibility. Since the project doesn't use pflag directly, the update is safe.
  • The change is scoped to a single dependency update with no code modifications, reducing risk.

RecommendationApprove the PR. The dependency update is routine and poses no apparent risks to the project's functionality or stability. No further action is needed.


Automated review via OpenRouter (Nemotron Super 120B) — workflow source

@ako ako merged commit c758267 into main Mar 30, 2026
4 checks passed
@dependabot dependabot Bot deleted the dependabot/go_modules/github.com/spf13/cobra-1.10.2 branch March 30, 2026 13:27
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.

1 participant