Packages

xstate

5.33.4 · 7 Nov 2026MIT9M / weekRepositoryHomepagenpmAtom feed

Upgrading xstate From 4.25.0 to 4.26.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

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

Release by release

  1. 4.26.0

    1 Nov 20212 new · 3 fixes
    • New

      The description property is a new top-level property for state nodes and transitions, that lets you provide text descriptions:

    • New

      Add optional type parameter to narrow type returned by EventFrom. You can use it like this:

    • Fixed

      The tags property was missing from state's definitions. This is used when converting a state to a JSON string. Since this is how we serialize states within @xstate/inspect this has caused inspected machines to miss the tags information.

    • Fixed

      Fixed an issue with tags being missed on a service state after starting that service using a state value, like this:

    • Fixed

      Meta data can now be specified for invoke configs in the invoke.meta property:

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.