Skip to content

Releases: python-cmd2/cmd2

2.7.0 (June 30, 2025)

30 Jun 16:55
Compare
Choose a tag to compare
  • Enhancements
    • Integrated rich-argparse with cmd2's default argparse help formatter (Cmd2HelpFormatter).

2.6.2 (June 26, 2025)

26 Jun 17:14
Compare
Choose a tag to compare
  • Enhancements

    • Added explicit support for free-threaded versions of Python, starting with version 3.14
  • Bug Fixes

    • Restored code to set a parser's prog value in the with_argparser decorator. This is to
      preserve backward compatibility in the cmd2 2.0 family. This functionality will be removed
      in cmd2 3.0.0.

2.6.1 (June 8, 2025)

08 Jun 22:21
Compare
Choose a tag to compare
  • Bug Fixes
    • Fixed bug that prevented cmd2 from working with from __future__ import annotations

2.6.0 (May 31, 2025)

31 May 16:01
28f226a
Compare
Choose a tag to compare
  • Breaking Change
    • cmd2 2.6 supports Python 3.9+ (removed support for Python 3.8)
  • Enhancements
    • Added support for Python 3.14
    • Added new Cmd.ppretty() method for pretty printing arbitrary Python data structures
    • Clarified help text for -t/--transcript argument to the history command

2.5.11 (January 25, 2025)

25 Jan 16:22
Compare
Choose a tag to compare
  • Bug Fixes
    • Fixed duplicated parameter tables in API documentation.

2.5.10 (January 25, 2025)

25 Jan 15:55
Compare
Choose a tag to compare
  • Bug Fixes
    • Fixed docstring style for MkDocs API documentation so parameters are displayed properly.

2.5.9 (January 17, 2025)

18 Jan 00:04
Compare
Choose a tag to compare
  • Bug Fixes
    • Fixed 'index out of range' error when passing no arguments to an argparse-based command function.

2.5.8 (December 17, 2024)

18 Dec 03:28
Compare
Choose a tag to compare
  • Bug Fixes
    • Rolled back undocumented changes to printing functions introduced in 2.5.0.

2.5.7 (November 22, 2024)

23 Nov 03:08
Compare
Choose a tag to compare
  • Bug Fixes
    • Fixed issue where argument parsers for overridden commands were not being created.
    • Fixed issue where Cmd.ppaged() was not writing to the passed in destination.

2.5.6 (November 14, 2024)

14 Nov 14:02
Compare
Choose a tag to compare
  • Bug Fixes
    • Fixed type hint for with_default_category decorator which caused type checkers to mistype a subclass of CommandSet as a plain CommandSet.