Skip to content

Releases: clue/reactphp-stdio

v0.5.0

08 Jan 15:47
Compare
Choose a tag to compare
v0.5.0 Pre-release
Pre-release
  • Feature: Add history support.
    (#40 by @clue)
  • Feature: Add autocomplete support.
    (#41 by @clue)
  • Feature: Suggest using ext-mbstring, otherwise use regex fallback.
    (#42 by @clue)
  • Remove / BC break: Remove undocumented and low quality skeletons/helpers for.
    Buffer, ProgressBar and Spinner (mostly dead code)
    (#39, #43 by @clue)
  • First class support for PHP 5.3 through PHP 7 and HHVM.
    (#44 by @clue)
  • Simplify and restructure examples.
    (#45 by @clue)

v0.4.0

27 Sep 09:03
Compare
Choose a tag to compare
v0.4.0 Pre-release
Pre-release
  • Feature / BC break: The Stdio is now a well-behaving duplex stream
    (#35 by @clue)
  • Feature / BC break: The Readline is now a well-behaving readable stream
    (#32 by @clue)
  • Feature: Add Readline::getPrompt() helper
    (#33 by @clue)
  • Feature / Fix: All unsupported special keys, key codes and byte sequences will now be ignored
    (#36, #30, #19, #38 by @clue)
  • Fix: Explicitly redraw prompt on empty input
    (#37 by @clue)
  • Fix: Writing data that contains multiple newlines will no longer end up garbled
    (#34, #35 by @clue)

v0.3.1

26 Nov 19:07
Compare
Choose a tag to compare
v0.3.1 Pre-release
Pre-release
  • Fix: Support calling Readline::setInput() during line event
    (#28)
$stdio->on('line', function ($line) use ($stdio) {
    $stdio->getReadline()->setInput($line . '!');
});

v0.3.0

18 May 20:38
Compare
Choose a tag to compare
v0.3.0 Pre-release
Pre-release
  • Feature: Support multi-byte UTF-8 characters and account for cell width
    (#20)
  • Feature: Add support for HOME and END keys
    (#22)
  • Fix: Clear readline input and restore TTY on end
    (#21)

v0.2.0

17 May 11:44
Compare
Choose a tag to compare
v0.2.0 Pre-release
Pre-release
  • Feature: Support echo replacements (asterisk for password prompts)
    (#11)
$stdio->getReadline()->setEcho('*');
  • Feature: Add accessors for text input buffer and current cursor position
    (#8 and #9)
$stdio->getReadline()->setInput('hello');
$stdio->getReadline()->getCursorPosition();
  • Feature: All setters now return self to allow easy method chaining
    (#7)
$stdio->getReadline()->setPrompt('Password: ')->setEcho('*')->setInput('secret');

v0.1.0

14 May 15:27
Compare
Choose a tag to compare
v0.1.0 Pre-release
Pre-release
  • First tagged release