Skip to content

Update release

Compare
Choose a tag to compare
@TotallyInformation TotallyInformation released this 26 Sep 21:05
· 10 commits to main since this release

New

  • event-return node. Allows event-based sub-flows or loops.

    Change an event-out node to allow output from an event-return node.

    Then create a flow starting with an event-in node, do some processing and end with an event-return node.

    The event-return node does not need any configuration, it uses the msg._eventOriginator property from the input msg
    to route data back to the originating event-out using an internal event sender/listener based on the node ID of the event-out node.

    You can, however, allow the node to pass messages through to an output if you want to.

    You can also override the msg.topic for the output if you wish.

  • New example added that shows (and tests) the use of the event-return node.

Changed

  • Removed global variable.

  • Moved the event handler to an external module ti-common-event-handler

    This module will be used by other packages including node-red-contrib-uibuilder to provide a common event handler.