Skip to content

Commit c5779cd

Browse files
committed
Add changelog entry for enforcing throwables/exceptions as rejection reasons
1 parent 411a415 commit c5779cd

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,7 @@ CHANGELOG for 3.x
4444
\React\Promise\resolve($promise)->cancel();
4545
}
4646
```
47+
* BC break: When rejecting a promise, a `\Throwable` or `\Exception`
48+
instance is enforced as the rejection reason (#93).
49+
This means, it is not longer possible to reject a promise without a reason
50+
or with another promise.

0 commit comments

Comments
 (0)