xstate
5.33.4 · 7 Nov 2026MIT9M / weekRepositoryHomepagenpmAtom feed
Your version
4.38.3 is the newest release of 4.x.
In short
1 new2 fixed
Release note
Minor Changes
Added interop observable symbols to
ActorRefso that actor refs are compatible with libraries like RxJS.
Patch Changes
Generated IDs for invocations that do not provide an
idare now based on the state ID to avoid collisions:createMachine({ id: 'test', initial: 'p', states: { p: { type: 'parallel', states: { // Before this change, both invoke IDs would be 'someSource', // which is incorrect. a: { invoke: { src: 'someSource' // generated invoke ID: 'test.p.a:invocation[0]' } }, b: { invoke: { src: 'someSource' // generated invoke ID: 'test.p.b:invocation[0]' } } } } } });The
sendTo(actorRef, event)action creator introduced in4.27.0, which was not accessible from the package exports, can now be used just like other actions:import { actions } from 'xstate'; const { sendTo } = actions;
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.