Skip to content

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 changed the title fix(deps): update module github.com/spf13/cobra to v1.6.0 fix(deps): update module github.com/spf13/cobra to v1.6.1 Oct 24, 2022
@renovate renovate bot force-pushed the renovate/github.com-spf13-cobra-1.x branch from 5165160 to 8192078 Compare October 24, 2022 23:41
@renovate renovate bot force-pushed the renovate/github.com-spf13-cobra-1.x branch 2 times, most recently from 6770dbe to ce35383 Compare March 10, 2023 21:15
@renovate renovate bot changed the title fix(deps): update module github.com/spf13/cobra to v1.6.1 fix(deps): 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 ce35383 to 32adecb Compare April 4, 2023 20:40
@renovate renovate bot changed the title fix(deps): update module github.com/spf13/cobra to v1.7.0 fix(deps): 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 32adecb to cd4ff29 Compare November 4, 2023 22:23
@renovate renovate bot force-pushed the renovate/github.com-spf13-cobra-1.x branch from cd4ff29 to c95cdb5 Compare June 14, 2024 22:51
@renovate renovate bot changed the title fix(deps): update module github.com/spf13/cobra to v1.8.0 fix(deps): 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 changed the title fix(deps): update module github.com/spf13/cobra to v1.8.1 fix(deps): update module github.com/spf13/cobra to v1.8.1 - autoclosed Aug 27, 2024
@renovate renovate bot closed this Aug 27, 2024
@renovate renovate bot deleted the renovate/github.com-spf13-cobra-1.x branch August 27, 2024 22:03
@renovate renovate bot changed the title fix(deps): update module github.com/spf13/cobra to v1.8.1 - autoclosed fix(deps): update module github.com/spf13/cobra to v1.8.1 Aug 28, 2024
@renovate renovate bot reopened this Aug 28, 2024
@renovate renovate bot restored the renovate/github.com-spf13-cobra-1.x branch August 28, 2024 01:49
@renovate renovate bot force-pushed the renovate/github.com-spf13-cobra-1.x branch from c95cdb5 to 6e44ad7 Compare August 28, 2024 01:49
@renovate renovate bot changed the title fix(deps): update module github.com/spf13/cobra to v1.8.1 fix(deps): update module github.com/spf13/cobra to v1.8.1 - autoclosed Dec 4, 2024
@renovate renovate bot closed this Dec 4, 2024
@renovate renovate bot deleted the renovate/github.com-spf13-cobra-1.x branch December 4, 2024 22:28
@renovate renovate bot changed the title fix(deps): update module github.com/spf13/cobra to v1.8.1 - autoclosed fix(deps): update module github.com/spf13/cobra to v1.8.1 Dec 5, 2024
@renovate renovate bot reopened this Dec 5, 2024
@renovate renovate bot force-pushed the renovate/github.com-spf13-cobra-1.x branch from 96be9e3 to 6e44ad7 Compare December 5, 2024 00:23
@renovate renovate bot force-pushed the renovate/github.com-spf13-cobra-1.x branch from 6e44ad7 to 989661f Compare February 15, 2025 22:59
@renovate renovate bot changed the title fix(deps): update module github.com/spf13/cobra to v1.8.1 fix(deps): 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 989661f to 9ced299 Compare February 17, 2025 01:56
@renovate renovate bot changed the title fix(deps): update module github.com/spf13/cobra to v1.9.0 fix(deps): update module github.com/spf13/cobra to v1.9.1 Feb 17, 2025
@renovate renovate bot changed the title fix(deps): update module github.com/spf13/cobra to v1.9.1 fix(deps): update module github.com/spf13/cobra to v1.9.1 - autoclosed Mar 11, 2025
@renovate renovate bot closed this Mar 11, 2025
@renovate renovate bot changed the title fix(deps): update module github.com/spf13/cobra to v1.9.1 - autoclosed fix(deps): update module github.com/spf13/cobra to v1.9.1 Mar 11, 2025
@renovate renovate bot reopened this Mar 11, 2025
@renovate renovate bot force-pushed the renovate/github.com-spf13-cobra-1.x branch from 851aa1c to 9ced299 Compare March 11, 2025 19:19
@renovate renovate bot force-pushed the renovate/github.com-spf13-cobra-1.x branch from 9ced299 to 83c113c Compare September 2, 2025 23:14
@renovate renovate bot changed the title fix(deps): update module github.com/spf13/cobra to v1.9.1 fix(deps): update module github.com/spf13/cobra to v1.10.1 Sep 2, 2025
@renovate renovate bot force-pushed the renovate/github.com-spf13-cobra-1.x branch from 83c113c to 817e0b4 Compare December 4, 2025 03:00
@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.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