Packages

xstate

5.33.4 · 7 Nov 2026MIT9M / weekRepositoryHomepagenpmAtom feed

Upgrading xstate From 4.22.0 to 4.23.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 4.22.0Newest 4.x4.38.3Latest5.33.4
  1. 4.22.0yours
  2. 4.23.0target
0
changes to make
0
advisories fixed
4
new
1
fix

Release by release

  1. 4.23.0

    16 Jul 20214 new · 1 fix
    • New

      There is a new .preserveActionOrder (default: false) setting in the machine configuration that preserves the order of actions when set to true. Normally, actions are executed in order except for assign(...) actions, which are prioritized and executed first. When .preserveActionOrder is set to true, assign(...) actions will not be prioritized, and will instead run in order. As a result, actions will capture the intermediate context values instead of the resulting context value from all assign(...) actions.

    • New

      Add type for Symbol.observable to the Interpreter to improve the compatibility with RxJS.

    • New

      ContextFrom<T> which extracts the context from any type that uses context

    • New

      EventFrom<T> which extracts the event type (which extends EventObject) from any type which uses events

    • Fixed

      Existing actors can now be identified in spawn(...) calls by providing an id. This allows them to be referenced by string:

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.