- update to 2.5.11:
* Fixed duplicated parameter tables in API documentation.
* Fixed docstring style for MkDocs API documentation so
parameters are displayed properly.
* Fixed 'index out of range' error when passing no arguments to
an argparse-based command function.
* Added `ArgumentParser.get_ap_completer_type()` and
* Fixed bug where AutoCompleter was not distinguishing between a negative number and a flag
* Fixed bug where AutoCompleter did not handle -- the same way argparse does (all args after -- are non-options)
* The ``preparse``, ``postparsing_precmd``, and ``postparsing_postcmd`` methods *deprecated* in the previous release
* Fixed bug in parsing of multiline commands where matching quote is on another line
- update to 0.6.5.1:
OBS-URL: https://build.opensuse.org/request/show/1290634
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cmd2?expand=0&rev=52
* Fixed duplicated parameter tables in API documentation.
* Fixed docstring style for MkDocs API documentation so
parameters are displayed properly.
* Fixed 'index out of range' error when passing no arguments to
an argparse-based command function.
* Added `ArgumentParser.get_ap_completer_type()` and
* Fixed bug where AutoCompleter was not distinguishing between a negative number and a flag
* Fixed bug where AutoCompleter did not handle -- the same way argparse does (all args after -- are non-options)
* The ``preparse``, ``postparsing_precmd``, and ``postparsing_postcmd`` methods *deprecated* in the previous release
* Fixed bug in parsing of multiline commands where matching quote is on another line
- update to 0.6.5.1:
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cmd2?expand=0&rev=108
* Fixed type hint for with_default_category decorator which
caused type checkers to mistype a subclass of CommandSet as a
plain CommandSet.
- Update to version 2.5.5
* 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.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cmd2?expand=0&rev=102
* Fixed ZeroDivisionError in async_alert() when
shutil.get_terminal_size().columns is 0.
- Update to version 2.5.3
* 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.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cmd2?expand=0&rev=100
* Fixed default pytest execution when not using cmd2's custom
invoke command via inv pytest.
- Update to version 2.5.1
* Fixed readline bug when using ipy command with gnureadline
and Python 3.13.
- Add patch:
* cmd2-no-coverage-tests.patch
- Update to version 2.5.0
Breaking Change
* cmd2 2.5 supports Python 3.8+
(removed support for Python 3.6 and 3.7).
Bug Fixes
* Fixed issue where persistent history file was not saved upon
SIGHUP and SIGTERM signals.
* Multiline commands are no longer fragmented in up-arrow history
* Fixed bug where async_alert() overwrites readline's incremental
and non-incremental search prompts.
+ This fix introduces behavior where an updated prompt won't
display after an aborted search.
+ until a user presses Enter. See async_printing.py
+ example for how to handle this case using
Cmd.need_prompt_refresh() and Cmd.async_refresh_prompt().
Enhancements
* Removed dependency on attrs and replaced with dataclasses.
* add allow_clipboard initialization parameter and attribute to
disable ability to.
* add output to the operating system clipboard.
* Updated unit tests to be Python 3.13 compliant.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cmd2?expand=0&rev=98