Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 1.1.0 #72

Merged
merged 63 commits into from
Sep 19, 2023
Merged

Release 1.1.0 #72

merged 63 commits into from
Sep 19, 2023

Conversation

nibble-4bits
Copy link
Owner

  • Fix bug where Context Object was not taken into account when evaluating JSONPaths defined in a Choice state choice rules (Pass Context Object to JsonPath evaluation in Choice rules #64).
  • Sets 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 (Feature/lambda error cause #65).
  • Provides better error messages when using aws-local-stepfunctions in a browser environment and an AWS config is not passed (Feature/lambda error cause #65).
  • Adds a types field to exports field in package.json to support TypeScript's Node16 and Bundler module resolutions (Refactor 13 #66).
  • Export the StateMachineDefinition, StateMachineOptions, and RunOptions types from the API for TypeScript users (Refactor 13 #66).
  • Allow passing non-async functions to task state overrides (Refactor 13 #66).
  • Adds 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 (Fix/jsonpath invalid evaluation #68).
  • Adds 3 new type of event logs (Feature/StateFailed, StateRetried, StateCaught event logs #69):
    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.
  • Adds new noValidate option for StateMachine constructor. When enabled, validation of the state machine definition is completely turned off (Feature/no validate option #70).
  • Adds --no-validate CLI option to completely disable state machine definition (Refactor 14 #71).
  • Other minor/internal improvements.

…ce-rules

Pass Context Object to JsonPath evaluation in Choice rules
…-caught-event-logs

Feature/StateFailed, StateRetried, StateCaught event logs
It was previously meant for internal use only
@nibble-4bits nibble-4bits merged commit 998905b into master Sep 19, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant