- Use direct image URLs in
README.md
. - Switched to
poetry-core
. - Relax Python version constraint.
- Add
pointer
option tocheckbox
andselect
. - Change enter instruction for multiline input.
- Removed unnecessary Poetry includes.
- Minor updates to documentation.
- Added additional unit tests.
- Added
use_arrow_keys
anduse_jk_keys
options tocheckbox
. - Added
use_jk_keys
andshow_selected
options toselect
. - Fix highlighting bug when using
default
parameter forselect
.
- Added brand new documentation https://questionary.readthedocs.io/ (thanks to @kiancross)
- Fixed regression for checkboxes where all values are returned as strings fixes #88.
- Added additional question type
questionary.path
- Added possibility to validate select and checkboxes selections before submitting them.
- Added a helper to print formatted text
questionary.print
. - Added API method to call prompt in an unsafe way.
- Hide cursor on select only showing the item marker.
- Added support for Python 3.9.
- Better UX for multiline text input.
- Allow passing custom lexer.
- Updated black code style formatting and fixed version.
- Fixed colour of answer for some prompts.
- Added
py.typed
marker file. - Documented multiline input for devs and users and added tests.
- Accept style tuples in
title
argument annotation ofChoice
. - Added
default
for select andinitial_choice
for checkbox prompts. - Removed check for choices if completer is present.
Bug fix release.
- Added
.ask_async
support for forms.
Bug fix release.
- Fixed
.ask_async
for questions onprompt_toolkit==2.*
. Added tests for it.
Feature release.
- Added support for
prompt_toolkit
3. - All tests will be run against
prompt_toolkit
2 and 3. - Removed support for Python 3.5 (
prompt_toolkit
3 does not support that any more).
Feature release.
- Added additional question type
autocomplete
. - Allow pointer and highlight in select question type.
Feature release.
- Add additional options to style checkboxes and select prompts #14.
Bug fix release.
- Fixed compatibility with Python 3.5.2 by removing
Type
annotation (this time for real).
Feature release.
- Allow a user to pass in a validator as an instance #10.
Bug fix release.
- Fixed compatibility with python 3.5.2 by removing
Type
annotation.
Feature release.
- Added
skip_if
to questions to allow skipping questions using a flag.
Bug fix release.
- Fixed odd behaviour if select is created without providing any choices instead, we will raise a
ValueError
now #6.
Bug fix release, adding some convenience shortcuts.
- Added shortcut keys
j
(move down the list) andk
(move up) to the promptsselect
andcheckbox
(fixes #2). - Fixed unclosed file handle in
setup.py
. - Fixed unnecessary empty lines moving selections to far down (fixes #3).
Initial public release of the library.
- Added python interface.
- Added dict style question creation.
- Improved the documentation.
- More tests and automatic Travis test execution.