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…
Release by release
- 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
exitactions 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
forwardToaccidentally ends up trying to forward an event to an undefined actor. Such a situation indicates a logical error and risks an infinite loop.
- New
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.