All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.
This change log follows the format documented in Keep a CHANGELOG.
- Fixed previously incorrecly published package.
-
BREAKING: Changed the send API from string-based to proxy-based:
.send("event()")
->.send.event()
. Condition is now a separate argument:.send.event("condition")
. To send substate events, use the substate name as a prefix:.send.os.event()
. -
BREAKING: The final state to parent transition definition now requires including the substate name into the source state:
.sub("os", osState, "terminated -> shutdown() -> off")
->.sub("os", osState, "os.terminated -> shutdown() -> off"))
.
- Added contexts support. See README.
- Added
superstate/mermaid
submodule withtoMermaid
function to covert a statechart to Mermaid format. See README.
-
Fixed factory's
sub
property types. -
Fixed
exports
inpackage.json
Initial beta version