Packages

xstate

5.33.4 · 7 Nov 2026MIT9M / weekRepositoryHomepagenpmAtom feed

Upgrading xstate From 4.34.0 to 4.35.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 4.34.0Newest 4.x4.38.3Latest5.33.4
  1. 4.34.0yours
  2. 4.35.0target
0
changes to make
0
advisories fixed
1
new
5
fixes

Release by release

  1. 4.35.0

    5 Dec 20221 new · 5 fixes
    • New

      The createModel(...) function is now marked as deprecated, as it will be removed in XState version 5. It is recommended to use Typegen instead.

    • Fixed

      Fixed an issue with targeted ancestors not being correctly exited when reented during external transitions.

    • Fixed

      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.

    • Fixed

      Fixed an issue with the active descendants of the targeted ancestor not being correctly reentered during external transitions.

    • Fixed

      Updated pure action types to allow action type strings to be returned in the array.

    • Fixed

      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.

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.