What's Changed
🚨 Attention!
- Bump pflag to 1.0.8 by @tomasaschan in #2303
This version of pflag
carried a breaking change: it renamed ParseErrorsWhitelist
to ParseErrorsAllowlist
which can break builds if both pflag
and cobra
are dependencies in your project.
- If you use both
pflag and
cobra, upgrade
pflagto 1.0.8 and
cobrato
1.10.0` - or use the newer, fixed version of
pflag
v1.0.9 which keeps the deprecatedParseErrorsWhitelist
More details can be found here: #2303 (comment)
✨ Features
- Flow context to command in SetHelpFunc by @Frassle in #2241
- The default ShellCompDirective can be customized for a command and its subcommands by @albers in #2238
🐛 Fix
🪠 Testing
📝 Docs
- Remove traling curlybrace by @yedayak in #2237
- Update command.go by @styee in #2248
- feat: Add security policy by @jpmcb in #2253
- Update Readme (Warp) by @ericdachen in #2267
- Add Periscope to the list of projects using Cobra by @anishathalye in #2299
New Contributors
- @harryzcy made their first contribution in #2236
- @yedayak made their first contribution in #2237
- @Frassle made their first contribution in #2241
- @styee made their first contribution in #2248
- @ericdachen made their first contribution in #2267
- @albers made their first contribution in #2238
- @anishathalye made their first contribution in #2299
- @tomasaschan made their first contribution in #2303
Full Changelog: v1.9.1...v1.9.2