Packages

xstate

5.33.4 · 7 Nov 2026MIT9M / weekRepositoryHomepagenpmAtom feed

Upgrading xstate From 4.31.0 to 4.32.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

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

Release by release

  1. 4.32.0

    6 May 20221 new · 7 fixes
    • New

      Added a StateValueFrom helper that can be used to extract valid state values from a machine. This might specifically be useful with typegen because typegenless state.matches accepts any anyway.

    • Fixed

      Removing the timeout that's built in to waitFor is now supported by explicitly passing an Infinity value.

    • Fixed

      Fixed an issue with typegen types not being able to provide events that had a union of strings as their type (such as { type: 'INC' | 'DEC'; value: number; }).

    • Fixed

      Fixed an issue with EventFrom not being able to extract events that had a union of strings as their type (such as { type: 'INC' | 'DEC'; value: number; }).

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.