xstate
5.33.4 · 7 Nov 2026MIT9M / weekRepositoryHomepagenpmAtom feed
Your version
4.38.3 is the newest release of 4.x.
In short
1 new1 fixed
Release note
Minor Changes
The machine can now be safely JSON-serialized, using
JSON.stringify(machine). The shape of this serialization is defined inmachine.schema.jsonand reflected inmachine.definition.Note that
onEntryandonExithave been deprecated in the definition in favor ofentryandexit.
Patch Changes
Fixed memory leak -
Stateobjects had been retained in closures.
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.