Releases: nibble-4bits/aws-local-stepfunctions
Releases · nibble-4bits/aws-local-stepfunctions
v2.0.1
- Bumps rollup from 4.18.0 to 4.27.2 (#95) to mitigate CVE-2024-47068
- Bumps jsonpath-plus and asl-validator (#96) to mitigate CVE-2024-21534
- Updates dependencies to latest version with
npm update
v2.0.0
v1.3.1
- Adds new
-r, --override-retryoption to the CLI, to allow overriding the pause duration of aRetryfield in a state.
v1.3.0
- Adds support for passing array or primitive values to
ParametersandResultSelectorfields. - Support new
retryIntervalOverridesoption, which allows specifying a time in milliseconds, or an array of numbers, that overrides the pause duration of a state'sRetryfield. - Prepopulates Context Object with
$$.Execution.Inputand$$.Execution.StartTimefields, as described by the AWS docs.
v1.2.0
- Adds support for
TimeoutSecondsandTimeoutSecondsPathfields ofTaskstate. - Adds support for
ItemProcessor,ItemSelector, andMaxConcurrencyPathfields ofMapstate. - Adds support for
MaxDelaySecondsandJitterStrategyfields of Retriers. - Adds support for
ErrorPathandCausePathfields ofFailstate.
v1.1.0
- Add validations to verify if the result of a JSONPath evaluation complies with certain constraints. Otherwise a
States.Runtimeerror is thrown and the state machine fails. - Add 3 new types of event logs:
StateFailed: produced when a state fails.StateRetried: produced when a failed state that has aRetryfield is retried.StateCaught: produced when a failed state that has aCatchfield is caught.
- Set
Causefield inExecutionFailedevent 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-stepfunctionsin a browser environment and an AWS config is not passed. - Add new
noValidateoption forStateMachineconstructor. When enabled, validation of the state machine definition is completely turned off. - Add
--no-validateCLI option to completely disable state machine definition. - Add a
typesfield toexportsfield inpackage.jsonto support TypeScript'sNode16andBundlermodule resolutions. - Export the
StateMachineDefinition,StateMachineOptions, andRunOptionstypes 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
Choicestate choice rules. - Other minor/internal improvements.
v1.0.0
- 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
setTimeoutlingered after execution was aborted, and aWaitstate within aMaporParallelstate was running. - Fixes bug where
Promisein Node.js never resolved after execution was aborted, because it never resolved. - Sets node
engineversion to>=16.0.0. - Other minor/internal improvements.
v0.7.0
- Implement command-line interface for
aws-local-stepfunctions. - Don't validate state machine when executing a
MaporParallelstate. This improves execution speed, especially when running multiple concurrent executions. - Fix bug where referencing a context value in a nested object in the
Parametersfield would returnundefined.
v0.6.0
- Add support for
TimeoutSecondsstate machine top-level field. - Add support for all of the intrinsic functions defined in the specification.
v0.5.0
- Add support for
Parallelstates. - Add support for passing AWS credentials to be able to invoke Lambda functions in
Taskstates.- The following credential types are supported:
- Cognito Identity Pools.
- Access Key ID, Secret Access Key and optional Session Token.
- The following credential types are supported:
- Implement browser support.