XState xstate@6.0.0-beta.2
This beta changes serialized snapshot and related output field names to avoid `$` and `_` prefixes, while retaining compatibility when restoring snapshots written by beta.1. It also adds durable checkpoints that preserve transition progress and queued root events, alongside fixes for FSM behavior, typing, snapshot retention, and inspector event reporting.
Users persisting or validating snapshots and consumers of serialized actor references or effect descriptors are affected by the renamed fields; durable execution users can use the new checkpoint format to preserve queued events across restoration.
Update persisted-snapshot validation schemas to the new field names and use `durable.checkpoint(snapshot)` when checkpointing durable executions that need to preserve queued root events.
- 01Update schemas that validate persisted snapshots, including schemas using `machineVersions`, to use the new serialized field names.
// Before
{ $actor: 'order/worker', incarnation: 'a:1' }
// After
{ '@actor': 'order/worker', incarnation: 'a:1' }# community_signal
How useful is this release to your stack?
Sign in with GitHub to cast your vote.
You’ll return to this release, then choose your vote.