Skip to content

Commit

Permalink
Prepare v1.2.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
clue committed Dec 18, 2017
1 parent e061b63 commit f751e05
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 1 deletion.
30 changes: 30 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,35 @@
# Changelog

## 1.2.0 (2017-12-18)

* 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 external `stty` 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 normal `DuplexStreamInterface` instead.
(#59 and #62 by @clue)

```php
// 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)

## 1.1.0 (2017-11-01)

* Feature: Explicitly end stream on CTRL+D and emit final data on EOF without EOL
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,7 @@ This project follows [SemVer](http://semver.org/).
This will install the latest supported version:

```bash
$ composer require clue/stdio-react:^1.1
$ composer require clue/stdio-react:^1.2
```

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

0 comments on commit f751e05

Please sign in to comment.