Skip to content

Releases: python-cmd2/cmd2

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.

2.5.5 (November 13, 2024)

13 Nov 14:59
Compare
Choose a tag to compare
  • Bug Fixes
    • Fixed type hints for passing a class method to with_argparser and as_subcommand_to.
    • Fixed issue where set command was not always printing a settable's current value.

2.5.4 (November 6, 2024)

07 Nov 03:11
Compare
Choose a tag to compare
  • Bug Fixes
    • Fixed ZeroDivisionError in async_alert() when shutil.get_terminal_size().columns is 0.

2.5.3 (November 5, 2024)

05 Nov 14:15
Compare
Choose a tag to compare
  • Enhancements
    • Changed CommandSet._cmd to a read-only property which never returns None because it is meant to be called after the CommandSet is registered. This addresses type checker errors that occurred if CommandSet._cmd wasn't cast or checked if None before use.

2.5.2 (November 3, 2024)

03 Nov 15:10
378208c
Compare
Choose a tag to compare
  • Bug Fixes
    • Fixed default pytest execution when not using cmd2's custom invoke command via inv pytest