Skip to content

Releases: reactphp/event-loop

v1.5.0

13 Nov 13:53
Compare
Choose a tag to compare

v1.4.0

05 May 10:12
Compare
Choose a tag to compare

v1.3.0

17 Mar 11:11
Compare
Choose a tag to compare
  • Feature: Improve default StreamSelectLoop to report any warnings for invalid streams.
    (#245 by @clue)

  • Feature: Improve performance of StreamSelectLoop when no timers are scheduled.
    (#246 by @clue)

  • Fix: Fix periodic timer with zero interval for ExtEvLoop and legacy ExtLibevLoop.
    (#243 by @lucasnetau)

  • Minor documentation improvements, update PHP version references.
    (#240, #248 and #250 by @SimonFrings, #241 by @dbu and #249 by @clue)

  • Improve test suite and test against PHP 8.1.
    (#238 by @WyriHaximus and #242 by @clue)

v1.2.0

11 Jul 12:32
Compare
Choose a tag to compare

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)

v1.1.1

01 Jan 18:50
Compare
Choose a tag to compare
  • Fix: Fix reporting connection refused errors with ExtUvLoop on Linux and StreamSelectLoop on Windows.
    (#207 and #208 by @clue)

  • Fix: Fix unsupported EventConfig and SEGFAULT on shutdown with ExtEventLoop on Windows.
    (#205 by @clue)

  • Fix: Prevent interval overflow for timers very far in the future with ExtUvLoop.
    (#196 by @PabloKowalczyk)

  • Fix: Check PCNTL functions for signal support instead of PCNTL extension with StreamSelectLoop.
    (#195 by @clue)

  • Add .gitattributes to exclude dev files from exports.
    (#201 by @reedy)

  • Improve test suite to fix testing ExtUvLoop on Travis,
    fix Travis CI builds, do not install libuv on legacy PHP setups,
    fix failing test cases due to inaccurate timers,
    run tests on Windows via Travis CI and
    run tests on PHP 7.4 and simplify test matrix and test setup.
    (#197 by @WyriHaximus and #202, #203, #204 and #209 by @clue)

v1.1.0

07 Feb 16:20
v1.1.0
Compare
Choose a tag to compare
  • New UV based event loop (ext-uv).
    (#112 by @WyriHaximus)

  • Use high resolution timer on PHP 7.3+.
    (#182 by @clue)

  • Improve PCNTL signals by using async signal dispatching if available.
    (#179 by @CharlotteDunois)

  • Improve test suite and test suite set up.
    (#174 by @WyriHaximus, #181 by @clue)

  • Fix PCNTL signals edge case.
    (#183 by @clue)

v1.0.0

11 Jul 14:44
Compare
Choose a tag to compare
  • First stable LTS release, now following SemVer.
    We'd like to emphasize that this component is production ready and battle-tested.
    We plan to support all long-term support (LTS) releases for at least 24 months,
    so you have a rock-solid foundation to build on top of.

Contains no other changes, so it's actually fully compatible with the v0.5.3 release.

v0.5.3

09 Jul 13:51
Compare
Choose a tag to compare
  • Improve performance by importing global functions.
    (#167 by @Ocramius)

  • Improve test suite by simplifying test bootstrap by using dev autoloader.
    (#169 by @lcobucci)

  • Minor internal changes to improved backward compatibility with PHP 5.3.
    (#166 by @Donatello-za)

v0.5.2

24 Apr 11:24
Compare
Choose a tag to compare
  • Feature: Improve memory consumption and runtime performance for StreamSelectLoop timers.
    (#164 by @clue)

  • Improve test suite by removing I/O dependency at StreamSelectLoopTest to fix Mac OS X tests.
    (#161 by @nawarian)

v0.5.1

09 Apr 12:02
v0.5.1
Compare
Choose a tag to compare
  • Feature: New ExtEvLoop (PECL ext-ev) (#148 by @kaduev13)