#3783b68f0e8bf Thanks @Andarist! - Fixed an issue with EmittedFrom sometimes not being able to infer the snapshot types from machines.
xstate@4.35.2
Patch Changes
#37458cc70d27e Thanks @viglucci! - Fix types to allow for string state name in service onDone/onError config
xstate@4.35.1
Patch Changes
#371396052976a Thanks @Andarist! - Fixed an issue that prevented events sent from the exit actions of the invoking state to be delivered to the invoked actor (when leaving that state).
xstate@4.35.0
Minor Changes
#3607f95180510 Thanks @davidkpiano! - The createModel(...) function is now marked as deprecated, as it will be removed in XState version 5. It is recommended to use Typegen instead.
Patch Changes
#3677a2ecf97ca Thanks @Andarist! - Fixed an issue with targeted ancestors not being correctly exited when reented during external transitions.
#3623163c25562 Thanks @arromeo! - Fixed an issue with external transitions targeting ancestor states. In such a case, entry actions were incorrectly called on the states between the source state and the target state for states that were not reentered within this transition.
#3677a2ecf97ca Thanks @Andarist! - Fixed an issue with the active descendants of the targeted ancestor not being correctly reentered during external transitions.
#3545b9995f0 Thanks @with-heart! - Updated pure action types to allow action type strings to be returned in the array.
Returning action type strings were already handled by xstate and the types now correctly reflect that.
#36665e0808eb4 Thanks @davidkpiano! - The warning for the predictableActionArguments setting has been improved to only warn if it is absent. You can disable the warning by setting predictableActionArguments: false. It's still recommended to set it to true though.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps xstate from 4.30.0 to 4.35.3.
Release notes
Sourced from xstate's releases.
... (truncated)
Commits
131b4ba
Version Packages (#3774)8781586
[xstate/react] AddcreateActorContext
to React docs (#3792)8c48805
Add@xstate/solid
(#2932)f12248b
[xstate/react] AddcreateActorContext()
(#3778)c7cd5aa
Revert "Runpull_request
workflow on its latest commit (#3490)" (#3789)b68f0e8
Fixed an issue withEmittedFrom
sometimes not being able to infer the snaps...513c004
docs: add missing comma (#3779)cea609c
UsepredictableActionArguments
flag in thecreateInspectMachine
to avoid ...aad4991
Version Packages (#3760)4190c3f
Fixed how the initial state of a service is read by theuseActor
hook (#3752)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)