Update dependency xstate to v5.24.0 #248
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
5.20.0->5.24.0Release Notes
statelyai/xstate (xstate)
v5.24.0Compare Source
Minor Changes
#5371
b8ec3b1Thanks @davidkpiano! - Addsetup.extend()method to incrementally extend machine setup configurations with additional actions, guards, and delays. This enables composable and reusable machine setups where extended actions, guards, and delays can reference base actions, guards, and delays and support chaining multiple extensions:v5.23.0Compare Source
Minor Changes
#5387
53dd7f1Thanks @farskid! - Addssystem.getAllthat returns a record of running actors within the system by their system idv5.22.1Compare Source
Patch Changes
#5379
98f9dddThanks @davidkpiano! - Makeactor.systemIdpublic:#5380
e7e5e44Thanks @Nirajkashyap! - fix: remove 'eventType' from required fields in initialTransitionObjectv5.22.0Compare Source
Minor Changes
#5367
76c857eThanks @davidkpiano! - Add type-bound action helpers tosetup():createAction(fn)– create type-safe custom actionssetup().assign(...),setup().sendTo(...),setup().raise(...),setup().log(...),setup().cancel(...),setup().stopChild(...),setup().enqueueActions(...),setup().emit(...),setup().spawnChild(...)– setup-scoped helpers that are fully typed to the setup's context/events/actors/guards/delays/emitted.These helpers return actions that are bound to the specific
setup()they were created from and can be used directly in the machine produced by that setup.v5.21.0Compare Source
Minor Changes
#5364
15e15b5Thanks @davidkpiano! - Added.createStateConfig(…)to the setup API. This makes it possible to create state configs that are strongly typed and modular.v5.20.2Compare Source
Patch Changes
#5351
71387ffThanks @davidkpiano! - Fix: Emit callback errors no longer crash the actorv5.20.1Compare Source
Patch Changes
9a0ae82Thanks @sfc-gh-dperezalvarez! - ExportedInspectedActionEventtypeConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.