Skip to content
This repository has been archived by the owner on Apr 19, 2024. It is now read-only.

Releases: AlecAivazis/survey

v1.8.3

20 Apr 08:15
a84846d
Compare
Choose a tag to compare
improved help message in multiselect (#187)

v1.8.2: Make survey into a module. (#177)

29 Jan 18:32
Compare
Choose a tag to compare
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

25 Jan 19:08
Compare
Choose a tag to compare
Removed extra empty line in render for Multiline (#175)

Custom Filtering in Select/MultiSelect

13 Jan 06:29
Compare
Choose a tag to compare
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)

11 Dec 09:26
Compare
Choose a tag to compare
* 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

16 Nov 22:08
Compare
Choose a tag to compare
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)

08 Nov 22:51
Compare
Choose a tag to compare
* 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)

25 Oct 01:51
Compare
Choose a tag to compare
* 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)

16 Aug 20:33
Compare
Choose a tag to compare
* 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

04 Jul 22:22
17861e1
Compare
Choose a tag to compare

This release fixes a bug preventing a use from using the first entry in Select when a filter was applied