|
1 |
| -CHANGELOG |
2 |
| -========= |
| 1 | +# Changelog |
3 | 2 |
|
4 |
| -* 1.0.0 (2013-02-07) |
| 3 | +## 4.0.0 (2022-07-11) |
5 | 4 |
|
6 |
| - * First tagged release |
| 5 | +A major new feature release, see [**release announcement**](https://clue.engineering/2022/announcing-reactphp-async). |
| 6 | + |
| 7 | +* We'd like to emphasize that this component is production ready and battle-tested. |
| 8 | + We plan to support all long-term support (LTS) releases for at least 24 months, |
| 9 | + so you have a rock-solid foundation to build on top of. |
| 10 | + |
| 11 | +* The v4 release will be the way forward for this package. However, we will still |
| 12 | + actively support v3 and v2 to provide a smooth upgrade path for those not yet |
| 13 | + on PHP 8.1+. If you're using an older PHP version, you may use either version |
| 14 | + which all provide a compatible API but may not take advantage of newer language |
| 15 | + features. You may target multiple versions at the same time to support a wider range of |
| 16 | + PHP versions: |
| 17 | + |
| 18 | + * [`4.x` branch](https://github.com/reactphp/async/tree/4.x) (PHP 8.1+) |
| 19 | + * [`3.x` branch](https://github.com/reactphp/async/tree/3.x) (PHP 7.1+) |
| 20 | + * [`2.x` branch](https://github.com/reactphp/async/tree/2.x) (PHP 5.3+) |
| 21 | + |
| 22 | +This update involves some major new features and a minor BC break over the |
| 23 | +`v3.0.0` release. We've tried hard to avoid BC breaks where possible and |
| 24 | +minimize impact otherwise. We expect that most consumers of this package will be |
| 25 | +affected by BC breaks, but updating should take no longer than a few minutes. |
| 26 | +See below for more details: |
| 27 | + |
| 28 | +* Feature / BC break: Require PHP 8.1+ and add `mixed` type declarations. |
| 29 | + (#14 by @clue) |
| 30 | + |
| 31 | +* Feature: Add Fiber-based `async()` and `await()` functions. |
| 32 | + (#15, #18, #19 and #20 by @WyriHaximus and #26, #28, #30, #32, #34, #55 and #57 by @clue) |
| 33 | + |
| 34 | +* Project maintenance, rename `main` branch to `4.x` and update installation instructions. |
| 35 | + (#29 by @clue) |
| 36 | + |
| 37 | +The following changes had to be ported to this release due to our branching |
| 38 | +strategy, but also appeared in the `v3.0.0` release: |
| 39 | + |
| 40 | +* Feature: Support iterable type for `parallel()` + `series()` + `waterfall()`. |
| 41 | + (#49 by @clue) |
| 42 | + |
| 43 | +* Feature: Forward compatibility with upcoming Promise v3. |
| 44 | + (#48 by @clue) |
| 45 | + |
| 46 | +* Minor documentation improvements. |
| 47 | + (#36 by @SimonFrings and #51 by @nhedger) |
| 48 | + |
| 49 | +## 3.0.0 (2022-07-11) |
| 50 | + |
| 51 | +See [`3.x` CHANGELOG](https://github.com/reactphp/async/blob/3.x/CHANGELOG.md) for more details. |
| 52 | + |
| 53 | +## 2.0.0 (2022-07-11) |
| 54 | + |
| 55 | +See [`2.x` CHANGELOG](https://github.com/reactphp/async/blob/2.x/CHANGELOG.md) for more details. |
| 56 | + |
| 57 | +## 1.0.0 (2013-02-07) |
| 58 | + |
| 59 | +* First tagged release |
0 commit comments