Packages

xstate

5.33.4 · 7 Nov 2026MIT9M / weekRepositoryHomepagenpmAtom feed

Upgrading xstate From 4.23.1 to 4.23.2

1 release in betweenevery note read

Reading releases, release notes and advisories…

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

Release by release

  1. 4.23.2

    30 Aug 20211 new · 6 fixes
    • New

      Add utility type EmittedFrom<T> that extracts Emitted type from any type which can emit data

    • Fixed

      Widened the *From utility types to allow extracting from factory functions.

    • Fixed

      The custom .toString() method on action objects is now removed which improves performance in larger applications (see #2488 for more context).

    • Fixed

      The context property has been removed from StateNodeConfig, as it has never been allowed, nor has it ever done anything. The previous typing was unsafe and allowed context to be specified on nested state nodes:

    • Fixed

      A race condition occurred when a child service is immediately stopped and the parent service tried to remove it from its undefined state (during its own initialization). This has been fixed, and the race condition no longer occurs. See this issue for details.

    • Fixed

      Adjusted TS type definitions of the withContext and withConfig methods so that they accept "lazy context" now.

    • Fixed

      Fixed an issue with state.hasTag('someTag') crashing when the state was rehydrated.

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.