github statelyai/xstate xstate@5.0.0-beta.54

latest releases: @xstate/vue@4.0.0, @xstate/store@2.6.1, @xstate/svelte@4.0.0...
pre-release11 months ago

Major Changes

  • #4535 6a9fa1f11 Thanks @Andarist! - The escalate() action is removed. Just throw an error normally.

  • #4539 a2a377f47 Thanks @davidkpiano! - The error event (type: 'xstate.error.*') now has the error data on the event.error instead of event.data:

    // ...
    invoke: {
      src: 'someSrc',
      onError: {
        actions: ({ event }) => {
    -     event.data;
    +     event.error;
        }
      }
    }

Don't miss a new xstate release

NewReleases is sending notifications on new releases.