Skip to content

xstate@5.0.0-beta.36

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 20 Oct 17:02
· 303 commits to main since this release
26542fc

Major Changes

  • #4372 c19e6fb1e Thanks @Andarist! - Removed State['_internalQueue'].

  • #4371 8b3f6647c Thanks @Andarist! - Changed behavior of always transitions. Previously they were always selected after selecting any transition (including the always transitions). Because of that it was relatively easy to create an infinite loop using them.

    Now they are no longer selected if the preceeding transition doesn't change the state of a machine.

  • #4377 14cb2ed0c Thanks @Andarist! - exit actions of all states are no longer called when the machine gets stopped externally. Note that they are still called when the machine reaches its final state.

Patch Changes

  • #4376 078eaaddd Thanks @Andarist! - Fixed an issue with exit actions being called twice when machine reached its final state.