Repository navigation
xstate@4.30.3
Patch Changes
-
#3088
9f02271a3Thanks @Andarist! - Added some internal@ts-ignorecomments to fix consuming projects that do not useskipLibCheck. -
#3082
8d3f2cfeaThanks @Andarist! - Fixed an issue with context type being inferred from too many places withincreateMachinecall and possibly ending up asanyfor the entire machine. -
#3027
97ad964bdThanks @hedgepigdaniel! - Fixed an issue with not being able to callcreateMachinein a generic context when the type for the context was generic and not concrete. -
#3084
50c271dc1Thanks @Andarist! - Fixed an issue with context type defined usingschema.contextbeing sometimes widened based onconfig.context. If both are given theschema.contextshould always take precedence and should represent the complete type of the context. -
#3089
862697e29Thanks @Andarist! - 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). -
#3087
ae9579497Thanks @Andarist! - Fixed an issue withActorRefFromnot resolving the typegen metadata from machine types given to it. This could sometimes result in types assignability problems, especially when using machine factories andspawn.