This repository has been archived by the owner on Apr 19, 2024. It is now read-only.
Releases: AlecAivazis/survey
Releases · AlecAivazis/survey
v1.8.3
improved help message in multiselect (#187)
v1.8.2: Make survey into a module. (#177)
This creates the go.{mod,sum} files, which define survey as a module and lock the dependencies. go mod init was used to convert the previous dep files and keep the same dependencies.
v1.8.1
Removed extra empty line in render for Multiline (#175)
Custom Filtering in Select/MultiSelect
allow custom filtering behavior for Select and MultiSelect (#171) * Add capability to provide a filter function to filter options. * Extract DefaultFilterFn to new file. * Implement custom filter for multiselect as well. * Add tests. * Add documentation on custom filtering. * Improve documentation.
v1.7.1: Prompt again (#165)
* survey: pass previous invalid value to Prompt Support different behavior after a validation error in repeated prompts. Signed-off-by: Mate Ory <[email protected]> * editor: recall previous invalid input Recall the previous invalid input in the repeated prompt so the user doesn't have to start over typing the answer. Signed-off-by: Mate Ory <[email protected]> * survey_test: check recalling invalid Editor input * tests: add prompt-again editor manual test
Added Multiline input
Added multiline input (#157) * Added multiline input * Test for multiline input * Use of existing API to clear lines instead of escape sequence * Multiline input example added to README * multiline-input: change message to finish * multiline-input: show the response in a new line * MultilineInput renamed to Multiline * README updated
v1.6.4: Clear multi-select filter when option is selected (#158)
* Add option to clear multiselect filter after option is selected * Remove option * Add Test
v1.6.3: Length counter fixed for emoji like multi byte characters (#152)
* Length counter fixed for emoji like multi byte characters * Length counter fix tests are added for emoji containing strings
v1.6.2: Change icons to more simple ones (Issue 93) (#150)
* Replace icons with simpler versions to increase compatibility * Add method to enable the previos fancy icons * Fix tests and replace hardcoded icons by dynamic string format
Bug fix
This release fixes a bug preventing a use from using the first entry in Select when a filter was applied