Skip to content

Update module github.com/spf13/cobra to v1.10.2#8

Open
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/github.com-spf13-cobra-1.x
Open

Update module github.com/spf13/cobra to v1.10.2#8
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/github.com-spf13-cobra-1.x

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Oct 11, 2022

This PR contains the following updates:

Package Change Age Confidence
github.com/spf13/cobra v1.5.0v1.10.2 age confidence

Release Notes

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

v1.10.2

Compare Source

🔧 Dependencies

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

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

v1.9.1

Compare Source

🐛 Fixes

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

v1.9.0

Compare Source

✨ Features

🐛 Fixes

🤖 Completions

🧪 Testing

✍🏼 Documentation

🔧 Dependency upgrades


Thank you to all of our amazing contributors and all the great work that's been going into the completions feature!!

👋🏼 New Contributors

Full Changelog: spf13/cobra@v1.8.1...v1.9.0

v1.8.1

Compare Source

✨ Features

  • Add env variable to suppress completion descriptions on create by @​scop in #​1938

🐛 Bug fixes

🔧 Maintenance

🧪 Testing & CI/CD

✏️ Documentation

New Contributors


Thank you everyone who contributed to this release and all your hard work! Cobra and this community would never be possible without all of you!!!! 🐍

Full Changelog: spf13/cobra@v1.8.0...v1.8.1

v1.8.0

Compare Source

✨ Features

  • Support usage as plugin for tools like kubectl by @​nirs in #​2018 - this means that programs that utilize a "plugin-like" structure have much better support and usage (like for completions, command paths, etc.)
  • Move documentation sources to site/content by @​umarcor in #​1428
  • Add 'one required flag' group by @​marevers in #​1952 - this includes a new MarkFlagsOneRequired API for flags which can be used to mark a flag group as required and cause command failure if at least one is not used when invoked.
  • Customizable error message prefix by @​5ouma in #​2023 - This adds the SetErrPrefix and ErrPrefix APIs on the Command struct to allow for setting a custom prefix for errors
  • feat: add getters for flag completions by @​avirtopeanu-ionos in #​1943
  • Feature: allow running persistent run hooks of all parents by @​vkhoroz in #​2044
  • Improve API to get flag completion function by @​marckhouzam in #​2063

🐛 Bug fixes

🔧 Maintenance

🧪 Testing & CI/CD

✏️ Documentation


Thank you everyone who contributed to this release and all your hard work! Cobra and this community would never be possible without all of you!!!! 🐍

Full Changelog: spf13/cobra@v1.7.0...v1.8.0

v1.7.0

Compare Source

✨ Features
🐛 Bug fixes
🧪 Testing & CI/CD
🔧 Maintenance
✏️ Documentation

This release contains several long running fixes, improvements to powershell completions, and further optimizations for completions.

Thank you everyone who contributed to this release and all your hard work! Cobra and this community would never be possible without all of you! 🐍

Full changelog: spf13/cobra@v1.6.1...v1.7.0

v1.6.1

Compare Source

Bug fixes 🐛
  • Fixes a panic when AddGroup isn't called before AddCommand(my-sub-command) is executed. This can happen within more complex cobra file structures that have many different inits to be executed. Now, the check for groups has been moved to ExecuteC and provides more flexibility when working with grouped commands - @​marckhouzam (and shout out to @​aawsome, @​andig and @​KINGSABRI for a deep investigation into this! 👏🏼)

v1.6.0

Compare Source

Summer 2022 Release

Some exciting changes make their way to Cobra! Command completions continue to get better and better (including adding --help and --version automatic flags to the completions list). Grouping is now possible in your help output as well! And you can now use the OnFinalize method to cleanup things when all "work" is done. Checkout the full changelog below:


Features 🌠
Deprecation 👎🏼
  • ExactValidArgs is deprecated (but not being removed entirely). This is abit nuanced, so checkout #​1643 for further information and the updated user_guide.md on how this may affect you (and how you can take advantage of the correct behavior in the validators): @​umarcor #​1643
Bug fixes 🐛
Dependencies 🗳️
Testing 🤔
Docs ✏️
Misc 💭

Note: Per #​1804, we will be moving away from "seasonal" releases and doing more generic point release targets. Continue to track the milestones and issues in the spf13/cobra GitHub repository for more information!

