Bump github.com/spf13/cobra from 1.6.1 to 1.7.0
Bumps github.com/spf13/cobra from 1.6.1 to 1.7.0.
Release notes
Sourced from github.com/spf13/cobra's releases.
v1.7.0
✨ Features
- Allow to preserve ordering of completions in
bash
,zsh
,pwsh
, &fish
:@h4ck3rk3y
#1903- Add support for PowerShell 7.2+ in completions:
@oldium
#1916- Allow sourcing zsh completion script:
@marckhouzam
#1917
🐛 Bug fixes
- Don't remove flag values that match sub-command name:
@brianpursley
#1781- Fix powershell completions not returning single word:
@totkeks
#1850- Remove masked
template
import variable name:@yashLadha
#1879- Correctly detect completions with dash in argument:
@oncilla
#1817🧪 Testing & CI/CD
- Deprecate Go 1.15 in CI:
@umarcor
#1866- Deprecate Go 1.16 in CI:
@umarcor
#1926- Add testing for Go 1.20 in CI:
@umarcor
#1925- Add tests to illustrate unknown flag bug:
@brianpursley
#1854
🔧 Maintenance
- Update main image to better handle dark backgrounds:
@Deleplace
and@marckhouzam
#1883- Fix
stale.yaml
mispellings:@enrichman
#1863- Remove stale bot from GitHub actions:
@jpmcb
#1908- Add makefile target for installing dependencies:
@umarcor
#1865- Add Sia to projects using Cobra:
@mike76-dev
#1844- Add
Vitess
andArewefastyet
to projects using cobra:@frouioui
#1932- Fixup for Kubescape github org:
@dwertent
#1874- Fix route for GitHub workflows badge:
@sh-cho
#1884- Fixup for GoDoc style documentation:
@yashLadha
#1885- Various bash scripting improvements for completion:
@scop
#1702- Add Constellation to projects using Cobra:
@datosh
#1829
✏ ️ Documentation
- Add documentation about disabling completion descriptions:
@Shihta
#1901- Improve
MarkFlagsMutuallyExclusive
example in user guide:@janhn
#1904- Update
shell_completions.md
:@gusega
#1907- Update copywrite year:
@umarcor
#1927- Document suggested layout of subcommands:
@lcarva
#1930- Replace deprecated ExactValidArgs with MatchAll in doc:
@doniacld
#1836
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: https://github.com/spf13/cobra/compare/v1.6.1...v1.7.0
Commits
-
4dd4b25
Update main image to better handle dark background (#1883) -
45360a5
Allow sourcing zsh completion script (#1917) -
c8a20a1
Document suggested layout for subcommands (#1930) -
b197a24
Update projects_using_cobra.md (#1932) -
9e6b58a
update copyright year (#1927) -
fb36524
ci: test Golang 1.20 (#1925) -
c7300f0
ci: deprecate go 1.16 (#1926) -
567ea8e
Add support for PowerShell 7.2+ (#1916) -
3daa4b9
Add keeporder to shell completion (#1903) -
a516d41
Removes stale bot from GitHub action (#1908) - Additional commits viewable in compare view