xstate
5.33.4 · 7 Nov 2026MIT9M / weekRepositoryHomepagenpmAtom feed
Your version
5.33.4 is the newest release of 5.x.
In short
1 fixed
Release note
Patch Changes
Fixed a bug where targeting a history state that is a direct child of a
parallelstate would silently do nothing when that parallel state had not been visited yet and the history state had no default target. The machine now enters the parallel state's initial configuration, matching the behavior of history states inside compound states.const machine = createMachine({ initial: 'off', states: { off: { on: { GO: 'on.hist' } }, on: { type: 'parallel', states: { regA: { initial: 'a1', states: { a1: {}, a2: {} } }, regB: { initial: 'b1', states: { b1: {}, b2: {} } }, hist: { type: 'history', history: 'deep' } } } } }); const actor = createActor(machine).start(); actor.send({ type: 'GO' }); actor.getSnapshot().value; // { on: { regA: 'a1', regB: 'b1' } }
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.