xstate
5.33.4 · 7 Nov 2026MIT9M / weekRepositoryHomepagenpmAtom feed
Upgrading xstate From 4.31.0 to 4.32.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
Release by release
- New
Added a
StateValueFromhelper that can be used to extract valid state values from a machine. This might specifically be useful with typegen because typegenlessstate.matchesacceptsanyanyway. - Fixed
Removing the timeout that's built in to
waitForis now supported by explicitly passing anInfinityvalue. - Fixed
Fixed an issue with typegen types not being able to provide events that had a union of strings as their
type(such as{ type: 'INC' | 'DEC'; value: number; }). - Fixed
Fixed an issue with
EventFromnot being able to extract events that had a union of strings as theirtype(such as{ type: 'INC' | 'DEC'; value: number; }).
- 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.