|
1 |
| -## 0.9.0 (TBD, 2018) |
| 1 | +## 0.9.0 (May TBD, 2018) |
2 | 2 | * Bug Fixes
|
3 | 3 | * If self.default_to_shell is true, then redirection and piping are now properly passed to the shell. Previously it was truncated.
|
4 | 4 | * Submenus now call all hooks, it used to just call precmd and postcmd.
|
5 |
| - * Fixed ``AttributeError`` on Windows when running a ``select`` command cause by **pyreadline** not implementing ``remove_history_item`` |
6 | 5 | * Enhancements
|
7 | 6 | * Automatic completion of ``argparse`` arguments via ``cmd2.argparse_completer.AutoCompleter``
|
8 | 7 | * See the [tab_autocompletion.py](https://github.com/python-cmd2/cmd2/blob/master/examples/tab_autocompletion.py) example for a demonstration of how to use this feature
|
|
17 | 16 | * ``identchars`` is now ignored. The standardlibrary cmd uses those characters to split the first "word" of the input, but cmd2 hasn't used those for a while, and the new parsing logic parses on whitespace, which has the added benefit of full unicode support, unlike cmd or prior versions of cmd2.
|
18 | 17 | * ``set_posix_shlex`` function and ``POSIX_SHLEX`` variable have been removed. Parsing behavior is now always the more forgiving ``posix=false``.
|
19 | 18 | * ``set_strip_quotes`` function and ``STRIP_QUOTES_FOR_NON_POSIX`` have been removed. Quotes are stripped from arguments when presented as a list (a la ``sys.argv``), and present when arguments are presented as a string (like the string passed to do_*).
|
20 |
| - * Enhanced the ``py`` console in the following ways |
21 |
| - * Added tab completion of Python identifiers instead of **cmd2** commands |
22 |
| - * Separated the ``py`` console history from the **cmd2** history |
23 | 19 | * Changes
|
24 | 20 | * ``strip_ansi()`` and ``strip_quotes()`` functions have moved to new utils module
|
25 | 21 | * Several constants moved to new constants module
|
|
34 | 30 | * Replaced by default AutoCompleter implementation for all commands using argparse
|
35 | 31 | * Deleted support for old method of calling application commands with ``cmd()`` and ``self``
|
36 | 32 | * ``cmd2.redirector`` is no longer supported. Output redirection can only be done with '>' or '>>'
|
| 33 | + * Deleted ``postparse()`` hook since it was redundant with ``postparsing_precmd`` |
37 | 34 | * Python 2 no longer supported
|
38 | 35 | * ``cmd2`` now supports Python 3.4+
|
39 | 36 | * Known Issues
|
40 | 37 | * Some developers have noted very slow performance when importing the ``cmd2`` module. The issue
|
41 | 38 | it intermittant, and investigation of the root cause is ongoing.
|
| 39 | + |
| 40 | +## 0.8.6 (May 27, 2018) |
| 41 | +* Bug Fixes |
| 42 | + * Commands using the @with_argparser_and_unknown_args were not correctly recognized when tab completing |
| 43 | + * Fixed issue where completion display function was overwritten when a submenu quits |
| 44 | + * Fixed ``AttributeError`` on Windows when running a ``select`` command cause by **pyreadline** not implementing ``remove_history_item`` |
| 45 | +* Enhancements |
| 46 | + * Added warning about **libedit** variant of **readline** not being supported on macOS |
| 47 | + * Added tab-completion of alias names in value filed of **alias** command |
| 48 | + * Enhanced the ``py`` console in the following ways |
| 49 | + * Added tab completion of Python identifiers instead of **cmd2** commands |
| 50 | + * Separated the ``py`` console history from the **cmd2** history |
42 | 51 |
|
43 | 52 | ## 0.8.5 (April 15, 2018)
|
44 | 53 | * Bug Fixes
|
|
0 commit comments