PackageTrack
Sign in Get early access

github.com/spf13/cobra

v1.10.2 #34 most downloaded on Go modules spf13/cobra

What this package is like to depend on

Last release 1 months ago

11 Jul 2026

Release timing varies

gaps range from 9 days to 4 months

Some releases are documented

notes for 10 of 27 stable releases

Nothing withdrawn

no release was ever pulled

13 years old

765 releases · first in 2013

24 releases in the last 12 months

see the full history below

Release timeline

765 releases · Sep 2013 to Jul 2026
2014 2016 2018 2020 2022 2024 2026
Release Pre-release

Releases

latest 60 of 765
  1. v1.10.3-0.20260711004307-adbc8813901b 11 Jul 2026 pre-release

    Nothing published for this version

  2. v1.10.3-0.20260425230741-ad460ea8f249 25 Apr 2026 pre-release

    Nothing published for this version

  3. v1.10.3-0.20260424204157-746ef0715872 24 Apr 2026 pre-release

    Nothing published for this version

  4. v1.10.3-0.20260415192305-f2878bab8c96 15 Apr 2026 pre-release

    Nothing published for this version

  5. v1.10.3-0.20251210021850-61968e893eee 10 Dec 2025 pre-release

    Nothing published for this version

  6. v1.10.3-0.20251206141439-10d4b48a79be 06 Dec 2025 pre-release

    Nothing published for this version

  7. v1.10.2 03 Dec 2025
    Release notes

    🔧 Dependencies

    • chore: Migrate from gopkg.in/yaml.v3 to go.yaml.in/yaml/v3 by @dims in #2336 - the gopkg.in/yaml.v3 package has been deprecated for some time: this should significantly cleanup dependency/supply-chains for consumers of spf13/cobra

    📈 CI/CD

    🔥✍🏼 Docs

    • Add documentation for repeated flags functionality by @rvergis in #2316

    🍂 Refactors

    • refactor: replace several vars with consts by @htoyoda18 in #2328
    • refactor: change minUsagePadding from var to const by @ssam18 in #2325

    🤗 New Contributors

    Full Changelog: v1.10.1...v1.10.2

    Thank you to our amazing contributors!!!!! 🐍 🚀

    Open source →
  8. v1.10.2-0.20251203235115-88b30ab89da2 03 Dec 2025 pre-release

    Nothing published for this version

  9. v1.10.2-0.20251118033327-fc81d2003469 18 Nov 2025 pre-release

    Nothing published for this version

  10. v1.10.2-0.20251117144810-117698a604b6 17 Nov 2025 pre-release

    Nothing published for this version

  11. v1.10.2-0.20251114140144-062989255670 14 Nov 2025 pre-release

    Nothing published for this version

  12. v1.10.2-0.20251010135735-4c363afb59d5 10 Oct 2025 pre-release

    Nothing published for this version

  13. v1.10.1 01 Sep 2025
    Release notes

    🐛 Fix

    v1.0.9 of pflags brought back ParseErrorsWhitelist and marked it as deprecated

    Full Changelog: v1.10.0...v1.10.1

    Open source →
  14. v1.10.1-0.20251203235115-88b30ab89da2 03 Dec 2025 pre-release

    Nothing published for this version

  15. v1.10.0 31 Aug 2025
    Release notes

    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

    Open source →
  16. v1.9.2-0.20250831231508-51d675196729 31 Aug 2025 pre-release

    Nothing published for this version

  17. v1.9.2-0.20250811135823-3f3b81882534 11 Aug 2025 pre-release

    Nothing published for this version

  18. v1.9.2-0.20250804051401-dcaf42e26334 04 Aug 2025 pre-release

    Nothing published for this version

  19. v1.9.2-0.20250531123604-6dec1ae26659 31 May 2025 pre-release

    Nothing published for this version

  20. v1.9.2-0.20250531122004-c8289c103020 31 May 2025 pre-release

    Nothing published for this version

  21. v1.9.2-0.20250531122004-4af7b64d3198 31 May 2025 pre-release

    Nothing published for this version

  22. v1.9.2-0.20250506021720-db3ddb5cf496 06 May 2025 pre-release

    Nothing published for this version

  23. v1.9.2-0.20250415194427-0ed70dcfd4d2 15 Apr 2025 pre-release

    Nothing published for this version

  24. v1.9.2-0.20250311125636-ceb39aba25c8 11 Mar 2025 pre-release

    Nothing published for this version

  25. v1.9.2-0.20250310224630-c25b59834531 10 Mar 2025 pre-release

    Nothing published for this version

  26. v1.9.2-0.20250307145322-4f9ef8cdbbc8 07 Mar 2025 pre-release

    Nothing published for this version

  27. v1.9.2-0.20250221124614-1995054b0030 21 Feb 2025 pre-release

    Nothing published for this version

  28. v1.9.2-0.20250217191617-f98cf4216d3c 17 Feb 2025 pre-release

    Nothing published for this version

  29. v1.9.1 16 Feb 2025
    Release notes

    🐛 Fixes

    Full Changelog: v1.9.0...v1.9.1

    Open source →
  30. v1.9.1-0.20251203235115-88b30ab89da2 03 Dec 2025 pre-release

    Nothing published for this version

  31. v1.9.1-0.20250216180814-a97f9fd47b29 16 Feb 2025 pre-release

    Nothing published for this version

  32. v1.9.0 15 Feb 2025
    Release notes

    ✨ Features

    • Allow linker to perform deadcode elimination for program using Cobra by @aarzilli in #1956
    • Add default completion command even if there are no other sub-commands by @marckhouzam in #1559
    • Add CompletionWithDesc helper by @ccoVeille in #2231

    🐛 Fixes

    🤖 Completions

    • Make Powershell completion work in constrained mode by @lstemplinger in #2196
    • Improve detection for flags that accept multiple values by @thaJeztah in #2210
    • add CompletionFunc type to help with completions by @ccoVeille in #2220
    • Add similar whitespace escape logic to bash v2 completions than in other completions by @kangasta in #1743
    • Print ActiveHelp for bash along other completions by @marckhouzam in #2076
    • fix(completions): Complete map flags multiple times by @gabe565 in #2174
    • fix(bash): nounset unbound file filter variable on empty extension by @scop in #2228

    🧪 Testing

    ✍🏼 Documentation

    🔧 Dependency upgrades


    Thank you to all of our amazing contributors and all the great work that's been going into the completions feature!!

    👋🏼 New Contributors

    Full Changelog: v1.8.1...v1.9.0

    Open source →
  33. v1.8.2-0.20250212010054-680936a2200b 12 Feb 2025 pre-release

    Nothing published for this version

  34. v1.8.2-0.20250209160607-8cb30f9ca53a 09 Feb 2025 pre-release

    Nothing published for this version

  35. v1.8.2-0.20250206203525-17b6dca2ffaf 06 Feb 2025 pre-release

    Nothing published for this version

  36. v1.8.2-0.20250206152544-ab5cadcc1bbe 06 Feb 2025 pre-release

    Nothing published for this version

  37. v1.8.2-0.20250202003534-4ba5566f5704 02 Feb 2025 pre-release

    Nothing published for this version

  38. v1.8.2-0.20250130002846-41b26ec8bb59 30 Jan 2025 pre-release

    Nothing published for this version

  39. v1.8.2-0.20250127144343-611e16c322e3 27 Jan 2025 pre-release

    Nothing published for this version

  40. v1.8.2-0.20250123022830-09d5664f34e3 23 Jan 2025 pre-release

    Nothing published for this version

  41. v1.8.2-0.20250122013405-6c3c1163c6df 22 Jan 2025 pre-release

    Nothing published for this version

  42. v1.8.2-0.20250112124928-01ffff4eca5a 12 Jan 2025 pre-release

    Nothing published for this version

  43. v1.8.2-0.20241228224143-0745e5576205 28 Dec 2024 pre-release

    Nothing published for this version

  44. v1.8.2-0.20241217022634-9f9056765ccb 17 Dec 2024 pre-release

    Nothing published for this version

  45. v1.8.2-0.20241211122608-85196307501d 11 Dec 2024 pre-release

    Nothing published for this version

  46. v1.8.2-0.20241105111924-02326d52c070 05 Nov 2024 pre-release

    Nothing published for this version

  47. v1.8.2-0.20241104004501-5a138f143f25 04 Nov 2024 pre-release

    Nothing published for this version

  48. v1.8.2-0.20241016181347-3a5efaede9d3 16 Oct 2024 pre-release

    Nothing published for this version

  49. v1.8.2-0.20241012160827-5bef9d8d87ad 12 Oct 2024 pre-release

    Nothing published for this version

  50. v1.8.2-0.20241011104047-11ab62158ac7 11 Oct 2024 pre-release

    Nothing published for this version

  51. v1.8.2-0.20240824230244-78bfc837fe35 24 Aug 2024 pre-release

    Nothing published for this version

  52. v1.8.2-0.20240824110526-511af59cb360 24 Aug 2024 pre-release

    Nothing published for this version

  53. v1.8.2-0.20240728161807-756ba6dad614 28 Jul 2024 pre-release

    Nothing published for this version

  54. v1.8.2-0.20240716233629-371ae25d2c82 16 Jul 2024 pre-release

    Nothing published for this version

  55. v1.8.1 01 Jun 2024
    Release notes

    ✨ Features

    • Add env variable to suppress completion descriptions on create by @scop in #1938

    🐛 Bug fixes

    🔧 Maintenance

    • build(deps): bump github.com/cpuguy83/go-md2man/v2 from 2.0.3 to 2.0.4 by @dependabot in #2127
    • Consistent annotation names by @nirs in #2140
    • Remove fully inactivated linters by @nirs in #2148
    • Address golangci-lint deprecation warnings, enable some more linters by @scop in #2152

    🧪 Testing & CI/CD

    ✏️ Documentation

    New Contributors


    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: v1.8.0...v1.8.1

    Open source →
  56. v1.8.1-0.20251203235115-88b30ab89da2 03 Dec 2025 pre-release

    Nothing published for this version

  57. v1.8.1-0.20250130002846-41b26ec8bb59 30 Jan 2025 pre-release

    Nothing published for this version

  58. v1.8.1-0.20240601103111-e94f6d0dd9a5 01 Jun 2024 pre-release

    Nothing published for this version

  59. v1.8.1-0.20240519021202-8003b74a10ef 19 May 2024 pre-release

    Nothing published for this version

  60. v1.8.1-0.20240513101026-72f0e7845e05 13 May 2024 pre-release

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive