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
border
for list prompts to display a border around the choices. - Added parameter
long_instruction
to display longer instructions such as keybinding instructions at the bottom #7. - Added parameter
expand_help
forexpand
prompt to customise the help message and expansion key.help_msg
parameter is deprecated and should useexpand_help
.
- Added alternate way of creating choices. Introduced a new class
Choice
as an alternate option for dictionary choice.- Added
ExpandChoice
forexpand
prompt as well,
- Added
- Added
raise_keyboard_interrupt
option to all prompt initialisation options.- The
raise_keyboard_interrupt
in execute function will be deprecated in future releases.
- The
- Added parameters
mandatory
andmandatory_message
to 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
border
default toFalse
.- It was
True
by default, changing this to keep it consistent with other prompts.
- It was
- Changed style
fuzzy_info
andinstruction
default color to#abb2bf
. - Automatic spacing added for checkbox prompt, if you have customised the prompt using
enabled_symbol
anddisabled_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_symbol
anddisabled_symbol
is changed from hex symbol to circle #22. - Behavior of
raise_keyboard_interrupt
is changed. Checkout the documentation for more info.