Skip to content

Releases: matthewp/robot

[email protected]

28 Nov 12:40
437e28d

Choose a tag to compare

Patch Changes

  • c2adf9f: Fix send function type to properly derive transitions from machine type

[email protected]

20 Sep 15:18
82c9fc2

Choose a tag to compare

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]

05 Feb 13:23
a17a3c3

Choose a tag to compare

Patch Changes

  • 1d6179a: Fixes types for the state() function.

[email protected]

14 Jan 12:50
99037e3

Choose a tag to compare

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]

14 Jan 13:06
92cb118

Choose a tag to compare

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]

14 Jan 13:06
92cb118

Choose a tag to compare

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");

Patch Changes

[email protected]

14 Jan 12:50
99037e3

Choose a tag to compare

Minor Changes

[email protected]

14 Jan 13:06
92cb118

Choose a tag to compare

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");

Patch Changes

[email protected]

14 Jan 13:05
92cb118

Choose a tag to compare

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");

Patch Changes

[email protected]

27 Dec 19:55
8aabe0b

Choose a tag to compare

Patch Changes

  • 9fbdbcb: Set the most deeply nested current service to current
  • 0409089: Documentation for advanced use of 'invoke()'