File tree Expand file tree Collapse file tree 2 files changed +25
-2
lines changed Expand file tree Collapse file tree 2 files changed +25
-2
lines changed Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
3
+ ## 1.3.0 (2021-10-18)
4
+
5
+ * Feature: Improve error reporting by appending previous exception messages.
6
+ (#26 by @clue )
7
+
8
+ For most common use cases this means that simply reporting the ` Exception `
9
+ message should give the most relevant details for any issues:
10
+
11
+ ``` php
12
+ React\Promise\Stream\buffer($stream)->then(function (string $contents) {
13
+ // …
14
+ }, function (Exception $e) {
15
+ echo 'Error:' . $e->getMessage() . PHP_EOL;
16
+ });
17
+ ```
18
+
19
+ * Improve documentation, describe promise and stream data types.
20
+ (#27 by @clue and #23 by @WyriHaximus)
21
+
22
+ * Improve test suite and add `.gitattributes` to exclude dev files from exports.
23
+ Use GitHub actions for continuous integration (CI) and run tests on PHPUnit 9 and PHP 8.
24
+ (#21 by @reedy and #22, #24 and #25 by @SimonFrings)
25
+
3
26
## 1.2.0 (2019-07-03)
4
27
5
28
* Feature: Support unwrapping object streams by buffering original write chunks in array.
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ for [ReactPHP](https://reactphp.org/).
22
22
This lightweight library consists only of a few simple functions.
23
23
All functions reside under the ` React\Promise\Stream ` namespace.
24
24
25
- The below examples assume refer to them with their fully-qualified names like this:
25
+ The below examples refer to all functions with their fully-qualified names like this:
26
26
27
27
``` php
28
28
React\Promise\Stream\buffer(…);
@@ -262,7 +262,7 @@ This project follows [SemVer](https://semver.org/).
262
262
This will install the latest supported version:
263
263
264
264
``` bash
265
- $ composer require react/promise-stream:^1.2
265
+ $ composer require react/promise-stream:^1.3
266
266
```
267
267
268
268
See also the [ CHANGELOG] ( CHANGELOG.md ) for details about version upgrades.
You can’t perform that action at this time.
0 commit comments