go-prompt/CHANGELOG.md
2018-10-21 19:53:03 +09:00

2.7 KiB

Change Log

v0.3.0 (2018/??/??)

The architecture of go-prompt are refactored in this release. See here for more details. Much better in many regards. Please don't hesitate to test this release and file any bug reports.

Breaking changes.

Please caution this release includes breaking changes for who customize ConsoleParser or ConsoleWriter.

  • Remove GetWinSize method from ConsoleParser. Please use ConsoleWriter.GetWinSize instead.
  • Remove GetKey method from ConsoleParser. Please use GetKey function instead.
  • Add GetWinSize and SIGWINCH on ConsoleWriter.

What's new?

  • Correspond window size change events on Windows.

Removed or Deprecated

  • Removed Choose shortcut function.
  • Removed SwitchKeyBindMode option. please use OptionSwitchKeyBindMode instead.

v0.2.2 (2018/06/28)

What's new?

  • Support CJK(Chinese, Japanese and Korean) and Cyrillic characters.
  • Add OptionCompletionWordSeparator(x string) to customize insertion points for completions.
    • To support this, text query functions by arbitrary word separator are added in Document (please see here for more details).
  • Add FilePathCompleter to complete file path on your system.
  • Add option to customize ascii code key bindings.
  • Add GetWordAfterCursor method in Document.

Removed or Deprecated

  • prompt.Choose shortcut function is deprecated.

v0.2.1 (2018/02/14)

What's New?

  • It seems that windows support is almost perfect.
    • A critical bug is found :( When you change a terminal window size, the layout will be broken because current implementation cannot catch signal for updating window size on Windows.

Fixed

  • Fix a Shift+Tab handling on Windows.
  • Fix 4-dimension arrow keys handling on Windows.

v0.2.0 (2018/02/13)

What's New?

  • Supports scrollbar when there are too many matched suggestions
  • Windows support (but please caution because this is still not perfect).
  • Add OptionLivePrefix to update the prefix dynamically
  • Implement clear screen by Ctrl+L.

Fixed

  • Fix the behavior of Ctrl+W keybind.
  • Fix the panic because when running on a docker container (please see here for details).
  • Fix panic when making terminal window small size after input 2 lines of texts. See here for details).
  • And also fixed many bugs that layout is broken when using Terminal.app, GNU Terminal and a Goland(IntelliJ).

News

New core developers are joined (alphabetical order).

  • Nao Yonashiro (Github @orisano)
  • Ryoma Abe (Github @Allajah)
  • Yusuke Nakamura (Github @unasuke)

v0.1.0 (2017/08/15)

Initial Release