Skip to content

Commit

Permalink
Prepare v3.2.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonFrings committed Nov 22, 2023
1 parent 6e7bc57 commit bc3ef67
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
24 changes: 24 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,29 @@
# Changelog

## 3.2.0 (2023-11-22)

This release contains backported features from the Async v4.2.0 release for those
not yet on PHP 8.1+. Async v3 provides a compatible API, but may not take advantage
of newer language features. We encourage upgrading to the latest version when possible.

* Feature: Add Promise v3 template types for all public functions.
(#82 by @clue)

All our public APIs now use Promise v3 template types to guide IDEs and static
analysis tools (like PHPStan), helping with proper type usage and improving
code quality:

```php
assertType('bool', await(resolve(true)));
assertType('PromiseInterface<bool>', coroutine(fn(): bool => true));
```

* Feature: Full PHP 8.3 compatibility.
(#83 by @clue)

* Update test suite to avoid unhandled promise rejections.
(#80 by @clue)

## 3.1.0 (2023-06-22)

* Feature: Add new `delay()` function to delay program execution.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ This project follows [SemVer](https://semver.org/).
This will install the latest supported version from this branch:

```bash
composer require react/async:^3.1
composer require react/async:^3.2
```

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

0 comments on commit bc3ef67

Please sign in to comment.