Packages

xstate

5.33.4 · 7 Nov 2026MIT9M / weekRepositoryHomepagenpmAtom feed

Upgrading xstate From 4.26.1 to 4.27.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 4.26.1Newest 4.x4.38.3Latest5.33.4
  1. 4.26.1yours
  2. 4.27.0target
0
changes to make
0
advisories fixed
1
new
3
fixes

Release by release

  1. 4.27.0

    30 Dec 20211 new · 3 fixes
    • New

      The sendTo(actorRef, event) action creator has been introduced. It allows you to specify the recipient actor ref of an event first, so that the event can be strongly typed against the events allowed to be received by the actor ref:

    • Fixed

      The state.can(...) method no longer unnecessarily executes assign() actions and instead determines if a given event will change the state by reading transition data before evaluating actions.

    • Fixed

      Fixed an issue with stopped children sometimes starting their own child actors. This could happen when the child was stopped synchronously (for example by its parent) when transitioning to an invoking state.

    • Fixed

      Fixed an issue with some exit handlers being executed more than once when stopping a machine.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.