Skip to content

Conversation

updateclibot[bot]
Copy link
Contributor

@updateclibot updateclibot bot commented Sep 1, 2025

deps(go): bump module github.com/spf13/cobra

clean: go mod tidy

ran shell command "go mod tidy"

deps(go): bump module github.com/spf13/cobra to v1.10.1

go.mod updated Module path "github.com/spf13/cobra" version from "v1.9.1" to "v1.10.1"

v1.10.0
## What's Changed

### 🚨 Attention!

* Bump pflag to 1.0.8 by @tomasaschan in 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: https://github.com/spf13/cobra/pull/2303#issuecomment-3242333515

### ✨ Features

* Flow context to command in SetHelpFunc by @Frassle in https://github.com/spf13/cobra/pull/2241
* The default ShellCompDirective can be customized for a command and its subcommands by @albers in https://github.com/spf13/cobra/pull/2238

### 🐛 Fix

* Upgrade golangci-lint to v2, address findings by @scop in https://github.com/spf13/cobra/pull/2279

### 🪠 Testing

* Test with Go 1.24 by @harryzcy in https://github.com/spf13/cobra/pull/2236
* chore: Rm GitHub Action PR size labeler by @jpmcb in https://github.com/spf13/cobra/pull/2256

### 📝 Docs

* Remove traling curlybrace by @yedayak in https://github.com/spf13/cobra/pull/2237
* Update command.go by @styee in https://github.com/spf13/cobra/pull/2248
* feat: Add security policy by @jpmcb in https://github.com/spf13/cobra/pull/2253
* Update Readme (Warp) by @ericdachen in https://github.com/spf13/cobra/pull/2267
* Add Periscope to the list of projects using Cobra by @anishathalye in https://github.com/spf13/cobra/pull/2299

## New Contributors

* @harryzcy made their first contribution in https://github.com/spf13/cobra/pull/2236
* @yedayak made their first contribution in https://github.com/spf13/cobra/pull/2237
* @Frassle made their first contribution in https://github.com/spf13/cobra/pull/2241
* @styee made their first contribution in https://github.com/spf13/cobra/pull/2248
* @ericdachen made their first contribution in https://github.com/spf13/cobra/pull/2267
* @albers made their first contribution in https://github.com/spf13/cobra/pull/2238
* @anishathalye made their first contribution in https://github.com/spf13/cobra/pull/2299
* @tomasaschan made their first contribution in https://github.com/spf13/cobra/pull/2303

**Full Changelog**: https://github.com/spf13/cobra/compare/v1.9.1...v1.9.2
v1.10.1
### 🐛 Fix

* chore: upgrade pflags v1.0.9 by @jpmcb in 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.9.1
### 🐛 Fixes

* Fix CompletionFunc implementation by @ccoVeille in https://github.com/spf13/cobra/pull/2234
* Revert "Make detection for test-binary more universal (#2173)" by @marckhouzam in https://github.com/spf13/cobra/pull/2235

**Full Changelog**: https://github.com/spf13/cobra/compare/v1.9.0...v1.9.1
GitHub Action workflow link
Updatecli logo

Created automatically by Updatecli

Options:

Most of Updatecli configuration is done via its manifest(s).

  • If you close this pull request, Updatecli will automatically reopen it, the next time it runs.
  • If you close this pull request and delete the base branch, Updatecli will automatically recreate it, erasing all previous commits made.

Feel free to report any issues at github.com/updatecli/updatecli.
If you find this tool useful, do not hesitate to star our GitHub repository as a sign of appreciation, and/or to tell us directly on our chat!

@updateclibot updateclibot bot added the dependencies Pull requests that update a dependency file label Sep 1, 2025
@updateclibot updateclibot bot changed the title deps(go): bump module github.com/spf13/cobra to v1.10.0 deps(go): bump module github.com/spf13/cobra to v1.10.1 Sep 1, 2025
@updateclibot updateclibot bot force-pushed the updatecli_main_6c2ef93cd042229718cfe5a965bcb167a9d6257b3515090937e6266ccfac0cce branch from c457a46 to bb5de99 Compare September 2, 2025 11:44
@updateclibot updateclibot bot force-pushed the updatecli_main_6c2ef93cd042229718cfe5a965bcb167a9d6257b3515090937e6266ccfac0cce branch from caa6d02 to e40fb98 Compare September 8, 2025 13:17
Made with ❤️️ by updatecli
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants