Skip to content
Stefano Balietti edited this page Oct 21, 2021 · 3 revisions
  • status: complete
  • version: 7.x

Migrating to nodeGame 7.0

Potentially breaking backward compatibility:

  • node.done() accepts at most one parameter (before any number of parameters accepted and converted in set messages).
  • node.done() treats true as a normal value (before it was ignored).
  • Methods removed from the Timer API: node.timer.randomEmit, node.timer.randomDone, node.timer.randomExec; use node.timer.random().exec|done|emit.
  • Step-property role equal to true executes the full role (before was simply keeping the role reference).
  • Stages and step names cannot contain neither dots nor numbers (before only a warning was raised).

Non-breaking changes:

  • Widget required or requiredChoice flags can always block the node.done procedure if the widget requires user action (before only in widget-steps).

Next Topics

Next: Start the Tutorial v7

Clone this wiki locally