-
v3.0.0-beta.4
v3.0.0-beta.4 - Mark `Future` template parameter as covariant - Add compatibility with `revolt/event-loop` v0.2.x - Improve exception message of `UnhandledFutureError` - Cancel `DeferredCancellation` when destroyed (#382) - Rename combinators, introduce `CompositeLengthException` (#383) - `race` → `awaitFirst` - `any` → `awaitAny` - `some` → `awaitAnyN` - `settle` → `awaitAll` - `all` → `await` - The old names have been kept for a migration phase, but will be removed before the final v3 release.
-
v3.0.0-beta.3
v3.0.0-beta.3 - Add optional args to `Amp\async` (#379)
-
v3.0.0-beta.2
v3.0.0-beta.2 - Fixed `revolt/event-loop` dependency to use released `^0.1` version.
-
v2.6.1
v2.6.1 - Fixed destructor issue in `EventDriver` (#358) - Fixed `EventDriver` feature configuration to work with different kinds of FDs, e.g. under certain conditions in docker containers (#360)
-
v2.6.0
v2.6.0 - Add `Deferred::isResolved()` - Implement except handling on Windows (#341) - Drop PHP 7.0 support
-
v2.5.2
v2.5.2 - Ignore only `stream_select` errors due to signal interruptions (#338) Fixes `stream_select` handling on signal interruptions on PHP 8 and avoids suppressing errors that shouldn't be suppressed. - Improve type definition for combinators (any, first, some) (#334) - Removed internal `TimerQueueEntry`
-
v2.5.0
v2.5.0 - Add `Amp\Iterator\discard()` (#315) - Fix potential warning on shutdown in UvDriver - Fix repeat watchers in `NativeDriver` that are disabled and re-enabled during callback invocation (#325) - Fix timer intervals being counted from timer creation instead of last tick time (#319) - `Loop::now()` / `Driver::now()` is no longer cached in each tick
-
v2.4.4
v2.4.4 - Fixed `Delayed::reference()` / `Delayed::unreference()` after the promise resolved - Changed return type of `Delayed::reference()` / `Delayed::unreference()` to `self` to allow fluid API usage - Add generics for `Amp\Promise\wait` - Improved types for `Amp\call` / `Amp\coroutine`
-
v2.4.3
v2.4.3 - Improved types for `Amp\call` - Improved types for `Deferred::resolve()` (#307)
-
v2.4.2
v2.4.2 - Provide useful exception trace in TimeoutCancellationToken (#303) - Add parameter for custom timeout message (#299) - Add psalm annotations for improved static analysis
-
v2.4.0
v2.4.0 - Added `getCurrentTime()` as public API, providing millisecond timestamps for runtime measurements with special support for 32 bit systems. Returned timestamps are relative to an arbitrary point in time, so this API is only suitable to compare two timestamps generated in the same process.
-
v2.3.2
v2.3.2 - Fixed cancellation trace recording in `TracingDriver`
-
v2.3.1
v2.3.1 - Fixed `TracingDriver` not overriding all methods.
-
v2.3.0
v2.3.0 - Added `TracingDriver` to debug (hanging) tests / applications. The environment variable `AMP_DEBUG_TRACE_WATCHERS=true` can be set to automatically create a `TracingDriver` wrapping the actual driver. `TracingDriver::dump()` can be used to dump all enabled, referenced watchers keeping the loop running.
-
v2.2.1
v2.2.1 - Fixed backpressure release on `Emitter::emit()`, the backpressure is now released as soon as the value is consumed, instead of the next value being requested.
-
v2.2.0
v2.2.0 - Added `CombinedCancellationToken` - Added `delay()` as shortcut for `new Delayed`