Packages

xstate

5.33.4 · 7 Nov 2026MIT9M / weekRepositoryHomepagenpmAtom feed

Upgrading xstate From 4.32.1 to 4.33.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

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

Release by release

  1. 4.33.0

    5 Aug 20224 new · 4 fixes
    • New

      XState will always call an action with the event directly responsible for the related transition,

    • New

      You also automatically opt-into preserveActionOrder.

    • New

      All exit actions in the machine will now be correctly resolved and executed when a machine gets stopped or reaches its top-level final state. Previously, the actions were not correctly resolved and that was leading to runtime errors.

    • New

      Added a dev-only error when forwardTo accidentally ends up trying to forward an event to an undefined actor. Such a situation indicates a logical error and risks an infinite loop.

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.