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…
Release by release
- 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 beundefinedif no value has been emitted yet. - Fixed
Preserve StateMachine type when .withConfig() and .withContext() modifiers are used on a machine.
- New
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.