xstate
5.33.4 · 7 Nov 2026MIT9M / weekRepositoryHomepagenpmAtom feed
Upgrading xstate From 4.20.2 to 4.22.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
- 0
- changes to make
- 0
- advisories fixed
- 3
- new
- 0
- fixes
Release by release
- New
The model created from
createModel(...)now provides a.createMachine(...)method that does not require passing any generic type parameters: - New
Actors can now be invoked/spawned from reducers using the
fromReducer(...)behavior creator: - New
Actors can now be spawned directly in the initial
machine.contextusing lazy initialization, avoiding the need for intermediate states and unsafe typings for immediately spawned actors:
- 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.