Packages

xstate

5.33.4 · 7 Nov 2026MIT9M / weekRepositoryHomepagenpmAtom feed

Upgrading xstate From 4.12.0 to 4.13.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

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

Release by release

  1. 4.13.0

    27 Aug 20204 fixes
    • Fixed

      Fix type ExtractStateValue so that it generates a type actually describing a State.value

    • Fixed

      Improved TypeScript type-checking performance a little bit by using distributive conditional type within TransitionsConfigArray declarations instead of a mapped type. Kudos to @amcasey, some discussion around this can be found here

    • Fixed

      Fixed an issue with not being able to run XState in Web Workers due to assuming that window or global object is available in the executing environment, but none of those are actually available in the Web Workers context.

    • Fixed

      Fixed an issue with spawned actors being spawned multiple times when they got spawned in an initial state of a child machine that is invoked in the initial state of a parent machine.

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.