Skip to content

Commit 4d5482e

Browse files
committed
docs(readme): Optimize version changelog by grouping common improvements
1 parent e5dbcde commit 4d5482e

File tree

1 file changed

+14
-5
lines changed

1 file changed

+14
-5
lines changed

README.md

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,22 @@
33
A lightweight implementation of [CommonJS Promises/A][CommonJS Promises/A] for PHP.
44

55
> [!NOTE]
6-
> This is a fork of [reactphp/promise][reactphp/promise] with the following improvements:
7-
> - PHP 8.1+
8-
> - `declare(strict_types=1);` in all the PHP files
6+
> This is a fork of [reactphp/promise][reactphp/promise].
7+
>
8+
> Improvements over original reactphp/promise:
9+
>
10+
> - PHP 8.1+ compatibility
11+
> - `declare(strict_types=1);` in all PHP files
912
> - `@yield` annotation in the PromiseInterface
10-
> - Replaces `react/promise` v3
11-
> - Make rejection handler reusable. `error_log()` is still used by default.
13+
>
14+
> Version 3.x specific:
15+
> - Replaces `react/promise` v3 in Composer
16+
> - Rejection handler is reusable now. `error_log()` is still used by default.
1217
> - Removed `exit(255)` from RejectionPromise.
18+
>
19+
> Version 2.x specific:
20+
> - Replaces `react/promise` v2 in Composer
21+
> - Enhanced type annotations
1322
1423
## Install
1524

0 commit comments

Comments
 (0)