@@ -97,7 +97,7 @@ <h3 class="off-canvas-menu__section-header">Core Components</h3>
9797 Async
9898
9999 < span class ="off-canvas-menu__version ">
100-
100+ v4.0.0
101101 </ span >
102102 </ a >
103103 </ li >
@@ -223,7 +223,7 @@ <h1>Async</h1>
223223
224224< p > < a href ="https://github.com/reactphp/async/actions "> < img src ="https://github.com/reactphp/async/workflows/CI/badge.svg " alt ="CI status " style ="max-width:100%; "> </ a >
225225< a href ="https://packagist.org/packages/react/async " rel ="nofollow "> < img src ="https://camo.githubusercontent.com/3b14cc18b50d4f3ce0a5fac671667b6f4035fb79695b4acda1eba22ed3841f62/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f72656163742f6173796e633f636f6c6f723d626c7565266c6162656c3d696e7374616c6c732532306f6e2532305061636b6167697374 " alt ="installs on Packagist " data-canonical-src ="https://img.shields.io/packagist/dt/react/async?color=blue&label=installs%20on%20Packagist " style ="max-width:100%; "> </ a > </ p >
226- < p > Async utilities for < a href ="https://reactphp.org/ " rel ="nofollow "> ReactPHP</ a > .</ p >
226+ < p > Async utilities and fibers for < a href ="https://reactphp.org/ " rel ="nofollow "> ReactPHP</ a > .</ p >
227227< p > This library allows you to manage async control flow. It provides a number of
228228combinators for < a href ="../promise/ "> Promise</ a > -based APIs.
229229Instead of nesting or chaining promise callbacks, you can declare them as a
@@ -232,16 +232,6 @@ <h1>Async</h1>
232232to have an actual event loop and non-blocking libraries interacting with that
233233event loop for it to work. As long as you have a Promise-based API that runs in
234234an event loop, it can be used with this library.</ p >
235- < blockquote >
236- < p > < strong > Development version:</ strong > This branch contains the code for the upcoming 4.0
237- release which will be the way forward for this package. However, we will still
238- actively support 3.0 and 2.0 for those not yet on PHP 8.1+.</ p >
239- < p > If you're using an older PHP version, you may use the
240- < a href ="https://github.com/reactphp/async/tree/3.x "> < code > 3.x</ code > branch</ a > (PHP 7.1+) or
241- < a href ="https://github.com/reactphp/async/tree/2.x "> < code > 2.x</ code > branch</ a > (PHP 5.3+) which both
242- provide a compatible API but do not take advantage of newer language features.
243- See also < a href ="#install "> installation instructions</ a > for more details.</ p >
244- </ blockquote >
245235< p > < strong > Table of Contents</ strong > </ p >
246236< ul >
247237< li >
664654< a id ="install " class ="anchor " href ="#install " aria-hidden ="true "> < span aria-hidden ="true " class ="octicon octicon-link "> </ span > </ a > Install</ h2 >
665655< p > The recommended way to install this library is < a href ="https://getcomposer.org/ " rel ="nofollow "> through Composer</ a > .
666656< a href ="https://getcomposer.org/doc/00-intro.md " rel ="nofollow "> New to Composer?</ a > </ p >
667- < p > Once released, this project will follow < a href ="https://semver.org/ " rel ="nofollow "> SemVer</ a > .
668- At the moment, this will install the latest development version:</ p >
669- < div class ="highlight highlight-source-shell "> < pre > composer require react/async:^4@dev </ pre > </ div >
657+ < p > This project follows < a href ="https://semver.org/ " rel ="nofollow "> SemVer</ a > .
658+ This will install the latest supported version from this branch :</ p >
659+ < div class ="highlight highlight-source-shell "> < pre > composer require react/async:^4</ pre > </ div >
670660< p > See also the < a href ="changelog.html "> CHANGELOG</ a > for details about version upgrades.</ p >
671661< p > This project aims to run on any platform and thus does not require any PHP
672662extensions and supports running on PHP 8.1+.
678668provide a compatible API but do not take advantage of newer language features.
679669You may target multiple versions at the same time to support a wider range of
680670PHP versions like this:</ p >
681- < div class ="highlight highlight-source-shell "> < pre > composer require < span class ="pl-s "> < span class ="pl-pds "> "</ span > react/async:^4@dev || ^3@dev || ^2@dev < span class ="pl-pds "> "</ span > </ span > </ pre > </ div >
671+ < div class ="highlight highlight-source-shell "> < pre > composer require < span class ="pl-s "> < span class ="pl-pds "> "</ span > react/async:^4 || ^3 || ^2< span class ="pl-pds "> "</ span > </ span > </ pre > </ div >
682672< h2 >
683673< a id ="tests " class ="anchor " href ="#tests " aria-hidden ="true "> < span aria-hidden ="true " class ="octicon octicon-link "> </ span > </ a > Tests</ h2 >
684674< p > To run the test suite, you first need to clone this repo and then install all
@@ -698,7 +688,7 @@ <h2 class="component-info__title">
698688
699689 < div class ="version-selector ">
700690 < button class ="version-selector__button version-selector__button--latest " data-ctrly ="component-version-selector " data-version-selector-control >
701-
691+ v4.0.0
702692
703693 < i class ="icon-chevron-down " aria-hidden ="true "> </ i >
704694 < i class ="icon-chevron-up " aria-hidden ="true "> </ i >
@@ -713,7 +703,22 @@ <h2 class="component-info__title">
713703 master
714704 </ a >
715705 </ li >
716- </ ul >
706+ < li >
707+ < a href ="https://github.com/reactphp/async/tree/v3.0.0#readme " class ="version-selector__version ">
708+ v3.0.0
709+ </ a >
710+ </ li >
711+ < li >
712+ < a href ="https://github.com/reactphp/async/tree/v2.0.0#readme " class ="version-selector__version ">
713+ v2.0.0
714+ </ a >
715+ </ li >
716+ < li >
717+ < a href ="https://github.com/reactphp/async/tree/v1.0.0#readme " class ="version-selector__version ">
718+ v1.0.0
719+ </ a >
720+ </ li >
721+ </ ul >
717722 </ div >
718723 </ div >
719724 </ h2 >
@@ -738,7 +743,7 @@ <h2 class="component-info__title">
738743
739744 < h3 class ="component-info__subtitle "> Installation</ h3 >
740745
741- < div class ="highlight highlight-source-shell "> < pre > composer require react/async:^</ pre > </ div >
746+ < div class ="highlight highlight-source-shell "> < pre > composer require react/async:^4.0.0 </ pre > </ div >
742747
743748 < h3 class ="component-info__subtitle "> Contributors</ h3 >
744749
@@ -787,7 +792,7 @@ <h3 class="component-info__subtitle">Activity</h3>
787792 < mask id ="reactphp-async-participation-sparkline " x ="0 " y ="0 " width ="320 " height ="40 " >
788793 < polyline
789794 transform ="translate(0, 40) scale(1,-1) "
790- points ="0,1 6,1 12,1 18,1 24,1 30,1 36,1 42,1 48,1 54,1 60,1 66,1 72,4 78,1 84,22 90,1 96,4 102,1 108,14 114,3 120,1 126,1 132,2 138,4 144,1 150,2 156,1 162,1 168,3 174,1 180,6 186,7 192,1 198,4 204,1 210,2 216,2 222,1 228,1 234,1 240,1 246,1 252,1 258,1 264,1 270,1 276,2 282,5 288,2 294,3 300,3 306,3 "
795+ points ="0,1 6,1 12,1 18,1 24,1 30,1 36,1 42,1 48,1 54,1 60,1 66,1 72,4 78,1 84,22 90,1 96,4 102,1 108,15 114,2 120,1 126,1 132,2 138,4 144,1 150,2 156,1 162,1 168,3 174,1 180,7 186,6 192,1 198,4 204,1 210,2 216,2 222,1 228,1 234,1 240,1 246,1 252,1 258,1 264,1 270,1 276,3 282,4 288,2 294,3 300,3 306,3 "
791796 fill ="transparent "
792797 stroke ="#40a977 "
793798 stroke-width ="2 "
0 commit comments