github statelyai/xstate @xstate/vue@1.0.0

latest releases: @xstate/vue@4.0.0, @xstate/store@2.6.1, @xstate/svelte@4.0.0...
2 years ago

Major Changes

  • #3083 bc592582a Thanks @Andarist! - The major version of this package had to be bumped to allow integrating with the typegen. This package will now require TS version 4.0 or greater.

    When using hooks from @xstate/vue it's recommended to skip providing explicit generics to them. Note that that generics list has changed since v1 and we now only accept a single generic, TMachine.

  • #3083 bc592582a Thanks @Andarist! - Removed already deprecated useService from @xstate/vue. You can replace its usage with useActor.

Patch Changes

  • #3089 862697e29 Thanks @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).

Don't miss a new xstate release

NewReleases is sending notifications on new releases.