github statelyai/xstate xstate@5.0.0-beta.36

latest releases: @xstate/svelte@3.0.5, @xstate/vue@3.1.4, @xstate/store@2.6.0...
pre-release11 months ago

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.

Don't miss a new xstate release

NewReleases is sending notifications on new releases.