Zenaton Node Versions Save

⚡ Node.js library to run and orchestrate background jobs with Zenaton Workflow Engine

v0.8.0

4 years ago

Changed

  • Change the ZENATON LAST_CODE_PATH to serverless.
  • Use the GraphQL API v2 for the serverless code path.

v0.7.4

4 years ago

Fixed

  • Fixed selector query input.

v0.7.3

4 years ago

Added

  • Return an exception when the user gives a non standard Zenaton connector ID.
  • Added the ability to use this.log(obj), this.random(), this.date() in a workflow.
  • Introduced getFirstFromCanonical and getLastFromCanonical function in WorkflowManager

Changed

  • Require the ZENATON_CODE_PATH dynamically depending the ZENATON_LAST_CODE_PATH.
  • Updated Versioner in yield and serverless code path to return also the original name
  • Update behavior of get function in WorkflowManager
  • Changed the decode method to accept JSON of the yield Serializer.

v0.7.2

4 years ago

Added

  • Added auto publish to npm when creating a GitHub release.
  • Added serverless code_path.

Fixed

  • Fixed the schedule function that returned an useless Promise.

v0.7.1

4 years ago

Fixed

  • Add customId for scheduled workflow in new syntax

0.7.0

4 years ago

0.7.0 - 2019-09-28

Added

  • Major overhaul of the library: use of generators and new syntax
  • Added custom_id argument for workflow schedule.
  • Tasks and workflows scheduling in new syntax.
  • Added an input key for dispatch workflow and schedule workflow.

Changed

  • Default timezone with new syntax is now UTC.
  • Time/Duration methods don't have anymore 1 as default value.
  • Time/Duration methods can't be stacked, works now like mutators.
  • Better uses of capitalize convention: initial caps limited to constructors
  • Changed data value for dispatch workflow and schedule workflow to empty object.
  • Replace kill per `terminate``

Deprecated

Removed

  • Use of Array as parralel
  • Parallel methods

Fixed

Security

v0.6.4

4 years ago

Added

  • Adding a prepublish hook for lint, test and build

Changed

  • Upgrade of all dependencies to major version

Security

  • Update the version of set-value package
  • Update the version of mixin-deep package

v0.6.1

4 years ago

Security

  • Update the version of eslint-utils

v0.6.0

4 years ago

Added

  • Added a intent_id property when dispatching workflows and tasks, sending events to workflows, and pausing/resuming/killing workflows.
  • Added context setter and getter in Task and Workflow abstract class that is able to retrieve the runtime context of the workflow or task currently being executed.

Changed

  • Changed scheduling requests that pass now through the gateway (GraphQL API).
  • Changed scheduling syntax from x.repeat("* * * * *").schedule() to x.shedule("* * * * *").

0.5.7

4 years ago

Added

  • Prepare capacity to schedule workflows and single tasks (CRON based).

Fixed

  • Update dependencies to fix security issues with package js-yaml.
  • Fix #41 Modification of Wait's parameters during a workflow execution does not trigger a ModifiedDecisionException
  • Fix #45 Wait months method issue