github-actions
released this
01 Dec 16:17
·
271 commits
to main
since this release
Major Changes
-
#4288
cfdf754f8
Thanks @davidkpiano! - TheuseMachine(machine)
hook now returns{ snapshot, send, actorRef }
instead of{ state, send, service }
:const { - state, + snapshot, send, - service + actorRef } = useMachine(machine);
-
#3148
7a68cbb61
Thanks @davidkpiano! - RemovedgetSnapshot
parameter from composables. It is expected that the receivedactorRef
has to have agetSnapshot
method on it that can be used internally. -
#4265
1153b3f9a
Thanks @davidkpiano! - FSM-related functions have been removed.
Minor Changes
- #3727
5fb3c683d
Thanks @Andarist! -exports
field has been added to thepackage.json
manifest. It limits what files can be imported from a package - it's no longer possible to import from files that are not considered to be a part of the public API. - #4288
cfdf754f8
Thanks @davidkpiano! - TheuseInterpret(machine)
anduseSpawn(machine)
hooks have been removed; use theuseActorRef(machine)
hook instead.