Packages

xstate

5.33.4 · 7 Nov 2026MIT9M / weekRepositoryHomepagenpmAtom feed

Upgrading xstate From 4.8.0 to 4.9.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

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

Release by release

  1. 4.9.0

    15 Apr 20202 new · 3 fixes
    • New

      Simplify the TransitionConfigArray and TransitionConfigMap types in order to fix excessively deep type instantiation TypeScript reports. This addresses #1015.

    • New

      Added support for conditional actions. It's possible now to have actions executed based on conditions using following:

    • Fixed

      Cleanup internal structures upon receiving termination events from spawned actors.

    • Fixed

      Fixed an issue with data expressions of root's final nodes being called twice.

    • Fixed

      Loosened event type for SendAction<TContext, AnyEventObject>

3 other lines we could not sort, mostly version bumps
  • Cloned state machine returned by .withConfig.

    4.9.0
  • .state getter defined for services.

    4.9.0
  • start method of services.

    4.9.0

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.