Sourced from github.com/spf13/cobra's releases.
v1.9.1
🐛 Fixes
- Fix CompletionFunc implementation by
@ccoVeille
in spf13/cobra#2234- Revert "Make detection for test-binary more universal (#2173)" by
@marckhouzam
in spf13/cobra#2235Full Changelog: https://github.com/spf13/cobra/compare/v1.9.0...v1.9.1
v1.9.0
✨ Features
- Allow linker to perform deadcode elimination for program using Cobra by
@aarzilli
in spf13/cobra#1956- Add default completion command even if there are no other sub-commands by
@marckhouzam
in spf13/cobra#1559- Add CompletionWithDesc helper by
@ccoVeille
in spf13/cobra#2231🐛 Fixes
- Fix deprecation comment for Command.SetOutput by
@thaJeztah
in spf13/cobra#2172- Replace deprecated ioutil usage by
@nirs
in spf13/cobra#2181- Fix --version help and output for plugins by
@nirs
in spf13/cobra#2180- Allow to reset the templates to the default by
@marckhouzam
in spf13/cobra#2229🤖 Completions
- Make Powershell completion work in constrained mode by
@lstemplinger
in spf13/cobra#2196- Improve detection for flags that accept multiple values by
@thaJeztah
in spf13/cobra#2210- add CompletionFunc type to help with completions by
@ccoVeille
in spf13/cobra#2220- Add similar whitespace escape logic to bash v2 completions than in other completions by
@kangasta
in spf13/cobra#1743- Print ActiveHelp for bash along other completions by
@marckhouzam
in spf13/cobra#2076- fix(completions): Complete map flags multiple times by
@gabe565
in spf13/cobra#2174- fix(bash): nounset unbound file filter variable on empty extension by
@scop
in spf13/cobra#2228🧪 Testing
- Test also with go 1.23 by
@nirs
in spf13/cobra#2182- Make detection for test-binary more universal by
@thaJeztah
in spf13/cobra#2173✍🏼 Documentation
- docs: update README.md by
@eltociear
in spf13/cobra#2197- Improve site formatting by
@nirs
in spf13/cobra#2183- doc: add Conduit by
@raulb
in spf13/cobra#2230- doc: azion project added to the list of CLIs that use cobra by
@maxwelbm
in spf13/cobra#2198- Fix broken links in active_help.md by
@vuil
in spf13/cobra#2202- chore: fix function name in comment by
@zhuhaicity
in spf13/cobra#2216🔧 Dependency upgrades
- build(deps): bump github.com/cpuguy83/go-md2man/v2 from 2.0.5 to 2.0.6 by
@thaJeztah
in spf13/cobra#2206- Update to latest go-md2man by
@mikelolasagasti
in spf13/cobra#2201
... (truncated)
40b5bc1
Revert "Make detection for test-binary more universal (#2173)"
(#2235)a97f9fd
fix CompletionFunc implementation (#2234)5f9c408
chore: Upgrade dependencies for v1.9.0 (#2233)24ada7f
Remove the default "completion" cmd if it is alone (#1559)680936a
New logo8cb30f9
feat: add CompletionWithDesc helper (#2231)17b6dca
doc: add Conduit (#2230)ab5cadc
Allow to reset the templates to the default (#2229)4ba5566
fix(bash): nounset unbound file filter variable on empty extension (#2228)41b26ec
Print ActiveHelp for bash along other completions (#2076)