All Versions
37
Latest Version
Avg Release Cycle
57 days
Latest Release
1268 days ago
Changelog History
Page 3
Changelog History
Page 3
-
v2.0.2 Changes
September 19, 2017- Fixed warnings and timers in
EventDriver
. - Does no longer hide warnings from
stream_select
.
- Fixed warnings and timers in
-
v2.0.1 Changes
- Fixed an issue where the loop blocks even though all watchers are unreferenced.
-
v2.0.0 Changes
Amp\reactor()
has been replaced withAmp\Loop::set()
andAmp\Loop::get()
.Amp\driver()
has been replaced withAmp\Loop\Factory::create()
.Amp\tick()
no longer exists and doesn't have a replacement. Ticks are an internal detail.- Functions for creating and managing watchers are now static methods of
Amp\Loop
instead of functions in theAmp
namespace.once()
is nowdelay()
andimmediately()
isdefer()
.- Parameter order for
delay()
andrepeat()
has been changed. reference()
andunreference()
have been added.
Amp\Pause
has been renamed toAmp\Delayed
and accepts an optional resolution value now. Additionallyreference()
andunreference()
methods have been added.- Promise accepting functions have been moved to the
Amp\Promise
namespace. Amp\Promise\some()
accepts an additional$required
parameter.Amp\call()
,Amp\asyncCall()
,Amp\coroutine()
andAmp\asyncCoroutine()
have been added.Amp\resolve()
has been removed, useAmp\call()
instead.Promise::when()
has been renamed toPromise::onResolve()
Promise::watch()
has been removed, useAmp\Iterator
,amphp/byte-stream
or a custom implementation that implementsAmp\Promise
instead and provides dedicated APIs to access the previously data shared via thewatch()
mechanism.Amp\Iterator
,Amp\Emitter
andAmp\Producer
have been added with several functions in theAmp\Iterator
namespace.- Various other changes.
-
v1.2.2 Changes
- ๐ Fix notice in
NativeReactor
when removing a handle while an event is waiting for it. (Regression fix from 1.1.1)
- ๐ Fix notice in
-
v1.2.1 Changes
- ๐ Fix
uv_run()
potentially exiting earlier than intended, leading to an infinite loop inUvReactor::run()
.
- ๐ Fix
-
v1.2.0 Changes
resolve()
now also accepts callables returning generators.
-
v1.1.1 Changes
- ๐ Fix memory leak in
NativeReactor
, retaining an empty array for each stream. - โ Remove circular references in
UvReactor
to avoid garbage collector calls.
- ๐ Fix memory leak in
-
v1.1.0 Changes
- โ Add
getExceptions()
method toCombinatorException
to get an array of all the exceptions (affectingsome()
andfirst()
). - ๐ Fix
NativeReactor
not ending up in stopped state if primary callback didn't install any events.
- โ Add
-
v1.0.8 Changes
- ๐ Fix
NativeReactor
running a busy loop if no timers are active. Properly block now in NativeReactor insidestream_select()
.
- ๐ Fix
-
v1.0.7 Changes
- Several combinator functions could result in a promise already resolved exception in case some values of the array weren't promises.