Unclaimed project
Are you a maintainer of cobra? Claim this project to take control of your public changelog and roadmap.
Claim this projectChangelog
cobra
A Commander for modern Go CLI interactions
clicli-appcobracobra-generatorcobra-librarycommand+10
Last updated 27 days ago
Back to changelog✨ 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 #1908Add makefile target for installing dependencies: @umarcor #1865Add Sia to projects using Cobra: @mike76-dev #1844Add Vitess and Arewefastyet to projects using cobra: @frouioui #1932Fixup for Kubescape github org: @dwertent #1874Fix route for GitHub workflows badge: @sh-cho #1884Fixup for GoDoc style documentation: @yashLadha #1885Various bash scripting improvements for completion: @scop #1702Add 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