v1.2.0
版本发布时间: 2017-12-18 18:09:01
clue/reactphp-stdio最新发布版本:v2.6.0(2022-03-18 23:13:45)
-
Feature: Optionally use
ext-readline
to enable raw input mode if available. This extension is entirely optional, but it is more efficient and reliable than spawning the externalstty
command. (#63 by @clue) -
Feature: Consistently return boolean success from
write()
and avoid sending unneeded control codes between writes (#60 by @clue) -
Deprecated: Deprecate input helpers and output helpers and recommend using
Stdio
as a normalDuplexStreamInterface
instead. (#59 and #62 by @clue)// deprecated $stdio->on('line', function ($line) use ($stdio) { $stdio->writeln("input: $line"); }); // recommended alternative $stdio->on('data', function ($line) use ($stdio) { $stdio->write("input: $line"); });
-
Improve test suite by adding forward compatibility with PHPUnit 6 (#61 by @carusogabriel)