Major Changes
- #4270
c8de2ce65
Thanks @Andarist! - All events automatically generated by XState will now be prefixed byxstate.
. Naming scheme changed slightly as well, for exampledone.invoke.*
events becamexstate.done.actor.*
events.
Minor Changes
-
#4269
2c916b835
Thanks @davidkpiano! - Actor types are now exported fromxstate
:import { type CallbackActorLogic, type ObservableActorLogic, type PromiseActorLogic, type TransitionActorLogic } from 'xstate';
-
#4222
41822f05e
Thanks @Andarist! -spawn
can now benefit from the actor types. Its arguments are strongly-typed based on them.