| 1 |
.. _changelog: |
| 2 |
|
| 3 |
********* |
| 4 |
Changelog |
| 5 |
********* |
| 6 |
|
| 7 |
2.1.1 (2025-08-28) |
| 8 |
################### |
| 9 |
|
| 10 |
* Fixed compatibility with ``prompt_toolkit`` 3.0.52. Previously that version raised ability |
| 11 |
``AttributeError: 'VSplit' object has no attribute 'content'`` error. |
| 12 |
|
| 13 |
2.1.0 (2024-12-29) |
| 14 |
################### |
| 15 |
|
| 16 |
* Added support for ``prompt_toolkit`` versions 3.0.37 and above. |
| 17 |
* Added search functionality to ``select`` and ``checkbox`` prompts, allowing users to search for a prefix, with the list of options filtered accordingly. |
| 18 |
* Added ``description`` option to ``checkbox`` and ``select``. |
| 19 |
* Added explicit support for Python 3.12. |
| 20 |
* Ignore ``Separator`` when calculating the length of choices in ``select``, allowing full utilisation of the maximum number of keyboard shortcuts. |
| 21 |
* Fixed issue where setting ``Choice.shortcut_key`` or ``Choice.auto_shortcut`` did not update the other. |
| 22 |
* Fixed a bug where disabled ``Choice`` items could still be interacted with via keyboard shortcuts. |
| 23 |
* Moved newline in :kbd:`Ctrl+C` message to a constant, allowing users to customise or remove it if desired. |
| 24 |
* Updated ``autoflake`` pre-commit hook to the new official repository. |
| 25 |
* Removed the ``setup.cfg`` file as it is no longer needed with the current project configuration. |
| 26 |
* Fixed minor typos in autocomplete examples. |
| 27 |
* Updated dependencies. |
| 28 |
|
| 29 |
2.0.1 (2023-09-08) |
| 30 |
################### |
| 31 |
|
| 32 |
* Updated dependencies. |
| 33 |
* Fixed broken documentation build. |
| 34 |
|
| 35 |
2.0.0 (2023-07-25) |
| 36 |
################### |
| 37 |
|
| 38 |
* Updated dependencies. |
| 39 |
* Modified default choice selection based on the ``Choice`` value. Now, it is |
| 40 |
not necessary to pass the same instance of the ``Choice`` object: the same |
| 41 |
``value`` may be used. |
| 42 |
* Fixed various minor bugs in development scripts and continuous integration. |
| 43 |
* Improved continuous integration and testing process. |
| 44 |
* Added pull request and issue templates to the GitHub repository. |
| 45 |
* Implemented lazy function call for obtaining choices. |
| 46 |
* Expanded the test matrix to include additional Python versions. |
| 47 |
* Added the ability to specify the start point of a file path. |
| 48 |
* Enabled displaying arbitrary paths in file path input. |
| 49 |
* Allowed skipping of questions in the ``unsafe_ask`` function. |
| 50 |
* Resolved typing bugs. |
| 51 |
* Included a password confirmation example. |
| 52 |
* Now returning selected choices even if they are disabled. |
| 53 |
* Added support for Emacs keys (:kbd:`Ctrl+N` and :kbd:`Ctrl+P`). |
| 54 |
* Fixed rendering errors in the documentation. |
| 55 |
* Introduced a new ``print`` question type. |
| 56 |
* Deprecated support for Python 3.6 and 3.7. |
| 57 |
* Added dynamic instruction messages for ``checkbox`` and ``confirm``. |
| 58 |
* Removed the upper bound from the Python version specifier. |
| 59 |
* Added a ``press_any_key_to_continue`` prompt. |
| 60 |
|
| 61 |
1.10.0 (2021-07-10) |
| 62 |
################### |
| 63 |
|
| 64 |
* Use direct image URLs in ``README.md``. |
| 65 |
* Switched to ``poetry-core``. |
| 66 |
* Relax Python version constraint. |
| 67 |
* Add ``pointer`` option to ``checkbox`` and ``select``. |
| 68 |
* Change enter instruction for multiline input. |
| 69 |
* Removed unnecessary Poetry includes. |
| 70 |
* Minor updates to documentation. |
| 71 |
* Added additional unit tests. |
| 72 |
* Added ``use_arrow_keys`` and ``use_jk_keys`` options to ``checkbox``. |
| 73 |
* Added ``use_jk_keys`` and ``show_selected`` options to ``select``. |
| 74 |
* Fix highlighting bug when using ``default`` parameter for ``select``. |
| 75 |
|
| 76 |
1.9.0 (2020-12-20) |
| 77 |
################## |
| 78 |
|
| 79 |
* Added brand new documentation https://questionary.readthedocs.io/ |
| 80 |
(thanks to `@kiancross <https://github.com/kiancross>`_) |
| 81 |
|
| 82 |
1.8.1 (2020-11-17) |
| 83 |
################## |
| 84 |
|
| 85 |
* Fixed regression for checkboxes where all values are returned as strings |
| 86 |
fixes `#88 <https://github.com/tmbo/questionary/issues/88>`_. |
| 87 |
|
| 88 |
1.8.0 (2020-11-08) |
| 89 |
################## |
| 90 |
|
| 91 |
* Added additional question type ``questionary.path`` |
| 92 |
* Added possibility to validate select and checkboxes selections before |
| 93 |
submitting them. |
| 94 |
* Added a helper to print formatted text ``questionary.print``. |
| 95 |
* Added API method to call prompt in an unsafe way. |
| 96 |
* Hide cursor on select only showing the item marker. |
| 97 |
|
| 98 |
1.7.0 (2002-10-15) |
| 99 |
################## |
| 100 |
|
| 101 |
* Added support for Python 3.9. |
| 102 |
* Better UX for multiline text input. |
| 103 |
* Allow passing custom lexer. |
| 104 |
|
| 105 |
1.6.0 (2020-10-04) |
| 106 |
################## |
| 107 |
|
| 108 |
* Updated black code style formatting and fixed version. |
| 109 |
* Fixed colour of answer for some prompts. |
| 110 |
* Added ``py.typed`` marker file. |
| 111 |
* Documented multiline input for devs and users and added tests. |
| 112 |
* Accept style tuples in ``title`` argument annotation of ``Choice``. |
| 113 |
* Added ``default`` for select and ``initial_choice`` for checkbox |
| 114 |
prompts. |
| 115 |
* Removed check for choices if completer is present. |
| 116 |
|
| 117 |
1.5.2 (2020-04-16) |
| 118 |
################## |
| 119 |
|
| 120 |
Bug fix release. |
| 121 |
|
| 122 |
* Added ``.ask_async`` support for forms. |
| 123 |
|
| 124 |
1.5.1 (2020-01-22) |
| 125 |
################## |
| 126 |
|
| 127 |
Bug fix release. |
| 128 |
|
| 129 |
* Fixed ``.ask_async`` for questions on ``prompt_toolkit==2.*``. |
| 130 |
Added tests for it. |
| 131 |
|
| 132 |
1.5.0 (2020-01-22) |
| 133 |
################## |
| 134 |
|
| 135 |
Feature release. |
| 136 |
|
| 137 |
* Added support for ``prompt_toolkit`` 3. |
| 138 |
* All tests will be run against ``prompt_toolkit`` 2 and 3. |
| 139 |
* Removed support for Python 3.5 (``prompt_toolkit`` 3 does not support |
| 140 |
that any more). |
| 141 |
|
| 142 |
1.4.0 (2019-11-10) |
| 143 |
################## |
| 144 |
|
| 145 |
Feature release. |
| 146 |
|
| 147 |
* Added additional question type ``autocomplete``. |
| 148 |
* Allow pointer and highlight in select question type. |
| 149 |
|
| 150 |
1.3.0 (2019-08-25) |
| 151 |
################## |
| 152 |
|
| 153 |
Feature release. |
| 154 |
|
| 155 |
* Add additional options to style checkboxes and select prompts |
| 156 |
`#14 <https://github.com/tmbo/questionary/pull/14>`_. |
| 157 |
|
| 158 |
1.2.1 (2019-08-19) |
| 159 |
################## |
| 160 |
|
| 161 |
Bug fix release. |
| 162 |
|
| 163 |
* Fixed compatibility with Python 3.5.2 by removing ``Type`` annotation |
| 164 |
(this time for real). |
| 165 |
|
| 166 |
1.2.0 (2019-07-30) |
| 167 |
################## |
| 168 |
|
| 169 |
Feature release. |
| 170 |
|
| 171 |
* Allow a user to pass in a validator as an instance |
| 172 |
`#10 <https://github.com/tmbo/questionary/pull/10>`_. |
| 173 |
|
| 174 |
1.1.1 (2019-04-21) |
| 175 |
################## |
| 176 |
|
| 177 |
Bug fix release. |
| 178 |
|
| 179 |
* Fixed compatibility with python 3.5.2 by removing ``Type`` annotation. |
| 180 |
|
| 181 |
1.1.0 (2019-03-10) |
| 182 |
################## |
| 183 |
|
| 184 |
Feature release. |
| 185 |
|
| 186 |
* Added ``skip_if`` to questions to allow skipping questions using a flag. |
| 187 |
|
| 188 |
1.0.2 (2019-01-23) |
| 189 |
################## |
| 190 |
|
| 191 |
Bug fix release. |
| 192 |
|
| 193 |
* Fixed odd behaviour if select is created without providing any choices |
| 194 |
instead, we will raise a ``ValueError`` now |
| 195 |
`#6 <https://github.com/tmbo/questionary/pull/6>`_. |
| 196 |
|
| 197 |
1.0.1 (2019-01-12) |
| 198 |
################## |
| 199 |
|
| 200 |
Bug fix release, adding some convenience shortcuts. |
| 201 |
|
| 202 |
* Added shortcut keys :kbd:`j` (move down the list) and :kbd:`k` (move up) to |
| 203 |
the prompts ``select`` and ``checkbox`` (fixes |
| 204 |
`#2 <https://github.com/tmbo/questionary/issues/2>`_). |
| 205 |
|
| 206 |
* Fixed unclosed file handle in ``setup.py``. |
| 207 |
* Fixed unnecessary empty lines moving selections to far down |
| 208 |
(fixes `#3 <https://github.com/tmbo/questionary/issues/3>`_). |
| 209 |
|
| 210 |
1.0.0 (2018-12-14) |
| 211 |
################## |
| 212 |
|
| 213 |
Initial public release of the library. |
| 214 |
|
| 215 |
* Added python interface. |
| 216 |
* Added dict style question creation. |
| 217 |
* Improved the documentation. |
| 218 |
* More tests and automatic Travis test execution. |