File tree 2 files changed +29
-3
lines changed
2 files changed +29
-3
lines changed Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
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
+
3
29
## 2.2.0 (2018-09-03)
4
30
5
31
* Feature / Fix: Accept CR as an alias for LF to support more platforms.
Original file line number Diff line number Diff line change @@ -432,7 +432,7 @@ on your particular use case.
432
432
433
433
In order to give you more control over this behavior, the autocomplete function
434
434
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) ):
436
436
The first argument will be the current incomplete word according to current
437
437
cursor position and word boundaries, while the second and third argument will be
438
438
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) {
537
537
538
538
#### Bell
539
539
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
541
541
tries to execute an otherwise disabled function, such as using the
542
542
<kbd >left</kbd > or <kbd >backspace</kbd > keys when already at the beginning of the line.
543
543
@@ -622,7 +622,7 @@ This project follows [SemVer](https://semver.org/).
622
622
This will install the latest supported version:
623
623
624
624
``` bash
625
- $ composer require clue/stdio-react:^2.2
625
+ $ composer require clue/stdio-react:^2.3
626
626
```
627
627
628
628
See also the [ CHANGELOG] ( CHANGELOG.md ) for details about version upgrades.
You can’t perform that action at this time.
0 commit comments