Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info

Available since Onesait Platform version 4.2.0.

Introduction

In the platform release, the FlowEngine execution engine based on Node-RED has been migrated to version 3.0, specifically to version 3.0.2. This allows to use all the new capabilities and enhancements of the new engine from within the FlowEngine.

...

Complete info information on what's new in this release here: https://nodered.org/blog/2022/07/14/version-3-0-released.

Let's take a look at the main improvements incorporated.

...

A right-click context menu has finally been added to the workspace. This gives you users quick access to a lot of built-in actions in the editor and should help users them discover more of the available features.

...

  • Tree view of the flows.

  • New Help sidebar: The help window is now a new tab, having more space for reading.

  • Grouping nodes: It allows grouping nodes as if they were a component.

  • JSONata $moment support: Added support for the Moment date/time library in the FUNCTION nodes, allowing date modification functions, Timezone conversion, etc.

  • Inject node properties: Now It now allows to configure any MSG value.

  • Function node lifecycle: Allows It allows FUNCTION nodes to create code at node initialization (deploy) and destruction.

  • Importing duplicate nodes: When importing flows /or nodes, it asks if you want to overwrite existing ones by id. That way, so we you can update or replicate flows within domains.

  • Simplified Git Workflow: It is possible to configure projects to auto commit when DEPLOYing the domain.

  • Handling 'lost' nodes: bug Bug fix for nodes that lost their reference to a NodeRED tab.

  • FUNCTION node: the The node can now send messages in the setup part.

  • Function node use of npm modules: Nodejs modules (npm install) can be added directly to FUNCTION nodes.

  • Editor features:

    • Export preview: Added a new tree view screen when exporting to make the task easier.

    • Selecting nodes: Added shotcuts for node selection and management.

    • Opening a subflow: CTRL + double click on a subflow now takes you to the subflow definition.

    • Navigating around the workspace: New shotcuts for navigation.

  • Function external module changes: Improved definition of new modules. These modules are installed in backgruod background, ready to use in the FUNTION FUNCTION node.

  • Inject node quick inject button: Now you can inject data directly from the definition without having to deploy each time, which facilitates development.

  • Removed tail node: The default node is removed. It can be reinstalled from the palette.

  • Flow Debugger: A new plugin has been created to debug NodeRED, adding breakpoints between nodes (input/output), viewing message queue, etc.

  • Flow Linter - nrlint: A plugin has been created to have a Flow linter available.

  • New Welcome Tour Guide: A small guided tour has been added for the first time you enter the domain.

  • Hiding tabs: Now you can close the tabs so that they do not occupy space in the top bar and open them from the tree view.

  • Dynamic MQTT nodes: Dynamic subscription option is has been added.

  • Auto-complete in msg TypedInputs: Auto-complete is added to some nodes when selecting MSG fields.

  • New Link Call node: New node that allows, together with the LINK-IN/OUT, to generate subroutine-like executions.

  • Edit & Arrange menus: Customization of elements.

  • Flow/Group level environment variables: Allows It allows you to set global variables at group and flow (tab) level.

  • Debug sidebar options: Change of options in the display of debug messages

  • Deep copy option on Change node: SET node now allows to make a copy of the data (not by reference).

  • Delay node updates: Node The node now supports a second output for those MSGs that are discarded by the retention policy configured in the node.

  • File nodes renamed: FILE nodes are renamed to make it easier to know which is the write node and which is the read node.

  • Search History: The node search window now has a history for easy access to regular searches.

  • Remembering zoom/position: Zoom and other display selections can be configured to always be stored and applied.

  • Aligning nodes: Snap-to-grid option is added.

  • Detaching nodes: Detaching nodes is enabled without losing the link between successor and predecessor nodes.

  • Selecting multiple wires: Multiple selection now illuminates links between nodes for easier viewing.

  • Slicing wires: "Slicing" links at a time using CTRL + drag right click is now allowed.

  • Subflow Output labels: Added labels to subflow outputs.

  • Predefined Environment Variables: Added a set of environment variables to access common names such as flow (tab), node, etc.

  • The JSONParser node will now try to parse Buffer objects if it can.

...