Skip to content

Releases: amphp/amp

2.5.1

03 Nov 16:29
ecdc3c4
Compare
Choose a tag to compare
  • Fixed issue where cancelling timer watchers in NativeDriver could result in timers being executed out of order (#332)
  • Fixed 100% CPU usage in NativeDriver when only signal watchers were enabled

2.5.0

14 Jul 21:54
v2.5.0
Compare
Choose a tag to compare
  • 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

2.4.4

30 Apr 05:01
v2.4.4
Compare
Choose a tag to compare
  • 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

2.4.3

19 Apr 15:59
v2.4.3
Compare
Choose a tag to compare
  • Improved types for Amp\call
  • Improved types for Deferred::resolve() (#307)

2.4.2

04 Apr 15:11
v2.4.2
feca077
Compare
Choose a tag to compare
  • Provide useful exception trace in TimeoutCancellationToken (#303)
  • Add parameter for custom timeout message (#299)
  • Add psalm annotations for improved static analysis

2.4.1

13 Feb 23:20
2ac3b55
Compare
Choose a tag to compare
  • Fixed undefined index warning when stream_select() fails but error_get_last() returns null.

2.4.0

11 Nov 19:37
v2.4.0
Compare
Choose a tag to compare
  • 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.

2.3.2

26 Oct 14:34
v2.3.2
Compare
Choose a tag to compare
  • Fixed cancellation trace recording in TracingDriver

2.3.1

01 Oct 19:49
v2.3.1
Compare
Choose a tag to compare
  • Fixed TracingDriver not overriding all methods.

2.3.0

01 Oct 19:10
v2.3.0
1657284
Compare
Choose a tag to compare
  • 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.