Skip to content

Releases: revoltphp/event-loop

1.0.6

01 Dec 04:58
v1.0.6
25de49a
Compare
Choose a tag to compare

What's Changed

  • Fixed re-entering the event loop from {main} after the loop ended with an un-resumed suspension.

Full Changelog: v1.0.5...v1.0.6

1.0.5

19 Nov 14:50
v1.0.5
fce6063
Compare
Choose a tag to compare

What's Changed

  • Discard {main} suspension on uncaught exception from loop by @trowski and @danog in #71, fixing resuming the event loop in a shutdown function after an uncaught exception from an event loop callback.

Full Changelog: v1.0.4...v1.0.5

1.0.4

22 Oct 03:29
v1.0.4
40292c1
Compare
Choose a tag to compare

What's Changed

  • Renamed a private property in UvDriver to avoid a PHP JIT bug.

Full Changelog: v1.0.3...v1.0.4

1.0.3

29 Jul 17:09
v1.0.3
0fe2d31
Compare
Choose a tag to compare

What's Changed

  • Add runtime check for serious GC bugs in PHP by @kelunik in #85
  • Check if fiber was destroyed before resuming by @trowski in #84

Full Changelog: v1.0.2...v1.0.3

1.0.2

21 Jul 22:44
v1.0.2
b018d0f
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.0.1...v1.0.2

1.0.1

02 Apr 16:36
v1.0.1
9ac31d3
Compare
Choose a tag to compare

What's Changed

  • Improve pcntl availability check if functions are disabled by @danog in #77
  • Use @throws by @simPod in #76

New Contributors

Full Changelog: v1.0.0...v1.0.1

1.0.0

03 Nov 19:03
v1.0.0
81dd825
Compare
Choose a tag to compare

We're proud to announce our initial stable release! The event loop is ready for production use, has been tested in various different applications and scenarios, and fully supports fibers.

What's Changed

  • Added EventLoop::getIdentifiers (#62)
  • Added EventLoop::getType (#62)
  • Added EventLoop::isEnabled (#62)
  • Added EventLoop::isReferenced (#62)
  • Fixed EventLoop::getErrorHandler missing the static modifier
  • Fixed double wrapping in UncaughtThrowable if a decorating event loop driver throws an UncaughtThrowable (#61)
  • Removed EventLoop::getInfo, use EventLoop::getIdentifiers() in combination with EventLoop::isEnabled, EventLoop::isReferenced, and EventLoop::getType instead (#62)
  • Removed EventLoop::createSuspension, use EventLoop::getSuspension instead

Full Changelog: v0.2.5...v1.0.0

0.2.5

01 Aug 14:16
v0.2.5
4e74555
Compare
Choose a tag to compare

What's Changed

  • PHP 8.1 is now required (#55)
  • Fix compatibility with 8.2 by fixing a deprecation notice (#58)
  • Fixed an integer overflow on timers if a large (e.g. PHP_INT_MAX) timeout is requested (#49)
  • Removed the reference kept to microtask (EventLoop::queue()) callback arguments so passed objects may be garbage collected if a resulting fiber unsets all references to the argument (#60)

Full Changelog: v0.2.4...v0.2.5

0.2.4

13 Mar 21:25
v0.2.4
ae8162e
Compare
Choose a tag to compare

What's Changed

  • Fixed the fiber reference in DriverSuspension being nulled early during shutdown, leading to an assertion error when attempting to resume the suspension.

Full Changelog: v0.2.3...v0.2.4

0.2.3

04 Mar 19:51
v0.2.3
13ca2ba
Compare
Choose a tag to compare

What's Changed

  • Fixed Undefined property: Revolt\EventLoop\Internal\DriverSuspension::$fiber in an error path

Full Changelog: v0.2.2...v0.2.3