Skip to content

Commit 5f42a3a

Browse files
committed
Prepare v2.3.0 release
1 parent 5ec6440 commit 5f42a3a

File tree

2 files changed

+29
-3
lines changed

2 files changed

+29
-3
lines changed

CHANGELOG.md

+26
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,31 @@
11
# Changelog
22

3+
## 2.3.0 (2019-08-28)
4+
5+
* Feature: Emit audible/visible BELL signal when using a disabled function.
6+
(#86 and #87 by @clue)
7+
8+
By default, this project will emit an audible/visible BELL signal when the user
9+
tries to execute an otherwise disabled function, such as using the
10+
<kbd>left</kbd> or <kbd>backspace</kbd> keys when already at the beginning of the line.
11+
12+
* Deprecated: Deprecate `Readline` class and move all methods to `Stdio`.
13+
(#84 by @clue)
14+
15+
```php
16+
// deprecated:
17+
$stdio->getReadline()->setPrompt('> ');
18+
19+
// recommended alternative:
20+
$stdio->setPrompt('> ');
21+
```
22+
23+
* Fix: Fix closing to emit final `close` event and clean up all listeners.
24+
(#88 by @clue)
25+
26+
* Improve test suite to test against legacy PHP 5.3 through PHP 7.3 and support PHPUnit 7.
27+
(#85 by @clue)
28+
329
## 2.2.0 (2018-09-03)
430

531
* Feature / Fix: Accept CR as an alias for LF to support more platforms.

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ on your particular use case.
432432

433433
In order to give you more control over this behavior, the autocomplete function
434434
actually receives three arguments (similar to `ext-readline`'s
435-
[`readline_completion_function()`](http://php.net/manual/en/function.readline-completion-function.php)):
435+
[`readline_completion_function()`](https://www.php.net/manual/en/function.readline-completion-function.php)):
436436
The first argument will be the current incomplete word according to current
437437
cursor position and word boundaries, while the second and third argument will be
438438
the start and end offset of this word within the complete input buffer measured
@@ -537,7 +537,7 @@ $stdio->on("\033[A", function () use ($stdio) {
537537

538538
#### Bell
539539

540-
By default, this project will emit a audible/visible BELL signal when the user
540+
By default, this project will emit an audible/visible BELL signal when the user
541541
tries to execute an otherwise disabled function, such as using the
542542
<kbd>left</kbd> or <kbd>backspace</kbd> keys when already at the beginning of the line.
543543

@@ -622,7 +622,7 @@ This project follows [SemVer](https://semver.org/).
622622
This will install the latest supported version:
623623

624624
```bash
625-
$ composer require clue/stdio-react:^2.2
625+
$ composer require clue/stdio-react:^2.3
626626
```
627627

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

0 commit comments

Comments
 (0)