Packages

xstate

5.33.4 · 7 Nov 2026MIT9M / weekRepositoryHomepagenpmAtom feed

Your version

5.20.0

19 Jun 2025Where it was published

5.33.4 is the newest release of 5.x.

In short

1 new

Release note

Minor Changes

  • The graph and model-based testing utilities from @xstate/graph (and @xstate/test previously) were moved to the core xstate package.

    import { createMachine } from 'xstate';
    import { getShortestPaths } from 'xstate/graph';
    
    const machine = createMachine({
      // ...
    });
    
    const paths = getShortestPaths(machine, {
      fromState: 'a',
      toState: 'b'
    });

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.