Repository navigation
HotLoop Flow 2.17.1
HotLoop Flow 2.17.1 makes the flows you bring over from Node-RED and the VIs you bring over from LabVIEW behave the way they did where they came from, and it lets you ask a running Flow exactly which build it is. Nothing in your flows, settings or chart changes.
What changed
-
A Function node can use the names Node-RED lets it use. A function body that declares its own
const context,flow,global,envorutilused to fail to compile here, and the node did not start. In Node-RED those names are not locked, so a flow that does this came across silent. It now starts and runs as it did there.msgandnodeare still taken by Flow, as they are in Node-RED. -
The CSV node says which columns it used. After it turns text into rows, or rows into text,
msg.columnsholds the column names, the way Node-RED's node leaves them. A flow that reads a table, adds a column in a change node and writes the table back out now keeps every column. Before this, the header and the data lost them. -
A CSV node's own column list comes first. If you typed the columns into the node, those are the ones it uses.
msg.columnsonly names the columns for a node that has none typed in. This is how Node-RED decides, and a flow that depends on it now gives the same file. -
hotloop-flow versionnames the commit. The version command prints the commit the image was built from after the version number, so when a plant reports a problem you can tell which build it is, even for an image that was built from a branch. -
Proved on more than the examples. FlowLab's LabVIEW reader was run on all 425 VIs in NI's published icon editor project, and for every one of them the number of wires it reads equals the number an independent reader finds in the same file. Not one file was refused, and every wire starts at a node and ends at a node. We also ran 35 flows from the public Node-RED library on real Node-RED 5.0.10 and on Flow: 22 of the 24 whose output does not depend on a clock give the same output, and the two that differ are written in
docs/node-red-types.md. -
A release check that matches the new version output. The image build checks that the binary reports the tag it was built from, and it did not yet know the version command now also prints the commit. That is why 2.17.0 stopped before anything was published. This release fixes the check, so the image and chart go out as built.
New settings
None.
Upgrade
2.17.0 was never published: its image build stopped at its own check before pushing anything, so there is no 2.17.0 image, chart or release, and 2.17.1 is the first of this line. If you are on 2.16.8, this is your next version.
A plain helm upgrade to the 2.17.1 image and chart, or the new tag in your Quadlet unit. Nothing happens on first start and nothing needs migrating. A flow file loads and saves byte for byte as before. This release builds the amd64 image. The 2 tag keeps the arm64 image it already holds from 2.16.1, and a small follow-up release with nothing else in it, 2.17.2, brings arm64 back. If you are on arm64, stay on 2.16.1 until then.
One behavior to know about: a CSV node that has its own columns typed in and also receives msg.columns now uses the ones typed in. If a flow relied on msg.columns winning, clear the node's column list.
What isn't proven
The Node-RED library run covers flows that use only Node-RED's own nodes. A Function node that loads a module from npm still cannot run in Flow, and one such flow is among the two that differ. A Debug node shows a message longer than its Length setting cut in a different place than Node-RED does, which changes what the sidebar shows and not what the flow does. The LabVIEW reader still does not know what each LabVIEW primitive does, because that table is NI's and is not in the file, so a primitive arrives as a named node that stops the diagram. The check on the 425 VIs ran in the lab.
Image: ghcr.io/hotloop-io/hotloop-flow:2.17.1, linux/amd64. Chart: https://hotloop.io/hotloop-flow/. The README at this tag has the rest, with pictures: https://github.com/HotLoop-io/hotloop-flow/blob/v2.17.1/README.md