Great work everyone! Cobra would never be possible without your contributions! 🐍

Full Changelog: spf13/cobra@v1.5.0...v1.6.0


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 renovate bot force-pushed the renovate/github.com-spf13-cobra-1.x branch from c145884 to 907dcbd Compare October 24, 2022 23:29
@renovate renovate bot changed the title Update module github.com/spf13/cobra to v1.6.0 Update module github.com/spf13/cobra to v1.6.1 Oct 24, 2022
@renovate renovate bot changed the title Update module github.com/spf13/cobra to v1.6.1 Update module github.com/spf13/cobra to v1.7.0 Apr 4, 2023
@renovate renovate bot force-pushed the renovate/github.com-spf13-cobra-1.x branch from 907dcbd to 97dbe46 Compare April 4, 2023 16:20
@renovate renovate bot changed the title Update module github.com/spf13/cobra to v1.7.0 Update module github.com/spf13/cobra to v1.8.0 Nov 4, 2023
@renovate renovate bot force-pushed the renovate/github.com-spf13-cobra-1.x branch from 97dbe46 to e690d79 Compare November 4, 2023 22:34
@renovate renovate bot force-pushed the renovate/github.com-spf13-cobra-1.x branch from e690d79 to ac1c5f5 Compare June 14, 2024 21:57
@renovate renovate bot changed the title Update module github.com/spf13/cobra to v1.8.0 Update module github.com/spf13/cobra to v1.8.1 Jun 14, 2024
@renovate
Copy link
Contributor Author

renovate bot commented Jun 14, 2024

ℹ 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):

  • 2 additional dependencies were updated

Details:

Package Change
github.com/inconshreveable/mousetrap v1.0.0 -> v1.1.0
github.com/spf13/pflag v1.0.5 -> v1.0.9

@renovate renovate bot force-pushed the renovate/github.com-spf13-cobra-1.x branch from ac1c5f5 to d455d1d Compare February 15, 2025 21:38
@renovate renovate bot changed the title Update module github.com/spf13/cobra to v1.8.1 Update module github.com/spf13/cobra to v1.9.0 Feb 15, 2025
@renovate renovate bot force-pushed the renovate/github.com-spf13-cobra-1.x branch from d455d1d to 6c3ba89 Compare February 17, 2025 02:15
@renovate renovate bot changed the title Update module github.com/spf13/cobra to v1.9.0 Update module github.com/spf13/cobra to v1.9.1 Feb 17, 2025
@renovate renovate bot changed the title Update module github.com/spf13/cobra to v1.9.1 Update module github.com/spf13/cobra to v1.10.1 Sep 6, 2025
@renovate renovate bot force-pushed the renovate/github.com-spf13-cobra-1.x branch from 6c3ba89 to aa514fe Compare September 6, 2025 19:13
@renovate renovate bot changed the title Update module github.com/spf13/cobra to v1.10.1 Update module github.com/spf13/cobra to v1.10.1 - autoclosed Sep 22, 2025
@renovate renovate bot closed this Sep 22, 2025
@renovate renovate bot deleted the renovate/github.com-spf13-cobra-1.x branch September 22, 2025 00:36
@renovate renovate bot changed the title Update module github.com/spf13/cobra to v1.10.1 - autoclosed Update module github.com/spf13/cobra to v1.10.1 Sep 22, 2025
@renovate renovate bot reopened this Sep 22, 2025
@renovate renovate bot force-pushed the renovate/github.com-spf13-cobra-1.x branch from 7845721 to aa514fe Compare September 22, 2025 05:53
@renovate renovate bot force-pushed the renovate/github.com-spf13-cobra-1.x branch from aa514fe to 4755d16 Compare December 4, 2025 02:15
@renovate renovate bot changed the title Update module github.com/spf13/cobra to v1.10.1 Update module github.com/spf13/cobra to v1.10.2 Dec 4, 2025
@renovate
Copy link
Contributor Author

renovate bot commented Dec 15, 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):

  • 2 additional dependencies were updated

Details:

Package Change
github.com/inconshreveable/mousetrap v1.0.0 -> v1.1.0
github.com/spf13/pflag v1.0.5 -> v1.0.9

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.

0 participants