Skip to content

1.3.0

Choose a tag to compare

@trowski trowski released this 23 Feb 15:40
346d3f5
  • PHP 7.1+ now required.
  • Improved cleanup of temporary files for IPC server (#82).
  • Improved error message when a callable cannot be autoloaded (#83).
  • Added ContextPanicError which extends the now-deprecated PanicError. This class contains improved methods for retrieving the original class name, exception message, code, and flattened stack trace of exceptions thrown in the child process or thread.
  • Added TaskFailureException and TaskFailureError, extending TaskException and TaskError respectively, which are now deprecated, to improve error reporting from workers. These classes are similar to ContextPanicError with improvements to retrieving information about the original exception.
  • Added ContextFactory and functions Amp\Parallel\Context\create() and Amp\Parallel\Context\run() to create a context automatically based on installed extensions (i.e., a child process or a thread if ext-parallel is installed).
  • Fixed killing a child process if starting the process failed (#96).