- Switch to biome from eslint and prettier.
- Upgrade to Sinon 17, which requires Node.js 18
- Switch to pnpm from yarn
- Add eslint and prettier configurations.
There are no API changes.
This version of @kineticcafe/svelte-fsm-eventless is based on kenkunz/svelte-fsm 1.2.0.
- formatting tweaks
- [fix] allow any event arguments if action types unspecified (#5 - closes #4)
- [fix] expect event invocations to always returns State (string | symbol) (#5)
- [feat] improve TypeScript declarations (#1)
- [fix] allow
symbol
transition values
- cancel pending
debounce
invocations by callingdebounce(null)
- ignore non-
string
transition values - improve tests - more readable, less fragile
- call lifecycle actions (
_enter
,_exit
) with transition metadata{ from, to, event, args }
- remove
_init
lifecycle action; call_enter
on-init withnull
valuedfrom
andevent
- add support for
'*'
pseudo-state fallback actions - bind
this
to state object in action invocations