Skip to content

Commit f751e05

Browse files
committed
Prepare v1.2.0 release
1 parent e061b63 commit f751e05

File tree

2 files changed

+31
-1
lines changed

2 files changed

+31
-1
lines changed

CHANGELOG.md

+30
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,35 @@
11
# Changelog
22

3+
## 1.2.0 (2017-12-18)
4+
5+
* Feature: Optionally use `ext-readline` to enable raw input mode if available.
6+
This extension is entirely optional, but it is more efficient and reliable
7+
than spawning the external `stty` command.
8+
(#63 by @clue)
9+
10+
* Feature: Consistently return boolean success from `write()` and
11+
avoid sending unneeded control codes between writes
12+
(#60 by @clue)
13+
14+
* Deprecated: Deprecate input helpers and output helpers and
15+
recommend using `Stdio` as a normal `DuplexStreamInterface` instead.
16+
(#59 and #62 by @clue)
17+
18+
```php
19+
// deprecated
20+
$stdio->on('line', function ($line) use ($stdio) {
21+
$stdio->writeln("input: $line");
22+
});
23+
24+
// recommended alternative
25+
$stdio->on('data', function ($line) use ($stdio) {
26+
$stdio->write("input: $line");
27+
});
28+
```
29+
30+
* Improve test suite by adding forward compatibility with PHPUnit 6
31+
(#61 by @carusogabriel)
32+
333
## 1.1.0 (2017-11-01)
434

535
* Feature: Explicitly end stream on CTRL+D and emit final data on EOF without EOL

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,7 @@ This project follows [SemVer](http://semver.org/).
568568
This will install the latest supported version:
569569

570570
```bash
571-
$ composer require clue/stdio-react:^1.1
571+
$ composer require clue/stdio-react:^1.2
572572
```
573573

574574
See also the [CHANGELOG](CHANGELOG.md) for details about version upgrades.

0 commit comments

Comments
 (0)