2018-05-15 21:13:11 +00:00
|
|
|
# CHANGELOG
|
|
|
|
|
|
|
|
All notable changes to this project will be documented in this file.
|
|
|
|
|
|
|
|
The format is based on [Keep a Changelog](http://keepachangelog.com/)
|
|
|
|
and this project adheres to [Semantic Versioning](http://semver.org/).
|
|
|
|
|
|
|
|
## Unreleased
|
|
|
|
|
2020-09-14 18:31:56 +00:00
|
|
|
## [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
|
|
|
|
|
2018-05-15 21:13:11 +00:00
|
|
|
### 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
|
2020-09-14 18:31:56 +00:00
|
|
|
- Deleting UTF-8 characters sequence
|
2018-05-15 21:13:11 +00:00
|
|
|
|
|
|
|
## [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](https://github.com/manifoldco/torus-cli) 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
|