// deprecated React\Promise\Timer\resolve($time); React\Promise\Timer\reject($time); // new React\Promise\Timer\sleep($time);
A major new feature release, see release announcement.
// 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)
Improve test suite and add
.gitattributesto 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)
- Feature: Improve memory consumption by cleaning up garbage references to pending promise without canceller.
(#34 by @clue)
- First tagged release