Skip to content

Commit 3ebd94f

Browse files
committed
Prepare v1.3.0 release
1 parent 34da49d commit 3ebd94f

File tree

2 files changed

+25
-2
lines changed

2 files changed

+25
-2
lines changed

CHANGELOG.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,28 @@
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.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ for [ReactPHP](https://reactphp.org/).
2222
This lightweight library consists only of a few simple functions.
2323
All 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
2828
React\Promise\Stream\buffer(…);
@@ -262,7 +262,7 @@ This project follows [SemVer](https://semver.org/).
262262
This 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

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

0 commit comments

Comments
 (0)