Skip to content

3.0.0

Choose a tag to compare

@GrahamCampbell GrahamCampbell released this 20 Jul 13:45
· 6 commits to 3.0 since this release
d961a21

Added

  • Added concurrency config support to Utils::all() and Each::of()
  • Added generic PHPDoc annotations to promise APIs and collection callbacks
  • Added recursive and concurrency config support to Utils::settle()
  • Allowed promises to be resolved without passing a value

Changed

  • Changed Utils::inspect() to return actual rejection reasons
  • Changed Utils::inspect() to prefer the settled state over late wait function exceptions
  • Changed late rejection callbacks to follow rejected promises
  • Reject native PHP serialization of in-flight runtime objects
  • Made static helper classes non-instantiable
  • Require iterable inputs for promise collection helpers and EachPromise
  • Iterate IteratorAggregate inputs to collection helpers instead of treating them as a single value
  • Improved recursive Utils::all() handling of dynamically-added settled values and raw values

Removed

  • Dropped support for PHP 7.2 and 7.3