Releases: statelyai/xstate-tools
Releases · statelyai/xstate-tools
@xstate/[email protected]
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/[email protected]
@xstate/[email protected]
Patch Changes
- 26421cf: Make the
xstate sky
command compatible with more React and TypeScript sources.
@xstate/[email protected]
Patch Changes
- 2635a1c: Alpha test of
xstate sky
command for the upcoming Stately Sky release.
[email protected]
@xstate/[email protected]
Patch Changes
- Updated dependencies [5d47848]
- Updated dependencies [d885182]
- @xstate/[email protected]
@xstate/[email protected]
@xstate/[email protected]
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/[email protected]
@xstate/[email protected]
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/[email protected]
Patch Changes
- Updated dependencies [
807edc7
]:- @xstate/[email protected]