WyriHaximus / reactphp-child-process-pool

MIT License
40 stars 9 forks source link

Bump react/event-loop from 1.1.1 to 1.3.0 #77

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps react/event-loop from 1.1.1 to 1.3.0.

Release notes

Sourced from react/event-loop's releases.

v1.3.0

v1.2.0

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();

... (truncated)

Changelog

Sourced from react/event-loop's changelog.

1.3.0 (2022-03-17)

1.2.0 (2021-07-11)

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();

... (truncated)

Commits
  • 187fb56 Prepare v1.3.0 release
  • 361e9ad Merge pull request #249 from clue-labs/docs
  • a8d1d39 Merge pull request #248 from SimonFrings/installations
  • 2c602dd Merge pull request #250 from SimonFrings/extensions
  • 7d10eba Update supported PHP versions for loop extensions
  • a35d6d4 Minor documentation improvements
  • 993bb89 Add badge to show number of project installations
  • cd3f42b Merge pull request #246 from clue-labs/notime
  • a893385 Improve performance of StreamSelectLoop when no timers are scheduled
  • 4d3e4aa Merge pull request #245 from clue-labs/warnings
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)