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 11# Changelog
22
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+
326## 1.2.0 (2019-07-03)
427
528* 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/).
2222This lightweight library consists only of a few simple functions.
2323All functions reside under the ` React\Promise\Stream ` namespace.
2424
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:
2626
2727``` php
2828React\Promise\Stream\buffer(…);
@@ -262,7 +262,7 @@ This project follows [SemVer](https://semver.org/).
262262This will install the latest supported version:
263263
264264``` bash
265- $ composer require react/promise-stream:^1.2
265+ $ composer require react/promise-stream:^1.3
266266```
267267
268268See also the [ CHANGELOG] ( CHANGELOG.md ) for details about version upgrades.
You can’t perform that action at this time.
0 commit comments