xstate
5.33.4 · 7 Nov 2026MIT9M / weekRepositoryHomepagenpmAtom feed
Upgrading xstate From 4.13.0 to 4.14.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
Release by release
- New
Expressions can now be used in the
stop()action creator: - New
Added
statusproperty on theInterpreter- this can be used to differentiate not started, running and stopped interpreters. This property is best compared to values on the newInterpreterStatusexport. - Fixed
The return type of
spawn(machine)will now beActor<State<TContext, TEvent>, TEvent>, which is a supertype ofInterpreter<...>. - Fixed
Exit actions will now be properly called when an invoked machine reaches its final state. See #1109 for more details.
- Fixed
The
state.childrenproperty now properly shows all spawned and invoked actors. See #795 for more details.
- New
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.