fix(deps): update module github.com/spf13/cobra to v1.6.0 #1277

Merged
konrad merged 1 commits from renovate/github.com-spf13-cobra-1.x into main 2022-10-11 16:19:21 +00:00
Member

This PR contains the following updates:

Package Type Update Change
github.com/spf13/cobra require minor v1.5.0 -> v1.6.0

Release Notes

spf13/cobra

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: https://github.com/spf13/cobra/compare/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, click this checkbox.

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [github.com/spf13/cobra](https://github.com/spf13/cobra) | require | minor | `v1.5.0` -> `v1.6.0` | --- ### Release Notes <details> <summary>spf13/cobra</summary> ### [`v1.6.0`](https://github.com/spf13/cobra/releases/tag/v1.6.0) [Compare Source](https://github.com/spf13/cobra/compare/v1.5.0...v1.6.0) ##### 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 🌠 - Add groups for commands in help: [@&#8203;aawsome](https://github.com/aawsome) [@&#8203;marckhouzam](https://github.com/marckhouzam) [#&#8203;1003](https://github.com/spf13/cobra/issues/1003) - Support for case-insensitive command names: [@&#8203;YuviGold](https://github.com/YuviGold) [#&#8203;1802](https://github.com/spf13/cobra/issues/1802) - Expose `ValidateRequiredFlags` and `ValidateFlagGroups`: [@&#8203;skeetwu](https://github.com/skeetwu) [#&#8203;1760](https://github.com/spf13/cobra/issues/1760) - Add `--version` flag to help output: [@&#8203;fnickels](https://github.com/fnickels) [#&#8203;1707](https://github.com/spf13/cobra/issues/1707) - Add `--help` and `--version` flag in completions: [@&#8203;marckhouzam](https://github.com/marckhouzam) [#&#8203;1813](https://github.com/spf13/cobra/issues/1813) - Add `OnFinalize` method: [@&#8203;yann-soubeyrand](https://github.com/yann-soubeyrand) [#&#8203;1788](https://github.com/spf13/cobra/issues/1788) - Allow user to add completion for powershell alias: [@&#8203;marckhouzam](https://github.com/marckhouzam) [#&#8203;1621](https://github.com/spf13/cobra/issues/1621) - Make `InitDefaultcompletionCmd` public: [@&#8203;gssbzn](https://github.com/gssbzn) [#&#8203;1467](https://github.com/spf13/cobra/issues/1467) ##### Deprecation 👎🏼 - `ExactValidArgs` is deprecated (but not being removed entirely). This is abit nuanced, so checkout [#&#8203;1643](https://github.com/spf13/cobra/issues/1643) for further information and the [updated `user_guide.md`](https://github.com/spf13/cobra/blob/main/user_guide.md) on how this may affect you (and how you can take advantage of the *correct* behavior in the validators): [@&#8203;umarcor](https://github.com/umarcor) [#&#8203;1643](https://github.com/spf13/cobra/issues/1643) ##### Bug fixes 🐛 - Fix (bash-v2) `activeHelp` length check syntax: [@&#8203;scop](https://github.com/scop) [#&#8203;1762](https://github.com/spf13/cobra/issues/1762) - Fix correct command path in `see_also` for yaml documentation: [@&#8203;zregvart](https://github.com/zregvart) [#&#8203;1771](https://github.com/spf13/cobra/issues/1771) - Fix showing flags that shadow parent persistent flag in child help messaging: [@&#8203;brianpursley](https://github.com/brianpursley) [#&#8203;1776](https://github.com/spf13/cobra/issues/1776) ##### Dependencies 🗳️ - Upgrade to use `gopkg.in/yaml.v3`: [@&#8203;tklauser](https://github.com/tklauser) [#&#8203;1766](https://github.com/spf13/cobra/issues/1766) ##### Testing 🤔 - Test on Golang 1.19: [@&#8203;umarcor](https://github.com/umarcor) & [@&#8203;jpmcb](https://github.com/jpmcb) [#&#8203;1782](https://github.com/spf13/cobra/issues/1782) - Renamed powershell completion tests: [@&#8203;marckhouzam](https://github.com/marckhouzam) [#&#8203;1803](https://github.com/spf13/cobra/issues/1803) - Use `action/setup-go` cache: [@&#8203;umarcor](https://github.com/umarcor) [#&#8203;1783](https://github.com/spf13/cobra/issues/1783) - Add `workflow_dispatch` to CI actions: [@&#8203;umarcor](https://github.com/umarcor) [#&#8203;1387](https://github.com/spf13/cobra/issues/1387) - Add minimum GitHub token permissions for workflows: [@&#8203;varunsh-coder](https://github.com/varunsh-coder) [#&#8203;1792](https://github.com/spf13/cobra/issues/1792) ##### Docs ✏️ - Fixup spelling for GitHub CLI: [@&#8203;eltociear](https://github.com/eltociear) [#&#8203;1744](https://github.com/spf13/cobra/issues/1744) - Clarify `SetContext` documentation: [@&#8203;katexochen](https://github.com/katexochen) [#&#8203;1748](https://github.com/spf13/cobra/issues/1748) - Instruct user to `go install` for binary: [@&#8203;marckhouzam](https://github.com/marckhouzam) [#&#8203;1726](https://github.com/spf13/cobra/issues/1726) - User guide cleanup: [@&#8203;marckhouzam](https://github.com/marckhouzam) [#&#8203;1656](https://github.com/spf13/cobra/issues/1656) - Document option to hide the default completion command: [@&#8203;marckhouzam](https://github.com/marckhouzam) [#&#8203;1779](https://github.com/spf13/cobra/issues/1779) ##### Misc 💭 - Add KubeVirt, CloudQuery, Cilium, Okteto, Zitadel, Allero to projects using cobra: [@&#8203;maiqueb](https://github.com/maiqueb) [#&#8203;1741](https://github.com/spf13/cobra/issues/1741), [@&#8203;yevgenypats](https://github.com/yevgenypats) [#&#8203;1742](https://github.com/spf13/cobra/issues/1742), [@&#8203;tklauser](https://github.com/tklauser) [#&#8203;1745](https://github.com/spf13/cobra/issues/1745), [@&#8203;jLopezbarb](https://github.com/jLopezbarb) [#&#8203;1759](https://github.com/spf13/cobra/issues/1759), [@&#8203;fforootd](https://github.com/fforootd) [#&#8203;1772](https://github.com/spf13/cobra/issues/1772), [@&#8203;dimabru](https://github.com/dimabru) [#&#8203;1819](https://github.com/spf13/cobra/issues/1819) - Use correct stale action `exempt` yaml keys: [@&#8203;jpmcb](https://github.com/jpmcb) [#&#8203;1800](https://github.com/spf13/cobra/issues/1800) - Add missing license headers: [@&#8203;umarcor](https://github.com/umarcor) [#&#8203;1809](https://github.com/spf13/cobra/issues/1809) *Note:* Per [#&#8203;1804](https://github.com/spf13/cobra/issues/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**: https://github.com/spf13/cobra/compare/v1.5.0...v1.6.0 </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4xNTMuNCIsInVwZGF0ZWRJblZlciI6IjMyLjE1My40In0=-->
renovate added the
dependencies
label 2022-10-11 16:01:12 +00:00
renovate added 1 commit 2022-10-11 16:01:13 +00:00
konrad merged commit aaceb4e968 into main 2022-10-11 16:19:21 +00:00
konrad deleted branch renovate/github.com-spf13-cobra-1.x 2022-10-11 16:19:21 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: vikunja/vikunja#1277
No description provided.