Skip to content

[email protected]

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 30 Aug 18:17
· 497 commits to main since this release
26d566a

Minor Changes

  • #4213 243d36fa8 Thanks @Andarist! - You can now define strict tags for machines:

    createMachine({
      types: {} as {
        tags: 'pending' | 'success' | 'error';
      }
      // ...
    });
  • #4209 e658a37f4 Thanks @Andarist! - Allow the TGuard type to flow into actions. Thanks to that choose can benefit from strongly-typed guards.

  • #4182 d34f8b102 Thanks @davidkpiano! - You can now specify delay types for machines:

    createMachine({
      types: {} as {
        delays: 'one second' | 'one minute';
      }
      // ...
    });