Packages

xstate

5.33.4 · 7 Nov 2026MIT9M / weekRepositoryHomepagenpmAtom feed

Upgrading xstate From 4.35.4 to 4.36.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 4.35.4Newest 4.x4.38.3Latest5.33.4
  1. 4.35.4yours
  2. 4.36.0target
1
change to make
0
advisories fixed
1
new
2
fixes

Before you upgrade

Tick each one off as you go
  • Deprecated4.36.0

Release by release

  1. 4.36.0

    Deprecation13 Feb 20231 new · 2 fixes
    • Deprecated

      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.

    • New

      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).

    • Fixed

      Fixed a class of inference problems for our builtin actions (assign, sendTo, etc).

    • Fixed

      Fixed inference for assign using PropertyAssigner, like here:

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.