Releases: python-cmd2/cmd2
Releases · python-cmd2/cmd2
2.6.0 (May 31, 2025)
- Breaking Change
cmd22.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/--transcriptargument to thehistorycommand
2.5.11 (January 25, 2025)
- Bug Fixes
- Fixed duplicated parameter tables in API documentation.
2.5.10 (January 25, 2025)
- Bug Fixes
- Fixed docstring style for MkDocs API documentation so parameters are displayed properly.
2.5.9 (January 17, 2025)
- Bug Fixes
- Fixed 'index out of range' error when passing no arguments to an argparse-based command function.
2.5.8 (December 17, 2024)
- Bug Fixes
- Rolled back undocumented changes to printing functions introduced in 2.5.0.
2.5.7 (November 22, 2024)
- 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)
- Bug Fixes
- Fixed type hint for
with_default_categorydecorator which caused type checkers to mistype a subclass ofCommandSetas a plainCommandSet.
- Fixed type hint for
2.5.5 (November 13, 2024)
- Bug Fixes
- Fixed type hints for passing a class method to
with_argparserandas_subcommand_to. - Fixed issue where
setcommand was not always printing a settable's current value.
- Fixed type hints for passing a class method to
2.5.4 (November 6, 2024)
- Bug Fixes
- Fixed
ZeroDivisionErrorinasync_alert()whenshutil.get_terminal_size().columnsis 0.
- Fixed
2.5.3 (November 5, 2024)
- Enhancements
- Changed
CommandSet._cmdto a read-only property which never returnsNonebecause it is meant to be called after theCommandSetis registered. This addresses type checker errors that occurred ifCommandSet._cmdwasn't cast or checked ifNonebefore use.
- Changed