Zenaton Php Versions Save

? PHP library to run and orchestrate background jobs with Zenaton Workflow Engine.

0.6.1

4 years ago

Fixed

  • Fixed a possible error when API does not return errors in a correct format.

0.6.0

4 years ago

Changed

  • Dispatch of tasks and workflows are now done using the API instead of a local agent.
  • Pause, Resume and Kill workflows are now done using the API instead of a local agent.
  • Send event to workflow is now done using the API instead of a local agent.
  • Find workflow is now done using the API instead of a local agent.

0.5.1

4 years ago

Added

  • Added custom_id argument for workflow schedule.

0.5.0

4 years ago

Changed

  • Method Zenaton\Traits\Zenatonable::schedule() now has a return type of void instead of Zenaton\Model\Scheduling\Schedule.

0.4.0

4 years ago

Added

  • Added an intent_id property when dispatching workflows and tasks, sending events to workflows, and pausing/resuming/killing workflows.
  • Added a ::getContext() method in Zenatonable trait that is able to retrieve the runtime context of the workflow or task currently being executed.

Changed

  • Changed Properties class to never serialize the context property from tasks and workflows.

0.3.4

4 years ago

Added

  • Added event_data property when sending event.

Removed

  • Removed dependency vlucas/phpdotenv.

0.3.3

5 years ago

Fixed

  • Fixed an error when serializing objects having a private ::__clone() method.

0.3.2

5 years ago

Changed

  • Serialization of resources now results in the integer 0 instead of throwing an exception in order to be consistent with the behavior of the PHP serialize function.

0.3.1

5 years ago

Fixed

  • Fixed an issue with the serializer not serializing private properties defined in parent classes of the object to serialize. (#33)
  • Fixed an issue with the serializer adding extra properties to objects implementing Traversable interface.

0.3.0

5 years ago

Changes

Added

  • Added this changelog.
  • Added unit tests.
  • Added PHP CS Fixer config file and run it on all the codebase.

Changed

  • Client::findWorkflow() now returns null instead of throwing an exception when the workflow cannot be found.
  • Using Zenatonable::dispatch() on a task outside of a workflow now dispatches the task execution instead of executing it synchronously.
  • Changed Client::ZENATON_API_URL constant value to https://api.zenaton.com/v1.

Fixed

  • Client now properly encode parameters sent in query strings.
  • Zenaton\Workflow\Version class is now aliased to avoid namespace shadowing bug in PHP 5.6. See https://bugs.php.net/bug.php?id=66862.
  • Wait::monday() when already a monday will now wait for the next monday instead of expiring immediately, except when a specific time is set with ::at() and is not already past. This behavior is also implemented in related methods ::tuesday(), ::wednesday(), ::thursday(), ::friday(), ::saturday() and ::sunday(), and also in the ::dayOfMonth() method.