Releases: reactphp/promise-timer
v1.11.0
v1.10.0
v1.9.0
-
Feature: Improve forward compatibility with upcoming Promise v3 API.
(#54 and #55 by @clue) -
Minor documentation improvements for upcoming Promise v3.
(#58 by @clue and #56 by @SimonFrings) -
Improve test suite, fix legacy HHVM build by downgrading Composer.
(#57 by @SimonFrings)
v1.8.0
-
Feature: Add new
sleep()
function and deprecateresolve()
andreject()
functions.
(#51 by @clue)// deprecated React\Promise\Timer\resolve($time); React\Promise\Timer\reject($time); // new React\Promise\Timer\sleep($time);
-
Feature: Support PHP 8.1 release.
(#50 by @Thomas-Gelf, #52 by @clue and #48 by @SimonFrings) -
Improve API documentation and add parameter types and return types.
(#49 by @clue and #47 by @SimonFrings)
v1.7.0
A major new feature release, see release announcement.
-
Feature: Simplify usage by supporting new default loop.
(#46 by @clue)// old (still supported) $promise = timeout($promise, $time, $loop); $promise = resolve($time, $loop); $promise = reject($time, $loop); // new (using default loop) $promise = timeout($promise, $time); $promise = resolve($time); $promise = reject($time);
-
Improve test suite, use GitHub actions for continuous integration (CI),
update PHPUnit config, run tests on PHP 8 and add full core team to the license.
(#43 by @WyriHaximus, #44 and #45 by @SimonFrings)
v1.6.0
-
Feature: Forward compatibility with react/promise v3.
(#37 by @WyriHaximus) -
Improve test suite and add
.gitattributes
to exclude dev files from exports.
Run tests on PHPUnit 9 and PHP 7.4 and clean up test suite.
(#38 by @WyriHaximus, #39 by @reedy, #41 by @clue and #42 by @SimonFrings)