Skip to content

Commit b51cc55

Browse files
committed
Prepare v3.1.0 release
1 parent 325ad7b commit b51cc55

File tree

2 files changed

+22
-1
lines changed

2 files changed

+22
-1
lines changed

CHANGELOG.md

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

3+
## 3.1.0 (2023-06-22)
4+
5+
* Feature: Add new `delay()` function to delay program execution.
6+
(#71 by @clue)
7+
8+
```php
9+
echo 'a';
10+
Loop::addTimer(1.0, function () {
11+
echo 'b';
12+
});
13+
React\Async\delay(3.0);
14+
echo 'c';
15+
16+
// prints "a" at t=0.0s
17+
// prints "b" at t=1.0s
18+
// prints "c" at t=3.0s
19+
```
20+
21+
* Update test suite, add PHPStan with `max` level and report failed assertions.
22+
(#67 and #77 by @clue and #60 and #74 by @WyriHaximus)
23+
324
## 3.0.0 (2022-07-11)
425

526
A major new feature release, see [**release announcement**](https://clue.engineering/2022/announcing-reactphp-async).

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
405+
composer require react/async:^3.1
406406
```
407407

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

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy