Skip to content

Releases: matthewp/robot

react-robot@1.2.1

28 Nov 12:40
437e28d

Choose a tag to compare

Patch Changes

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

robot3@1.2.0

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.

robot3@1.1.1

05 Feb 13:23
a17a3c3

Choose a tag to compare

Patch Changes

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

robot3@1.1.0

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.

robot-hooks@1.1.0

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

react-robot@1.2.0

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

  • Updated dependencies [efbddbe]
    • robot-hooks@1.1.0

react-robot@1.1.0

14 Jan 12:50
99037e3

Choose a tag to compare

Minor Changes

preact-robot@1.1.0

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

  • Updated dependencies [efbddbe]
    • robot-hooks@1.1.0

haunted-robot@1.1.0

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

  • Updated dependencies [efbddbe]
    • robot-hooks@1.1.0

robot3@1.0.2

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()'