github spf13/cobra v1.10.0

latest release: v1.10.1
one day ago

What's Changed

🚨 Attention!

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 andcobrato1.10.0`
  • or use the newer, fixed version of pflag v1.0.9 which keeps the deprecated ParseErrorsWhitelist

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

  • Upgrade golangci-lint to v2, address findings by @scop in #2279

🪠 Testing

📝 Docs

New Contributors

Full Changelog: v1.9.1...v1.9.2

Don't miss a new cobra release

NewReleases is sending notifications on new releases.