Releases: nibble-4bits/aws-local-stepfunctions
Releases · nibble-4bits/aws-local-stepfunctions
v2.0.0
v1.3.1
- Adds new
-r, --override-retry
option to the CLI, to allow overriding the pause duration of aRetry
field in a state.
v1.3.0
- Adds support for passing array or primitive values to
Parameters
andResultSelector
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'sRetry
field. - Prepopulates Context Object with
$$.Execution.Input
and$$.Execution.StartTime
fields, as described by the AWS docs.
v1.2.0
- Adds support for
TimeoutSeconds
andTimeoutSecondsPath
fields ofTask
state. - Adds support for
ItemProcessor
,ItemSelector
, andMaxConcurrencyPath
fields ofMap
state. - Adds support for
MaxDelaySeconds
andJitterStrategy
fields of Retriers. - Adds support for
ErrorPath
andCausePath
fields ofFail
state.
v1.1.0
- 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:
StateFailed
: produced when a state fails.StateRetried
: produced when a failed state that has aRetry
field is retried.StateCaught
: produced when a failed state that has aCatch
field is caught.
- Set
Cause
field inExecutionFailed
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 forStateMachine
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 toexports
field inpackage.json
to support TypeScript'sNode16
andBundler
module resolutions. - Export the
StateMachineDefinition
,StateMachineOptions
, andRunOptions
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
- 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 aWait
state within aMap
orParallel
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
- Implement command-line interface for
aws-local-stepfunctions
. - Don't validate state machine when executing a
Map
orParallel
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 returnundefined
.
v0.6.0
- Add support for
TimeoutSeconds
state machine top-level field. - Add support for all of the intrinsic functions defined in the specification.
v0.5.0
- 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.
- The following credential types are supported:
- Implement browser support.
v0.4.0
- Add support for
Retry
andCatch
fields. - Add support for predefined error codes.
- Throw error on state machine execution failure.
- Improve
Task
state execution performance by creating aLambdaClient
instance only when local override is not used. - Don't minify build output.
- Target ES2021 features instead of ES2015.