Packages

xstate

5.33.4 · 7 Nov 2026MIT9M / weekRepositoryHomepagenpmAtom feed

Upgrading xstate From 4.19.2 to 4.20.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

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

Release by release

  1. 4.20.0

    1 Jun 20211 new · 1 fix
    • New

      All spawned and invoked actors now have a .getSnapshot() method, which allows you to retrieve the latest value emitted from that actor. That value may be undefined if no value has been emitted yet.

    • Fixed

      Preserve StateMachine type when .withConfig() and .withContext() modifiers are used on a 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.