Releases: sverweij/state-machine-cat
v12.0.21
v12.0.20
🐛 fixes
- e071d51 fix(render/dot): handles notes on composite self-transitions (#223)
- af76f8f fix(render/dot): makes the 'width' attribute on transitions with a note attached is heeded at all
- 8ce2805 fix(render/dot): makes the 'width' attribute on composite self-transitions applied to both halves of the self-transition (#222)
- 966a128 fix(scxml): makes scxml based sources render correctly again (#224)
- 199cd71 fix(transform/desugar): adds unique ids to de-sugared transitions, so they render properly again (#225)
- b3df09a fix(site): removes superfluous console.log
👷 maintenance
- d265933 refactor(parse/smcat): replaces module global with a proper counter class (#226)
- 5b4ecf8 refactor(scxml): replaces module global with a proper counter class
- 95d6c7d doc(render/dot): updates a comment to be more specific
🧹 chores
v12.0.19
v12.0.18
👷 maintenance
- 392a170/ cfcfaf9/ 2b074a1 refactor(render): swaps in new dot renderer, removes handlebars as a dependency (#219)
This reduces the size of state-machine-cat (bundle, distributed code on npmjs) quite a bit - and gets rid of a fairly large, seemingly nominally maintained dependency in the process.
You might encounter some small differences in the rendered output - i.e. state-machine-cat now better heeds the order in which states appear in the source, which should make the rendered output more easily predictable.
🧹 chores
- 000c112 chore(tools): improves fixture management
v12.0.17
👷 maintenance
-
0915a11/ 3d1b67a refactor(render): adds new handlebars-free dot reporter (#217)
This PR is to get rid of the handlebars based dot reporter. It introduces a new dot renderer (temporarily and only in this version available asndot
) and makes updates to the handlebars-based renderer to make it easier to non-regression test against it.
This is the last release where thedot
renderer is based on handlebars - a 'save game' release, if you will. -
ab885a8 build(npm): updates external dependencies
-
e72bc97 refactor: addresses small linting issues
-
d67c063 refactor(render/smcat): simplifies transition rendition
🧹 chores
v12.0.16
v12.0.15
v12.0.14
v12.0.13
👷 maintenance
- 1180ef8 build(npm): switches from @hpcc-js/wasm/graphviz to @hpcc-js/wasm-graphviz
Makes the installed size of state-machine-cat smaller (8Mb vs 58Mb earlier)/ have less dependencies. The web distro is only about 2kb smaller, probably because tree-shaking already shook out most of the stuff we weren't using in the first place. See npm graph before and after below. - 958b196 build(npm): updates external dependencies
Before switching to wasm-graphviz
https://npmgraph.js.org/?q=state-machine-cat%4012.0.12#select=exact%3Astate-machine-cat%4012.0.12
After switching to wasm-graphviz
https://npmgraph.js.org/?q=state-machine-cat#select=exact%3Astate-machine-cat%4012.0.13