slsa-github-generator
slsa-github-generator copied to clipboard
fix(deps): update module github.com/spf13/cobra to v1.6.0
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
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: @aawsome @marckhouzam #1003
- Support for case-insensitive command names: @YuviGold #1802
- Expose
ValidateRequiredFlagsandValidateFlagGroups: @skeetwu #1760 - Add
--versionflag to help output: @fnickels #1707 - Add
--helpand--versionflag in completions: @marckhouzam #1813 - Add
OnFinalizemethod: @yann-soubeyrand #1788 - Allow user to add completion for powershell alias: @marckhouzam #1621
- Make
InitDefaultcompletionCmdpublic: @gssbzn #1467
Deprecation 👎🏼
ExactValidArgsis deprecated (but not being removed entirely). This is abit nuanced, so checkout #1643 for further information and the updateduser_guide.mdon how this may affect you (and how you can take advantage of the correct behavior in the validators): @umarcor #1643
Bug fixes 🐛
- Fix (bash-v2)
activeHelplength check syntax: @scop #1762 - Fix correct command path in
see_alsofor yaml documentation: @zregvart #1771 - Fix showing flags that shadow parent persistent flag in child help messaging: @brianpursley #1776
Dependencies 🗳️
- Upgrade to use
gopkg.in/yaml.v3: @tklauser #1766
Testing 🤔
- Test on Golang 1.19: @umarcor & @jpmcb #1782
- Renamed powershell completion tests: @marckhouzam #1803
- Use
action/setup-gocache: @umarcor #1783 - Add
workflow_dispatchto CI actions: @umarcor #1387 - Add minimum GitHub token permissions for workflows: @varunsh-coder #1792
Docs ✏️
- Fixup spelling for GitHub CLI: @eltociear #1744
- Clarify
SetContextdocumentation: @katexochen #1748 - Instruct user to
go installfor binary: @marckhouzam #1726 - User guide cleanup: @marckhouzam #1656
- Document option to hide the default completion command: @marckhouzam #1779
Misc 💭
- Add KubeVirt, CloudQuery, Cilium, Okteto, Zitadel, Allero to projects using cobra: @maiqueb #1741, @yevgenypats #1742, @tklauser #1745, @jLopezbarb #1759, @fforootd #1772, @dimabru #1819
- Use correct stale action
exemptyaml keys: @jpmcb #1800 - Add missing license headers: @umarcor #1809
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 - "every weekend" (UTC), 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 Mend Renovate. View repository job log here.