Skip to content

Releases: nibble-4bits/aws-local-stepfunctions

v2.0.0

28 May 02:07
Compare
Choose a tag to compare
  • Required Node engine has been updated to >=18.0.0.
  • All other changes are internal improvements. To see the full list of changes, see PR #94.

v1.3.1

29 Dec 00:52
Compare
Choose a tag to compare
  • Adds new -r, --override-retry option to the CLI, to allow overriding the pause duration of a Retry field in a state.

v1.3.0

13 Dec 02:48
Compare
Choose a tag to compare
  • Adds support for passing array or primitive values to Parameters and ResultSelector fields.
  • Support new retryIntervalOverrides option, which allows specifying a time in milliseconds, or an array of numbers, that overrides the pause duration of a state's Retry field.
  • Prepopulates Context Object with $$.Execution.Input and $$.Execution.StartTime fields, as described by the AWS docs.

v1.2.0

14 Nov 05:21
Compare
Choose a tag to compare
  • Adds support for TimeoutSeconds and TimeoutSecondsPath fields of Task state.
  • Adds support for ItemProcessor, ItemSelector, and MaxConcurrencyPath fields of Map state.
  • Adds support for MaxDelaySeconds and JitterStrategy fields of Retriers.
  • Adds support for ErrorPath and CausePath fields of Fail state.

v1.1.0

19 Sep 02:40
Compare
Choose a tag to compare
  • Add validations to verify if the result of a JSONPath evaluation complies with certain constraints. Otherwise a States.Runtime error is thrown and the state machine fails.
  • Add 3 new types of event logs:
    1. StateFailed: produced when a state fails.
    2. StateRetried: produced when a failed state that has a Retry field is retried.
    3. StateCaught: produced when a failed state that has a Catch field is caught.
  • Set Cause field in ExecutionFailed event to the error result returned by the Lambda function when invocation fails, to be more consistent with the GetExecutionHistory action of the Step Functions API.
  • Provide better error messages when using aws-local-stepfunctions in a browser environment and an AWS config is not passed.
  • Add new noValidate option for StateMachine constructor. When enabled, validation of the state machine definition is completely turned off.
  • Add --no-validate CLI option to completely disable state machine definition.
  • Add a types field to exports field in package.json to support TypeScript's Node16 and Bundler module resolutions.
  • Export the StateMachineDefinition, StateMachineOptions, and RunOptions types from the API for TypeScript users.
  • Allow passing non-async functions to task state overrides.
  • Fix bug where Context Object was not taken into account when evaluating JSONPaths defined in a Choice state choice rules.
  • Other minor/internal improvements.

v1.0.0

04 Sep 03:34
Compare
Choose a tag to compare
  • Adds support for logging and retrieving execution events while an execution is running.
  • Adds support for passing a custom context object to execution as an option.
  • Adds support for passing a single, multiline JSON value as input to the CLI.
  • Fixes bug where setTimeout lingered after execution was aborted, and a Wait state within a Map or Parallel state was running.
  • Fixes bug where Promise in Node.js never resolved after execution was aborted, because it never resolved.
  • Sets node engine version to >=16.0.0.
  • Other minor/internal improvements.

v0.7.0

31 May 02:48
Compare
Choose a tag to compare
  • Implement command-line interface for aws-local-stepfunctions.
  • Don't validate state machine when executing a Map or Parallel state. This improves execution speed, especially when running multiple concurrent executions.
  • Fix bug where referencing a context value in a nested object in the Parameters field would return undefined.

v0.6.0

04 May 03:41
Compare
Choose a tag to compare
  • Add support for TimeoutSeconds state machine top-level field.
  • Add support for all of the intrinsic functions defined in the specification.

v0.5.0

19 Apr 03:14
Compare
Choose a tag to compare
  • Add support for Parallel states.
  • Add support for passing AWS credentials to be able to invoke Lambda functions in Task states.
    • The following credential types are supported:
      • Cognito Identity Pools.
      • Access Key ID, Secret Access Key and optional Session Token.
  • Implement browser support.

v0.4.0

09 Apr 16:35
Compare
Choose a tag to compare
  • Add support for Retry and Catch fields.
  • Add support for predefined error codes.
  • Throw error on state machine execution failure.
  • Improve Task state execution performance by creating a LambdaClient instance only when local override is not used.
  • Don't minify build output.
  • Target ES2021 features instead of ES2015.