Releases: statelyai/xstate-tools
Releases · statelyai/xstate-tools
@xstate/cli@0.5.5
Patch Changes
- 0562617: Fixed an issue that could result in loss of information about multiple actions within
invoke.onDone
/invoke.onError
transitions. - 6e6ce3b: Fixed an issue that could accidentally recognize
"undefined"
as a valid action type. - Updated dependencies [0562617]
- Updated dependencies [6e6ce3b]
- @xstate/tools-shared@4.0.2
@xstate/cli@0.5.4
Patch Changes
- 26421cf: Make the
xstate sky
command compatible with more React and TypeScript sources.
@xstate/cli@0.5.3
Patch Changes
- 2635a1c: Alpha test of
xstate sky
command for the upcoming Stately Sky release.
stately-vscode@2.0.0
@xstate/tools-shared@4.0.1
@xstate/machine-extractor@0.12.0
@xstate/tools-shared@4.0.0
Major Changes
- 7c6d347: Introduces
forEachAction
traversal function that takes a state node config and traverses through it and applies a callback to each action. Useful for stubbing actions for use-cases such as choose actions for typegen.
Patch Changes
- Updated dependencies [7c6d347]
- @xstate/machine-extractor@0.11.0
@xstate/machine-extractor@0.11.0
Minor Changes
- 7c6d347: - Drops
{type, value}
structure in favor of simpler values- Changes action structure to accept
kind
and push properties underaction
object - Extracts expressions wrapped in doubly curly braces
{{}}
- Extracts array and object values recursively (previously extracted as expressions)
- Drops using XState types in favor of adding local types for Action, StateNodeConfig, etc
- Makes
id
anddelay
insendTo
actions, optional and doesn't include them in extracted action when not present - Creates specific parser for
SendTo
actions to treat them as builtin actions
- Changes action structure to accept
@xstate/tools-shared@3.0.1
Patch Changes
- Updated dependencies [
807edc7
]:- @xstate/machine-extractor@0.10.0