Packages

xstate

5.33.4 · 7 Nov 2026MIT9M / weekRepositoryHomepagenpmAtom feed

Upgrading xstate From 4.30.2 to 4.30.3

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 4.30.2Newest 4.x4.38.3Latest5.33.4
  1. 4.30.2yours
  2. 4.30.3target
0
changes to make
0
advisories fixed
1
new
5
fixes

Release by release

  1. 4.30.3

    1 Mar 20221 new · 5 fixes
    • New

      Added some internal @ts-ignore comments to fix consuming projects that do not use skipLibCheck.

    • Fixed

      Fixed an issue with context type being inferred from too many places within createMachine call and possibly ending up as any for the entire machine.

    • Fixed

      Fixed an issue with not being able to call createMachine in a generic context when the type for the context was generic and not concrete.

    • Fixed

      Fixed an issue with context type defined using schema.context being sometimes widened based on config.context. If both are given the schema.context should always take precedence and should represent the complete type of the context.

    • Fixed

      Fixed compatibility with Skypack by exporting some shared utilities from root entry of XState and consuming them directly in other packages (this avoids accessing those things using deep imports and thus it avoids creating those compatibility problems).

    • Fixed

      Fixed an issue with ActorRefFrom not resolving the typegen metadata from machine types given to it. This could sometimes result in types assignability problems, especially when using machine factories and spawn.

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.