Skip to content

Conversation

@renovate
Copy link

@renovate renovate bot commented Nov 9, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
react/event-loop 1.1.1 -> 1.4.0 age adoption passing confidence

Release Notes

reactphp/event-loop (react/event-loop)

v1.4.0

Compare Source

v1.3.0

Compare Source

v1.2.0

Compare Source

A major new feature release, see release announcement.

  • Feature: Introduce new concept of default loop with the new Loop class.
    (#​226 by @​WyriHaximus, #​229, #​231 and #​232 by @​clue)

    The Loop class exists as a convenient global accessor for the event loop.
    It provides all methods that exist on the LoopInterface as static methods and
    will automatically execute the loop at the end of the program:

    $timer = Loop::addPeriodicTimer(0.1, function () {
        echo 'Tick' . PHP_EOL;
    });
    
    Loop::addTimer(1.0, function () use ($timer) {
        Loop::cancelTimer($timer);
        echo 'Done' . PHP_EOL;
    });

    The explicit loop instructions are still valid and may still be useful in some applications,
    especially for a transition period towards the more concise style.
    The Loop::get() method can be used to get the currently active event loop instance.

    // deprecated
    $loop = React\EventLoop\Factory::create();
    
    // new
    $loop = React\EventLoop\Loop::get();
  • Minor documentation improvements and mark legacy extensions as deprecated.
    (#​234 by @​SimonFrings, #​214 by @​WyriHaximus and #​233 and #​235 by @​nhedger)

  • Improve test suite, use GitHub actions for continuous integration (CI),
    update PHPUnit config and run tests on PHP 8.
    (#​212 and #​215 by @​SimonFrings and #​230 by @​clue)


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot requested a review from WyriHaximus as a code owner November 9, 2023 12:46
@boring-cyborg boring-cyborg bot added Dependencies 📦 Pull requests that update a dependency file PHP 🐘 Hypertext Pre Processor labels Nov 9, 2023
@github-actions github-actions bot added this to the 1.1.0 milestone Nov 9, 2023
@renovate renovate bot changed the title Update dependency react/event-loop to v1.4.0 Update dependency react/event-loop to v1.4.0 - autoclosed Nov 10, 2023
@renovate renovate bot closed this Nov 10, 2023
@renovate renovate bot deleted the renovate/react-event-loop-1.x-lockfile branch November 10, 2023 05:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Dependencies 📦 Pull requests that update a dependency file PHP 🐘 Hypertext Pre Processor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant