Skip to content

Commit

Permalink
Prepare v4.1.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonFrings committed Jun 22, 2023
1 parent ecd5cef commit b9641ac
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,26 @@
# Changelog

## 4.1.0 (2023-06-22)

* Feature: Add new `delay()` function to delay program execution.
(#69 by @clue)

```php
echo 'a';
Loop::addTimer(1.0, function () {
echo 'b';
});
React\Async\delay(3.0);
echo 'c';

// prints "a" at t=0.0s
// prints "b" at t=1.0s
// prints "c" at t=3.0s
```

* Update test suite, add PHPStan with `max` level and report failed assertions.
(#66 and #76 by @clue and #61 and #73 by @WyriHaximus)

## 4.0.0 (2022-07-11)

A major new feature release, see [**release announcement**](https://clue.engineering/2022/announcing-reactphp-async).
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -623,7 +623,7 @@ This project follows [SemVer](https://semver.org/).
This will install the latest supported version from this branch:

```bash
composer require react/async:^4
composer require react/async:^4.1
```

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

0 comments on commit b9641ac

Please sign in to comment.