Releases: kazhala/InquirerPy
Releases · kazhala/InquirerPy
0.3.3
0.3.2
0.3.1
0.3.1 (13/12/2021)
Fixed
- Fixed InvalidArgument raised for callable default
Added
- number prompt
- Built for receiving number input
- Supports decimal
- Supports negative
- Non number input is disabled
- Supports thresholds
- async support #30
0.3.0
0.3.0 (12/10/2021)
New Documentation: inquirerpy.readthedocs.io
Added
Added optional spinner to display while loading choices for list prompts.- This will be finalised and re-implement in the next release as a separate prompt.
- Added parameter
borderfor list prompts to display a border around the choices. - Added parameter
long_instructionto display longer instructions such as keybinding instructions at the bottom #7. - Added parameter
expand_helpforexpandprompt to customise the help message and expansion key.help_msgparameter is deprecated and should useexpand_help.
- Added alternate way of creating choices. Introduced a new class
Choiceas an alternate option for dictionary choice.- Added
ExpandChoiceforexpandprompt as well,
- Added
- Added
raise_keyboard_interruptoption to all prompt initialisation options.- The
raise_keyboard_interruptin execute function will be deprecated in future releases.
- The
- Added parameters
mandatoryandmandatory_messageto indicate if a prompt can be skipped. - Added ability to skip prompt #10
Fixed
- Fixed fuzzy prompt cannot type space #20.
- Fixed multiselect malfunction #25
- Fixed fuzzy prompt toggle_all #14
Changed
- Changed fuzzy prompt
borderdefault toFalse.- It was
Trueby default, changing this to keep it consistent with other prompts.
- It was
- Changed style
fuzzy_infoandinstructiondefault color to#abb2bf. - Automatic spacing added for checkbox prompt, if you have customised the prompt using
enabled_symbolanddisabled_symbol,
you may need to remove the extra space you have previously added. The change here is to align with other prompts current behavior. - Checkbox prompt default value for
enabled_symbolanddisabled_symbolis changed from hex symbol to circle #22. - Behavior of
raise_keyboard_interruptis changed. Checkout the documentation for more info.