Skip to content

v1.1.0

Compare
Choose a tag to compare
@nibble-4bits nibble-4bits released this 19 Sep 02:40
· 86 commits to develop since this release
  • 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.