Releases: matthewp/robot
Releases · matthewp/robot
[email protected]
Patch Changes
- c2adf9f: Fix send function type to properly derive transitions from machine type
[email protected]
Minor Changes
-
0cf6366: '/logging' is now exported, so you can import it in your dev environment to log state changes.
import 'robot3/logging'; import {...} from 'robot3';
Patch Changes
- 950b6fa: Fix syntax error in state function type definition that caused TypeScript compilation failures. The previous change had a missing space in a conditional type expression, breaking type inference for state transitions.
[email protected]
Patch Changes
- 1d6179a: Fixes types for the state() function.
[email protected]
Minor Changes
-
4f6fb69: Autocomplete for service.send()
This makes it so that the event name in
service.send(event)is inferred from the transitions used to create the machine.
[email protected]
Minor Changes
-
efbddbe: Typed event for send() in hooks
This adds the same typed event support for
send()from hooks, for ex in React:const [state, send] = useMachine(machine); send("this-is-typed");
[email protected]
[email protected]
Minor Changes
- 910dfaa: Support React 19