xstate
5.33.4 · 7 Nov 2026MIT9M / weekRepositoryHomepagenpmAtom feed
Upgrading xstate From 4.8.0 to 4.9.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
Release by release
- New
Simplify the
TransitionConfigArrayandTransitionConfigMaptypes in order to fix excessively deep type instantiation TypeScript reports. This addresses #1015. - New
Added support for conditional actions. It's possible now to have actions executed based on conditions using following:
- Fixed
Cleanup internal structures upon receiving termination events from spawned actors.
- Fixed
Fixed an issue with data expressions of root's final nodes being called twice.
- Fixed
Loosened event type for
SendAction<TContext, AnyEventObject>
- New
3 other lines we could not sort, mostly version bumps
- 4.9.0
Cloned state machine returned by
.withConfig. - 4.9.0
.stategetter defined for services. - 4.9.0
startmethod of services.
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.