8000 Prepare v3.2.0 release · reactphp/async@bc3ef67 · GitHub
[go: up one dir, main page]

Skip to content

Commit bc3ef67

Browse files
committed
Prepare v3.2.0 release
1 parent 6e7bc57 commit bc3ef67

File tree

2 files changed

+25
-1
lines changed

2 files changed

+25
-1
lines changed

CHANGELOG.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,29 @@
11
# Changelog
22

3+
## 3.2.0 (2023-11-22)
4+
5+
This release contains backported features from the Async v4.2.0 release for those
6+
not yet on PHP 8.1+. Async v3 provides a compatible API, but may not take advantage
7+
of newer language features. We encourage upgrading to the latest version when possible.
8+
9+
* Feature: Add Promise v3 template types for all public functions.
10+
(#82 by @clue)
11+
12+
All our public APIs now use Promise v3 template types to guide IDEs and static
13+
analysis tools (like PHPStan), helping with proper type usage and improving
14+
code quality:
15+
16+
```php
17+
assertType('bool', await(resolve(true)));
18+
assertType('PromiseInterface<bool>', coroutine(fn(): bool => true));
19+
```
20+
21+
* Feature: Full PHP 8.3 compatibility.
22+
(#83 by @clue)
23+
24+
* Update test suite to avoid unhandled promise rejections.
25+
(#80 by @clue)
26+
327
## 3.1.0 (2023-06-22)
428

529
* Feature: Add new `delay()` function to delay program execution.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ This project follows [SemVer](https://semver.org/).
402402
This will install the latest supported version from this branch:
403403

404404
```bash
405-
composer require react/async:^3.1
405+
composer require react/async:^3.2
406406
```
407407

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

0 commit comments

Comments
 (0)
0