sonntam / node-red-contrib-xstate-machine

A xstate-based state machine implementation using state-machine-cat visualization for node red.
MIT License
22 stars 8 forks source link

Bump xstate from 4.30.0 to 4.36.0 #89

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps xstate from 4.30.0 to 4.36.0.

Release notes

Sourced from xstate's releases.

xstate@4.36.0

Minor Changes

  • #3393 430986cdf Thanks @​davidkpiano! - Deprecated send() action creator. Instead of that, you can use sendTo() to send events to other actors and raise() to send events to the "self" actor.

  • #3802 8743ad0bd Thanks @​Andarist! - Fixed a class of inference problems for our builtin actions (assign, sendTo, etc).

  • #3694 fd589055b Thanks @​Andarist! - All actions received a new generic: TExpressionEvent. To type things more correctly and allow TS to infer things better we need to distinguish between all events accepted by a machine (TEvent) and the event type that actions are "called" with (TExpressionEvent).

    It's best to rely on type inference so you shouldn't have to specify this generic manually all over the place.

Patch Changes

  • #3818 2d8d84fd8 Thanks @​Andarist! - Fixed inference for assign using PropertyAssigner, like here:

    actions: assign({
      counter: 0,
      delta: (ctx, ev) => ev.delta
    });
    

xstate@4.35.4

Patch Changes

  • #3801 10d0ba76a Thanks @​Andarist! - Fixed an issue with not clearing registered interpreters when their machines reached final states.

xstate@4.35.3

Patch Changes

  • #3783 b68f0e8bf Thanks @​Andarist! - Fixed an issue with EmittedFrom sometimes not being able to infer the snapshot types from machines.

xstate@4.35.2

Patch Changes

xstate@4.35.1

Patch Changes

  • #3713 96052976a Thanks @​Andarist! - Fixed an issue that prevented events sent from the exit actions of the invoking state to be delivered to the invoked actor (when leaving that state).

xstate@4.35.0

Minor Changes

  • #3607 f95180510 Thanks @​davidkpiano! - The createModel(...) function is now marked as deprecated, as it will be removed in XState version 5. It is recommended to use Typegen instead.

Patch Changes

  • #3677 a2ecf97ca Thanks @​Andarist! - Fixed an issue with targeted ancestors not being correctly exited when reented during external transitions.

... (truncated)

Commits


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
dependabot[bot] commented 1 year ago

Superseded by #92.