schnutibox/vendor/github.com/manifoldco/promptui/CHANGELOG.md

2.4 KiB

CHANGELOG

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

Unreleased

[0.8.0] - 2020-09-28

Added

  • Support ctrl-h for backspace
  • Allow hiding entered data after submit
  • Allow masking input with an empty rune to hide input length

Fixed

  • Fix echo of cursor after input is finished
  • Better support for keycodes on Windows

[0.7.0] - 2020-01-11

Added

  • Add support for configurable Stdin/Stdout on Prompt
  • Add support for setting initial cursor position
  • Switch to golangci-lint for linting

Removed

  • Removed support for Go 1.11

Fixed

  • Reduce tool-based deps, hopefully fixing any install issues

[0.6.0] - 2019-11-29

Added

  • Support configurable stdin

Fixed

  • Correct the dep on go-i18n

[0.5.0] - 2019-11-29

Added

  • Now building and testing on go 1.11, go 1.12, and go 1.13

Removed

  • Removed support for Go versions that don't include modules.

[0.4.0] - 2019-02-19

Added

  • The text displayed when an item was successfully selected can be hidden

[0.3.2] - 2018-11-26

Added

  • Support Go modules

Fixed

  • Fix typos in PromptTemplates documentation

[0.3.1] - 2018-07-26

Added

  • Improved documentation for GoDoc
  • Navigation keys information for Windows

Fixed

  • success template was not properly displayed after a successful prompt.

[0.3.0] - 2018-05-22

Added

  • Background colors codes and template helpers
  • AllowEdit for prompt to prevent deletion of the default value by any key
  • Added StartInSearchMode to allow starting the prompt in search mode

Fixed

  • <Enter> key press on Windows
  • juju/ansiterm dependency
  • chzyer/readline#136 new api with ReadCloser
  • Deleting UTF-8 characters sequence

[0.2.1] - 2017-11-30

Fixed

  • SelectWithAdd panicking on .Run due to lack of keys setup
  • Backspace key on Windows

[0.2.0] - 2017-11-16

Added

  • Select items can now be searched

[0.1.0] - 2017-11-02

Added

  • extract promptui from torus as a standalone lib.
  • promptui.Prompt provides a single input line to capture user information.
  • promptui.Select provides a list of options to choose from. Users can navigate through the list either one item at time or by pagination