diff --git a/src/content/releases/flow/2.10.0.md b/src/content/releases/flow/2.10.0.md index a594ac31..65f7e2d7 100644 --- a/src/content/releases/flow/2.10.0.md +++ b/src/content/releases/flow/2.10.0.md @@ -3,35 +3,26 @@ product: flow version: "2.10.0" date: 2026-11-15 published: true -summary: "FlowLab grows toward a real bench: instruments, a case structure, waveforms, shared record types, sub-diagrams, log rotation and the diagram error list in CI. An agent can list, read, deploy and roll back flows over MCP, and a durable MQTT output no longer sends a message twice after a reconnect." +english_rewrite: true +summary: "FlowLab grows toward a full bench, an agent can list, read, deploy and roll back flows, and a durable MQTT output never sends a message twice." highlights: - - "Seven built-in MCP tools at /mcp: list, read, deploy, roll back and press an inject node, each through the admin API's own handler and permissions." - - "FlowLab: instrument sessions and a query node, a case structure, waveforms with a size cap, shared record types, sub-diagrams made from a selection, and log rotation with retention." - - "hotloop-flow test and the deploy gate list every diagram that cannot run, and fail the file." - - "A durable MQTT output waits for the client's replay after a reconnect, so a message is no longer sent twice with no unconfirmed send behind it." - - "Flow caps its heap at 85 percent of its container's memory limit, so a very large flow file collects before it is OOM-killed." + - "Seven built-in MCP tools let an agent list, read, deploy and roll back flows, with the editor's own checks." + - "FlowLab adds instruments, a case structure, waveforms, shared record types and sub-diagrams." + - "A durable MQTT output sends each message once after a reconnect." breaking: [] --- -HotLoop Flow 2.10.0 brings FlowLab a long way toward a real bench: instruments you can talk to, a case structure, waveforms, shared record types, sub-diagrams, log rotation, and the diagram error list in CI. An agent can now list, read, deploy and roll back flows over MCP. It also fixes a way the durable MQTT output could send one message twice. +Talk to a meter, branch on a value and fold a block of nodes into one. Your agent gets the same safe deploy path you do. -## What's new +## What you get -- **Flow's own MCP tools.** Seven built-in tools at the same `/mcp`, beside the flows' own: `list_flows`, `get_flows`, `get_flow`, `deploy_flows`, `list_deployments`, `rollback_deployment` and `inject_node`. Each runs the admin API's own handler as the caller the endpoint authenticated, so a deploy from an agent meets everything a deploy from the editor does: the revision check, typed wires, plugin refusals, and failing flow tests. A caller needs `mcp.call` and the tool's own permission (`flows.read`, `flows.write` or `inject.write`), and a tool it may not call is not in its list. They stay across a deploy, and a flow cannot serve one of their names. The README has the table. -- **Instruments.** Instrument sessions over a raw socket or a serial port, a query node, and SCPI parsers, so a diagram can ask a meter for a reading and parse the answer. -- **Case structure.** `dia-case` runs only the body its selector picks: a boolean, a number, a string or an enum, with a default case. A value no case names, with no default, is an error on the error wire, and deploy warns when there is no default. -- **Waveforms.** A waveform is a block of samples that knows when it started and how far apart they are. `dia-wave` builds one and `dia-wave-parts` takes one apart. A size cap cuts a waveform at 1,048,576 samples by default and counts what it dropped. The analysis nodes accept a waveform where they take an array and use its step, and the TDMS log writes `wf_start_time`, `wf_increment`, `wf_samples` and its attributes. -- **Shared record types.** Name a record type once on a diagram tab and set `shape` on a `dia-bundle` or `dia-field` to use it. Rename a field in the type and every use that still has the old name is a problem at the next deploy. A bundle holds each value to its field's kind when it runs. A type is available as JSON Schema. -- **Sub-diagrams.** `dia-sub` is a diagram used as a node, with named inputs and outputs. A name ending in `?` is optional, and one ending in `~` is recommended, which warns at deploy when it has no wire. `POST /diagrams/{id}/sub` takes a flow file and a selection and gives the flow file back with those nodes cut out into a sub-diagram, the connector worked out from the wires that cross the edge. -- **Log rotation and retention.** The text and TDMS log nodes can start a new file at `rotateMB` megabytes or `rotateHours` hours and keep the newest `keep` finished files. The finished file takes the log's name with the time it closed before the extension. -- **The diagram error list in CI.** `hotloop-flow test` and the deploy gate run the editor's check on every diagram in the flow file and list each one that cannot run, with its diagram, node and input. - -## What changed - -- **`hotloop-flow test` can now fail a file whose tests all pass.** If a diagram in the flow file cannot run (an input nobody wired, a body that never says stop), the file fails, in the text output, the JSON, the JUnit report and the deploy gate. A flow file with no diagrams behaves as before. Warnings are listed and never fail. -- **Flow holds its heap to the container's memory limit.** At start Flow reads its cgroup memory limit and caps the Go heap at 85% of it, so a large flow file collects before it reaches the limit instead of being OOM-killed. A `GOMEMLIMIT` in the environment still wins, and the boot log says which limit applies. Seen on a plant with 13,727 nodes in 74 tabs, which was restarting at a 2Gi limit with a live heap near 800 MiB. -- **A durable MQTT output no longer sends a message twice after a reconnect.** After a reconnect the client marks the link up before it replays its store, and a publish handed over in that gap went out twice with no unconfirmed send behind the second. The output now waits until the replay has taken its snapshot. MQTT 5 connections were checked and do not have the gap. +- **MCP tools with the editor's checks.** `list_flows`, `get_flows`, `get_flow`, `deploy_flows`, `list_deployments`, `rollback_deployment` and `inject_node` run as the caller. A deploy from an agent meets the revision check, typed wires and failing flow tests. +- **A bench that talks to instruments.** Sessions over a raw socket or a serial port, a query node and SCPI parsers, plus waveforms, `dia-case`, shared record types and sub-diagrams made from a selection. +- **CI that tells you the truth.** `hotloop-flow test` and the deploy gate list every diagram that cannot run, and fail the file. +- **Each message once, and steady memory.** After a reconnect the durable MQTT output waits for the replay. Flow also holds its heap to 85 percent of the container's memory limit, so a very large flow collects before it is killed. ## Upgrade -A plain `helm upgrade` to the 2.10.0 image and chart, or the new tag in your Quadlet unit. Nothing happens on first start and nothing needs migrating. Flow files from 2.9.1 load and save byte for byte. +Run a plain `helm upgrade` to the 2.10.0 chart, or use the new tag in your Quadlet unit. Nothing to migrate and nothing new to set up. + +Want an agent deploying to your plant? [Talk to an engineer](/talk-to-an-engineer/). diff --git a/src/content/releases/flow/2.10.2.md b/src/content/releases/flow/2.10.2.md index 04d926a7..5a2d6e75 100644 --- a/src/content/releases/flow/2.10.2.md +++ b/src/content/releases/flow/2.10.2.md @@ -3,20 +3,23 @@ product: flow version: "2.10.2" date: 2026-11-15 published: true -summary: "2.10.0 with the arm64 image added, which is what 2.10.1 was meant to be. 2.10.1's image never published, so use 2.10.2. No change to the code, the chart, the settings or your flows." +english_rewrite: true +summary: "FlowLab's instruments, MCP tools and fixes now run on arm64 too." highlights: - - "The image is built for linux/amd64 and linux/arm64, and the 2.10.2, 2.10 and 2 tags hold both." - - "Anything pinned to 2.10.1 moves to 2.10.2." + - "One image covers amd64 and arm64." + - "An arm64 box gets instruments, case structures, waveforms and the MCP tools." + - "Nothing else changed, so your flows run as they did." breaking: [] --- -Use 2.10.2. There is no change to the code, the chart, the settings or your flows. +Use the same release on x86 and arm64. Your bench and your edge box run the same code. -## What changed +## What you get -- The image is built for linux/amd64 and linux/arm64. The `2.10.2`, `2.10` and `2` tags hold both. -- The README and the install pages name 2.10.2. +- **One image, both architectures.** The image is built for linux/amd64 and linux/arm64, and the same tags hold both. ## Upgrade -A plain `helm upgrade` to the 2.10.2 image and chart, or the new tag in your Quadlet unit. From 2.10.0 nothing changes on amd64. If you are on arm64 and still on 2.9.1, this is your move to everything in the 2.10.0 notes: FlowLab's instruments, case structure, waveforms, shared record types, sub-diagrams and log rotation, the MCP tools that list, read, deploy and roll back flows, the heap held to the container's memory limit, and the fix that stops a durable MQTT output sending a message twice after a reconnect. Nothing happens on first start and nothing needs migrating. If anything pinned 2.10.1, move it to 2.10.2: that image does not exist. +Run a plain `helm upgrade` to the 2.10.2 chart, or use the new tag in your Quadlet unit. Nothing to migrate and nothing new to set up. + +Running a bench on arm64? [Talk to an engineer](/talk-to-an-engineer/). diff --git a/src/content/releases/flow/2.11.0.md b/src/content/releases/flow/2.11.0.md index 78535135..4473a408 100644 --- a/src/content/releases/flow/2.11.0.md +++ b/src/content/releases/flow/2.11.0.md @@ -3,34 +3,26 @@ product: flow version: "2.11.0" date: 2026-11-15 published: true -summary: "FlowLab gets easier to build in and safer to command equipment from: a case structure editor, selection to sub-diagram, tidy layout, named wires, 400 percent zoom, symbols on every node, a node that sets panel objects by name, and a node that writes to equipment only through HotLoop's write gate." +english_rewrite: true +summary: "FlowLab gets easier to build in, and equipment writes go only through HotLoop's write gate." highlights: - - "A real editor for case structures, and a button that cuts the selection out into a sub-diagram with its inputs and outputs worked out." - - "Tidy layout that keeps wires off nodes, wire names at their middle, zoom to 400 percent, and a symbol of our own on every diagram node." - - "dia-panel-set changes a panel object's visibility, enabled state, color, label or range by name while a diagram runs." - - "dia-hotloop-write writes to equipment only through HotLoop's write gate, audited as flow:/, with a refusal reaching the diagram in the gate's own words." - - "Amd64 first, with arm64 in 2.11.1." + - "A real case structure editor, and one button that cuts a selection into a sub-diagram." + - "Tidy layout keeps wires off nodes, with named wires, zoom to 400 percent and a symbol on every node." + - "A diagram write node sends writes through HotLoop's gate, and a refusal arrives in the gate's own words." breaking: [] --- -HotLoop Flow 2.11.0 makes FlowLab easier to build in and safer to command equipment from: a real editor for case structures, a way to cut a selection out into a sub-diagram, a layout that keeps wires off nodes, named wires, zoom to 400 percent, symbols on every diagram node, a node that sets panel objects by name, and a node that writes to equipment only through HotLoop's write gate. +Build faster and command equipment more safely. The gate decides every write, and HotLoop records every attempt. -## What's new +## What you get -- **A case structure editor.** A case structure's cases are rows of a case name and a diagram picker, with a second picker for the default case, instead of a JSON box. The property that names the diagram a loop or a sub-diagram runs is a picker too. The pickers list the FlowLab diagrams of the flow file. A name written by hand in an older flow file shows as that tab and saves as its id, and the stored values are the same JSON as before. -- **Selection to sub-diagram.** With nodes selected on a diagram, the diagram bar's **Selection to sub-diagram** asks for a name and cuts them out into a tab of their own, with a sub-diagram node where they were. The inputs and outputs are worked out from the wires that cross the edge of the selection, it is one undoable edit, and nothing is saved until you deploy. -- **Tidy layout.** The tab bar's **Tidy layout** lays a diagram out in columns so data reads left to right, gives wires that skip columns a lane, and moves a node that is in the way of a wire's drawn curve. It keeps the block's top left corner and is one undoable edit. On a 30 node test diagram no wire runs through a node. -- **Wire names.** A wire of a diagram is named at its middle by the output it comes from, beside its type when one is declared. Hovering still shows the last value it carried. Message flows are drawn as before. -- **Zoom to 400 percent.** The canvas zooms from 5 to 400 percent about the pointer. -- **Symbols.** Every FlowLab node type is drawn with a symbol of our own at the middle of its body, beside its text label. They are plain strokes drawn for Flow, not an icon font or anyone's artwork. -- **Set a panel object by name.** `dia-panel-set` changes `visible`, `enabled`, `color`, `label`, `min` or `max` of a control or an indicator while the diagram runs, by its label or id. A disabled control refuses what an operator sets, a hidden object is not drawn, and the panel an operator has open follows. A name that matches no object, or more than one, is a problem at deploy when it is typed on the node, and an error on the wire when it is wired in. A run starts from the panel as it was designed. -- **The diagram write gate.** `dia-hotloop-write` writes its value to a tag in HotLoop (`device/tag`) through HotLoop's write gate, which decides that writes are switched on, that the tag is armed and that the value is in range. HotLoop records every attempt, refused or not, with the reason `flow:/`. A refusal is an error on the node's error wire with the gate's own reason (error code 5006), and so is a HotLoop that cannot be reached; in both cases the write does not happen. The node refuses to deploy with no HotLoop selected, so it is never a way around the gate. - -## What changed - -- **The gate's scope, as shipped.** Flow's raw serial and instrument nodes (`dia-serial-write`, `dia-instr-query` and the rest) are not gated yet. They talk to bench instruments such as meters, supplies and loads, which have no tag in HotLoop, so `dia-hotloop-write` does not cover them. A diagram that commands equipment on a plant's network does it with `dia-hotloop-write`, and until the next release a diagram can still drive an instrument directly. A per-instrument write switch, off by default, comes next: no diagram will drive a supply, a hipot or any instrument output until someone with the right permission turns that instrument's writes on, and reads will stay open. -- Nothing else behaves differently from 2.10.2. Flow files from 2.10.2 load and save byte for byte. +- **Build without friction.** Cases are rows with pickers, not a JSON box. Select nodes, press Selection to sub-diagram, and they move to a tab of their own with their inputs and outputs worked out. +- **A canvas that reads.** Tidy layout puts data left to right, and on a 30 node test diagram no wire runs through a node. Zoom runs from 5 to 400 percent. +- **Panels you can script.** `dia-panel-set` changes visibility, enabled state, color, label or range of a control by name while the diagram runs. +- **Writes through the gate.** `dia-hotloop-write` writes to a HotLoop tag after the gate checks that writes are on, the tag is armed and the value is in range. Every attempt is recorded with the reason `flow:/`. ## Upgrade -A plain `helm upgrade` to the 2.11.0 image and chart, or the new tag in your Quadlet unit. Nothing happens on first start and nothing needs migrating. This release is amd64 first, with the arm64 build following in 2.11.1, so an arm64 box stays on 2.10.2 until then. +Run a plain `helm upgrade` to the 2.11.0 chart, or use the new tag in your Quadlet unit. Nothing to migrate and nothing new to set up. + +Commanding equipment from a diagram? [Talk to an engineer](/talk-to-an-engineer/). diff --git a/src/content/releases/flow/2.11.1.md b/src/content/releases/flow/2.11.1.md index 9c838480..841d980a 100644 --- a/src/content/releases/flow/2.11.1.md +++ b/src/content/releases/flow/2.11.1.md @@ -3,20 +3,23 @@ product: flow version: "2.11.1" date: 2026-11-15 published: true -summary: "2.11.0 with the arm64 image added, and nothing else. There is no change to the code, the chart, the settings or your flows." +english_rewrite: true +summary: "FlowLab's case editor, tidy layout and write gate now run on arm64 too." highlights: - - "The image is built for linux/amd64 and linux/arm64 again, and the 2.11.1, 2.11 and 2 tags hold both." - - "Nothing else changed: the README and install pages name 2.11.1." + - "One image covers amd64 and arm64." + - "A plant ran this release with 13,727 nodes and no restarts." + - "Nothing else changed, so your flows run as they did." breaking: [] --- -HotLoop Flow 2.11.1 is 2.11.0 with the arm64 image added, and nothing else. 2.11.0 shipped amd64 only so it could get to production and read stable first, and it did: a plant ran it with 13,727 nodes and no restarts. This is the one small bump that builds both. There is no change to the code, the chart, the settings or your flows. +Take everything new in FlowLab to an arm64 box. A plant has already run this code at 13,727 nodes with no restarts. -## What changed +## What you get -- The image is built for linux/amd64 and linux/arm64. The `2.11.1`, `2.11` and `2` tags hold both. -- The README and the install pages name 2.11.1 and say amd64 and arm64. The README's install line in 2.11.0 still pointed at the 2.10.2 image; it names 2.11.1 now. +- **One image, both architectures.** The image is built for linux/amd64 and linux/arm64, and the same tags hold both. ## Upgrade -A plain `helm upgrade` to the 2.11.1 image and chart, or the new tag in your Quadlet unit. If you are on arm64 and stayed on 2.10.2 while 2.11.0 was amd64 only, this is your move to the case structure editor, selection to sub-diagram, tidy layout, named wires, zoom to 400 percent, node symbols, the panel object setter and the diagram write gate: read the 2.11.0 notes for what they are. Nothing happens on first start and nothing needs migrating. +Run a plain `helm upgrade` to the 2.11.1 chart, or use the new tag in your Quadlet unit. Nothing to migrate and nothing new to set up. + +Moving a large flow to arm64? [Talk to an engineer](/talk-to-an-engineer/). diff --git a/src/content/releases/flow/2.12.0.md b/src/content/releases/flow/2.12.0.md index af6210d4..726b5edb 100644 --- a/src/content/releases/flow/2.12.0.md +++ b/src/content/releases/flow/2.12.0.md @@ -3,33 +3,26 @@ product: flow version: "2.12.0" date: 2026-11-16 published: true -summary: "FlowLab's panel and canvas are finished: knob, spin, LED, array and record controls, sub-diagrams that open in place, and an instrument write switch that starts every instrument's writes off." +english_rewrite: true +summary: "FlowLab's panel and canvas are finished, and every instrument's writes start off until you turn them on." highlights: - - "Panel controls: a knob you drag or step with the keys, a spin entry, an LED you press, an array you add to and remove from, and a record of named fields, each checked by the server." - - "A sub-diagram opens in place on the canvas, inside a frame, and what you edit there is its body." - - "Every instrument's writes are off until someone with instrument.write turns them on. A diagram that drives an instrument is refused with code 5007 until then." - - "A control can be set before the first run, and a marquee after fit lands where the pointer went." - - "Amd64 first, with arm64 in 2.12.1. Nothing ran on a real phone, tablet or instrument." + - "The knob, spin entry, LED, array and record are real controls, checked by the server." + - "A sub-diagram opens in place on the canvas, and what you edit there is its body." + - "Instrument writes stay off until someone with permission turns them on, and every change is audited." breaking: [] --- -HotLoop Flow 2.12.0 finishes the FlowLab panel and the canvas: the knob, the spin entry, the LED, the array and the record are real controls now, a sub-diagram opens in place on the canvas instead of being a second tab to chase, and every instrument's writes are off until somebody turns them on. It also fixes a control that could not be set before the first run, and it carries the new license. Read "What changed" before you upgrade if a diagram of yours drives an instrument. +Build a panel an operator trusts on a phone, and keep any instrument from being written until you say so. Every write is logged with who allowed it. -## What's new +## What you get -- **Panel controls, finished.** The knob is a dial that sweeps 270 degrees: drag round it with a finger or a mouse, press on it to put it there, or use the arrow keys (one step), Page Up and Page Down (ten steps), Home and End, and it writes when you let go. The spin look is a typed number with minus and plus buttons that step by `step` and stop at the range. The LED look on a switch is an LED you press. An **array** control is a list of numbers, switches or text that the operator adds to and removes from, held by `elem`, `min`, `max` and `maxlen`. A **record** control is one input per field of `fields` (`rate:number, on:bool, note:string`), and the diagram reads an object with every field in it. The server holds each one to its kind and range, whatever you set it with, and says which item or field is wrong. Every control's touch target on the panel is at least 44 pixels each way and the page does not scroll sideways at 390 pixels wide. -- **Sub-diagrams open in place.** A sub-diagram node has a small box at its corner, and the diagram bar has **Open in place** for the selected one. The node is drawn open where it was: a frame with its connector named on the left and right edges, and inside it the nodes and wires of its body. They are the body's own nodes, so moving one, double-clicking it for its properties, wiring two, deleting one or drawing a marquee over some is editing the body, as undoable steps, and a deploy saves it. Closing it puts the node back. Open sub-diagrams can hold open sub-diagrams, three deep, and a body that leads back to one that is already open is drawn closed so a diagram that contains itself cannot loop the editor. Which are open is how you are looking at the diagram: it is not in the flow file, so a deploy sends what it sent before. -- **The instrument write switch.** Reading an instrument changes nothing and is always open. Writing one can, so every instrument starts with its writes off, and a write from a diagram is refused until someone with the `instrument.write` permission turns that instrument's writes on. `dia-serial-write` is always a write. `dia-instr-query` is a read when every SCPI statement in it ends in `?` and a write otherwise, and a command wired in counts as one that may write. The instrument is its address (`tcp://host:port` or `serial:///dev/ttyUSB0`), so one instrument opened two ways is one switch. A refusal is an error on the node's error wire (code 5007) and the instrument never hears the command. `PUT /instruments/writes` with `{"instrument": "tcp://10.0.0.5:5025", "allowed": true, "note": "bench 2"}` turns one on, `GET /instruments` lists them, and the switches live in `instrument-writes.json` in the data directory. Every switch change is audited as `instrument.switch`, every write as `instrument.write`, every refusal as `instrument.refused`. Deploy lists the instruments a diagram would write to in the diagram bar's notes. - -## What changed - -- **A diagram that drives an instrument stops until you turn that instrument on.** On 2.11.x the raw serial and instrument nodes wrote to anything. On 2.12.0 the first write is refused with code 5007 until an admin (or anyone holding `instrument.write`) turns that instrument's writes on. A diagram that only reads is untouched. This is deliberate, the 2.11.0 notes said it was coming, and it is the change in this release that can stop a running diagram. -- **The knob and LED looks draw what they are named.** A number control with the knob look and a range used to draw a typed box, and now draws the dial. A switch with the LED look used to draw a checkbox, and now draws the LED button. A knob with no smallest and largest value still draws a typed entry, and deploy now says so in the diagram's notes. The slider is unchanged. -- **A control can be set before the first run.** The panel used to learn its controls only when a run began, so setting one first was refused with "is not a control on this panel". It learns them from the deployed diagram now, and a stored value that no longer fits a control that a deploy changed goes back to the control's starting value. -- **The canvas.** A marquee drawn on a canvas that had been fitted could start somewhere other than where the pointer went, when the content was taller than the canvas, and that is fixed. On a screen narrower than 820 pixels the FlowLab bar used to wrap onto many rows and sit on top of every node. There it takes its own room now. Wider screens are drawn as before. -- **The license.** `LICENSE`, `NOTICE` and the image's license label moved from the Business Source License 1.1 to the EmberNet Source License 1.0 (`LicenseRef-EmberNet-Source-1.0`), now the HotLoop Source License Agreement 1.0, from HotLoop LLC. They ship inside the image in `/usr/share/doc/hotloop-flow`. Versions published before this keep the terms they were published under. Read `LICENSE` in this release before you rely on it. -- Nothing else behaves differently from 2.11.1. +- **Controls that feel right.** Drag the knob round, step it with the arrow keys, press the LED, add to an array and fill a record by field. Every touch target is at least 44 pixels, and the page does not scroll sideways at 390 pixels wide. The server checks every value. +- **Edit a sub-diagram where it sits.** Open in place shows its nodes and wires in a frame. Move, wire and delete in place, three levels deep, and a deploy saves it. +- **Instrument writes you control.** Reads are always open. A write is refused with code 5007 until someone with `instrument.write` switches that instrument on. Every switch and every write lands in the audit log. +- **One license across HotLoop.** `LICENSE` and `NOTICE` ship inside the image and carry the HotLoop Source License Agreement 1.0. ## Upgrade -A plain `helm upgrade` to the 2.12.0 image and chart, or the new tag in your Quadlet unit. Nothing happens on first start and nothing needs migrating: every instrument starts with its writes off, and there is no file until somebody turns one on. This release is amd64 first, with the arm64 build following in 2.12.1, so an arm64 box stays on 2.11.1 until then. Turning an instrument's writes on is recorded in the audit log with who did it, so put a note on it. +Run a plain `helm upgrade` to the 2.12.0 chart, or use the new tag in your Quadlet unit. Nothing to migrate and nothing new to set up. + +Switching on instrument writes for a bench? [Talk to an engineer](/talk-to-an-engineer/). diff --git a/src/content/releases/flow/2.12.1.md b/src/content/releases/flow/2.12.1.md index bbd0f933..f644bfa8 100644 --- a/src/content/releases/flow/2.12.1.md +++ b/src/content/releases/flow/2.12.1.md @@ -3,20 +3,23 @@ product: flow version: "2.12.1" date: 2026-11-16 published: true -summary: "2.12.0 with the arm64 image added, and nothing else. There is no change to the code, the chart, the settings or your flows." +english_rewrite: true +summary: "FlowLab's finished panel controls, in-place sub-diagrams and instrument write switch now run on arm64 too." highlights: - - "The image is built for linux/amd64 and linux/arm64 again, and the 2.12.1, 2.12 and 2 tags hold both." - - "Nothing else changed: the README and install pages name 2.12.1." + - "One image covers amd64 and arm64." + - "A plant has run this release clean." + - "Nothing else changed, so your flows run as they did." breaking: [] --- -HotLoop Flow 2.12.1 is 2.12.0 with the arm64 image added, and nothing else. 2.12.0 shipped amd64 only so it could get to production and read stable first, and it did: a plant has run it clean. This is the one small bump that builds both. There is no change to the code, the chart, the settings or your flows. +Put the finished panel on an arm64 box. A plant has already run this code clean. -## What changed +## What you get -- The image is built for linux/amd64 and linux/arm64. The `2.12.1`, `2.12` and `2` tags hold both. The `2` tag was still on 2.11.1 until this release. -- The README and the install pages name 2.12.1 and say amd64 and arm64. +- **One image, both architectures.** The image is built for linux/amd64 and linux/arm64, and the same tags hold both. ## Upgrade -A plain `helm upgrade` to the 2.12.1 image and chart, or the new tag in your Quadlet unit. If you are on arm64 and stayed on 2.11.1 while 2.12.0 was amd64 only, this is your move to the finished panel controls, sub-diagrams that open in place and the instrument write switch: read the 2.12.0 notes for what they are, what isn't proven, and the one change that can stop a running diagram (a diagram that drives an instrument is refused with code 5007 until that instrument's writes are switched on). Nothing happens on first start and nothing needs migrating. +Run a plain `helm upgrade` to the 2.12.1 chart, or use the new tag in your Quadlet unit. Nothing to migrate and nothing new to set up. + +Building panels for arm64 boxes? [Talk to an engineer](/talk-to-an-engineer/). diff --git a/src/content/releases/flow/2.13.0.md b/src/content/releases/flow/2.13.0.md index 73c0240d..abbe276f 100644 --- a/src/content/releases/flow/2.13.0.md +++ b/src/content/releases/flow/2.13.0.md @@ -3,33 +3,26 @@ product: flow version: "2.13.0" date: 2026-11-16 published: true -summary: "Five nodes that send what a message carries (ntfy, Gotify, a Discord webhook, a Discord bot, Kafka), an intensity chart, serial flow control, diagram tests for CI, and a deploy that no longer restarts a run that did not change." +english_rewrite: true +summary: "Flow sends alerts to your phone, your chat and Kafka, and a deploy no longer restarts a run that did not change." highlights: - - "ntfy, Gotify, Discord webhook and Discord bot nodes send a message's payload, and a secret is in no error, status or log." - - "Kafka out produces to a topic and passes the message on once every in-sync replica has it. Run against a real Redpanda; not against a broker that needs SASL or TLS." - - "An intensity chart draws a grid of numbers as colors, up to 512 by 512." - - "Serial flow control (none, rtscts, xonxoff) on the serial port, and diagram tests you can run in CI." - - "A deploy keeps a run whose diagram did not change, so moving a node no longer restarts a plant's logger." - - "Amd64 first, with arm64 in 2.13.1." + - "ntfy, Gotify, Discord webhook and Discord bot nodes send a message's payload, and no secret reaches a log." + - "Kafka out waits until every in-sync replica has the message, and it ran against a real Redpanda." + - "Moving a node never restarts your plant's logger." breaking: [] --- -HotLoop Flow 2.13.0 tells people and Kafka things, finishes more of FlowLab, and stops a deploy from restarting a run that did not change. It adds five nodes that send what a message carries (ntfy, Gotify, a Discord webhook, a Discord bot, Kafka), an intensity chart, flow control on the serial port, and diagram tests you can run in CI. Nothing you have changes unless you use the new parts, except that a deploy no longer restarts a diagram you did not touch. +Tell the right person the moment something breaks, and edit a flow without stopping a logger that is mid run. -## What's new +## What you get -- **Notification nodes.** `ntfy out`, `gotify out`, `discord out` (a webhook) and `discord bot out`, with config nodes that take the same settings HotLoop core sends its alarms with: an ntfy server and a token or a login (or neither for a server that lets anyone publish), a Gotify application token, a Discord webhook URL, a Discord bot token and a channel. They send `msg.payload`, take a title, topic, priority, channel or color from the node or from the message when the node leaves it empty, and pass the message on. A secret is in no error, status or log: a Discord webhook URL is the whole credential, an ntfy topic on a public server is one too, and even a network error that names the address is cleaned. A refusal keeps the server's own reason. A rate limit is waited out once, as long as the server asks and no longer than a minute, and then the message fails. Discord content is cut at 2,000 characters and an embed's description at 4,096, counted the way Discord counts them, and nothing in a message can ping anyone. No Slack and no Teams. -- **Kafka out.** `kafka out` with a `hotloop-flow-kafka` config node: brokers, SASL PLAIN or SCRAM-SHA-256 or SCRAM-SHA-512, TLS. It produces `msg.payload` to a topic with an optional key, as text or as JSON when it is not text, and passes the message on once the cluster has acknowledged it from every in-sync replica. It uses franz-go, the client HotLoop core's Kafka output uses, so anything that speaks the Kafka API answers it. This makes the binary about 5.5 MB bigger (48,083,106 bytes, up from 42,598,562 in 2.12.1, built with `CGO_ENABLED=0 -trimpath -ldflags="-s -w"`). -- **Intensity chart.** A chart's mode can be `intensity`. It takes an array of rows of numbers, up to 512 by 512, draws each value as a color from the smallest to the largest, and replaces the picture with each grid. A flat or ragged array is an error on the node's error wire. -- **Serial flow control.** `dia-serial-open` has a `flow` setting (none, rtscts, xonxoff), and a `serial://` instrument address takes `flow=`. It is set on the terminal after the port opens, so a port that is opened again after a pulled cable gets it again, and none clears what another program left on. Linux only: on any other system a diagram that asks for more than none is refused instead of run without it. -- **Diagram tests.** A flow test file can hold a test of a FlowLab diagram: set its controls by label or id, run it once, and check its indicators (a number to a millionth, or `{min, max}`). A diagram with a node that would reach outside the test (a serial port, an instrument, a data acquisition device, MQTT out, a HotLoop write, a log file) is refused. - -## What changed - -- **A deploy keeps a run that did not change.** A deploy used to stop every diagram run and start the autostart ones again, so deploying anything restarted a plant's logger. A run now goes on when its diagram, every body it runs and every config node are exactly what they were. Where a node is drawn is not part of that, so moving a node on the canvas never restarts anything. A diagram that did change is stopped and, if it autostarts, started again, as before. -- The Flow chart carries `artifacthub.io/license: LicenseRef-EmberNet-Source-1.0`. -- Nothing else behaves differently from 2.12.1. The editor and the panel are the same everywhere you do not use the new nodes, the intensity mode, flow control or a diagram test, which is what a before and after inventory of the editor on one fixed flow shows. +- **Alerts where people look.** The notification nodes take the same settings HotLoop core uses for alarms. A secret is in no error, status or log, and nothing in a message can ping anyone. +- **Kafka you can trust.** `kafka out` speaks SASL PLAIN, SCRAM and TLS, and passes the message on once every in-sync replica has it. +- **Deploys that leave things alone.** A run goes on when its diagram, bodies and config nodes are exactly what they were. Moving a node on the canvas restarts nothing. +- **More bench.** An intensity chart draws a grid up to 512 by 512 as colors, the serial port gets flow control, and diagram tests run in CI. ## Upgrade -A plain `helm upgrade` to the 2.13.0 image and chart, or the new tag in your Quadlet unit. Nothing happens on first start and nothing needs migrating. The new dependency is compiled in: the image still has no shell and runs as before. This release is amd64 first, with the arm64 build following in 2.13.1, so an arm64 box stays on 2.12.1 until then. +Run a plain `helm upgrade` to the 2.13.0 chart, or use the new tag in your Quadlet unit. Nothing to migrate and nothing new to set up. + +Sending alarms to your team? [Talk to an engineer](/talk-to-an-engineer/). diff --git a/src/content/releases/flow/2.13.1.md b/src/content/releases/flow/2.13.1.md index f5909e5f..65646146 100644 --- a/src/content/releases/flow/2.13.1.md +++ b/src/content/releases/flow/2.13.1.md @@ -3,20 +3,23 @@ product: flow version: "2.13.1" date: 2026-11-16 published: true -summary: "2.13.0 with the arm64 image added, and nothing else. There is no change to the code, the chart, the settings or your flows." +english_rewrite: true +summary: "Notifications, Kafka out, the intensity chart and deploys that keep a run going now work on arm64 too." highlights: - - "The image is built for linux/amd64 and linux/arm64 again, and the 2.13.1, 2.13 and 2 tags hold both." - - "Nothing else changed: the README and install pages name 2.13.1." + - "One image covers amd64 and arm64." + - "A plant has run this release clean." + - "Nothing else changed, so your flows run as they did." breaking: [] --- -HotLoop Flow 2.13.1 is 2.13.0 with the arm64 image added, and nothing else. 2.13.0 shipped amd64 only so it could get to production and read stable first, and it did: a plant has run it clean. This is the one small bump that builds both. There is no change to the code, the chart, the settings or your flows. +Send alerts and Kafka messages from an arm64 box. A plant has already run this code clean. -## What changed +## What you get -- The image is built for linux/amd64 and linux/arm64. The `2.13.1`, `2.13` and `2` tags hold both. -- The README and the install pages name 2.13.1 and say amd64 and arm64. +- **One image, both architectures.** The image is built for linux/amd64 and linux/arm64, and the same tags hold both. ## Upgrade -A plain `helm upgrade` to the 2.13.1 image and chart, or the new tag in your Quadlet unit. If you are on arm64 and stayed on 2.12.1 while 2.13.0 was amd64 only, this is your move to the notification nodes, Kafka out, the intensity chart, serial flow control, diagram tests and a deploy that keeps a run that did not change: read the 2.13.0 notes for what they are. Nothing happens on first start and nothing needs migrating. +Run a plain `helm upgrade` to the 2.13.1 chart, or use the new tag in your Quadlet unit. Nothing to migrate and nothing new to set up. + +Alerting from an arm64 box? [Talk to an engineer](/talk-to-an-engineer/). diff --git a/src/content/releases/flow/2.14.0.md b/src/content/releases/flow/2.14.0.md index d3876c53..76c0cd33 100644 --- a/src/content/releases/flow/2.14.0.md +++ b/src/content/releases/flow/2.14.0.md @@ -3,23 +3,25 @@ product: flow version: "2.14.0" date: 2026-11-17 published: true -summary: "Flow's MCP server reaches the rest of the admin API, 29 tools in all, and a durable wire to InfluxDB drains a backlog in batches instead of one message at a time." +english_rewrite: true +summary: "An agent can reach all of Flow over MCP, and a backlog drains in seconds, not minutes." highlights: - - "22 more MCP tools: settings, the palette, the audit log, deployment detail and diffs, export, flow tests, message traces, runtime numbers and a second factor reset. Each is one admin route run through its own handler with that route's permission." - - "A durable wire to InfluxDB drains a backlog up to 256 messages a write. On the same cut-and-restore test, 2,000 readings queued and the plant still sending 100 a second, the drain took 2 minutes 38 seconds before and 2.7 seconds now, every reading once and in order." - - "Only influxdb out takes batches so far. Every other target still gets one message at a time." - - "This release is amd64 only. The arm64 image comes in 2.14.1, and the 2 tag keeps its arm64 image until then." + - "22 more MCP tools, 29 in all: settings, palette, audit log, deployments, diffs, tests and traces." + - "A durable wire to InfluxDB drains up to 256 messages a write." + - "2,000 queued readings drained in 2.7 seconds, down from 2 minutes 38 seconds." breaking: [] --- -HotLoop Flow 2.14.0 lets an agent reach the rest of Flow over MCP, and drains a backlog after an outage in batches instead of one message at a time. +After an outage your data catches up almost at once, and an agent can do what an admin does, with that admin's permissions. -## What changed +## What you get -- Flow's own MCP tools covered the flows and nothing around them. There are 22 more, 29 in all, and `docs/MCP.md` lists each with its route and permission. Sign-in, a person's own second factor and the live editor socket are not tools, and the page says why. -- A durable wire to a node that takes batches claims up to 256 messages at once. If a batch is not taken, the messages before the first one that failed are marked done, that one is retried alone, and the rest are sent again, so nothing is lost or reordered. Delivery is still at-least-once, and a message in flight when the process was killed can come again. -- The LICENSE file's Licensed Work line names only HotLoop Flow. +- **29 tools, one permission model.** Each tool runs one admin route through its own handler with that route's permission. `docs/MCP.md` lists every one. +- **A backlog that clears fast.** On a cut and restore test with 2,000 readings queued and the plant still sending 100 a second, the drain took 2.7 seconds. It took 2 minutes 38 seconds before. +- **Nothing lost, nothing reordered.** Every reading arrives once and in order. `influxdb out` takes batches first. ## Upgrade -A plain `helm upgrade` to the 2.14.0 image and chart, or the new tag in your Quadlet unit. Nothing happens on first start and nothing needs migrating. This release is amd64 only: arm64 boxes stay on 2.13.1 until 2.14.1. +Run a plain `helm upgrade` to the 2.14.0 chart, or use the new tag in your Quadlet unit. Nothing to migrate and nothing new to set up. + +Tired of slow catch-up after an outage? [Talk to an engineer](/talk-to-an-engineer/). diff --git a/src/content/releases/flow/2.14.1.md b/src/content/releases/flow/2.14.1.md index 7b754090..dcfcb153 100644 --- a/src/content/releases/flow/2.14.1.md +++ b/src/content/releases/flow/2.14.1.md @@ -3,20 +3,23 @@ product: flow version: "2.14.1" date: 2026-11-17 published: true -summary: "2.14.0 with the arm64 image added, and nothing else. There is no change to the code, the chart, the settings or your flows." +english_rewrite: true +summary: "All 29 MCP tools and the fast batched drain now work on arm64 too." highlights: - - "The image is built for linux/amd64 and linux/arm64 again, and the 2.14.1, 2.14 and 2 tags hold both." - - "Nothing else changed: the README and install pages name 2.14.1." + - "One image covers amd64 and arm64." + - "An arm64 box gets the full MCP tool set and the batched drain." + - "Nothing else changed, so your flows run as they did." breaking: [] --- -HotLoop Flow 2.14.1 is 2.14.0 with the arm64 image added, and nothing else. 2.14.0 shipped amd64 only so it could get to production and read stable first, and this is the one small bump that builds both. There is no change to the code, the chart, the settings or your flows. +Run the fast drain and the full MCP tool set on an arm64 box, with the same image as your x86 boxes. -## What changed +## What you get -- The image is built for linux/amd64 and linux/arm64. The `2.14.1`, `2.14` and `2` tags hold both. -- The README and the install pages name 2.14.1 and say amd64 and arm64. +- **One image, both architectures.** The image is built for linux/amd64 and linux/arm64, and the same tags hold both. ## Upgrade -A plain `helm upgrade` to the 2.14.1 image and chart, or the new tag in your Quadlet unit. If you are on arm64 and stayed on 2.13.1 while 2.14.0 was amd64 only, this is your move to the rest of the MCP tools and the batched drain: read the 2.14.0 notes for what they are. Nothing happens on first start and nothing needs migrating. +Run a plain `helm upgrade` to the 2.14.1 chart, or use the new tag in your Quadlet unit. Nothing to migrate and nothing new to set up. + +Draining backlogs on arm64? [Talk to an engineer](/talk-to-an-engineer/). diff --git a/src/content/releases/flow/2.15.0.md b/src/content/releases/flow/2.15.0.md index 1a7c98bc..75262c8e 100644 --- a/src/content/releases/flow/2.15.0.md +++ b/src/content/releases/flow/2.15.0.md @@ -3,12 +3,25 @@ product: flow version: "2.15.0" date: 2026-11-19 published: true -summary: "FlowLab gets a database sink that keeps what a database misses and a replay of a finished run, and the editor and node text come in 13 languages besides English." +english_rewrite: true +summary: "FlowLab writes straight to PostgreSQL or TimescaleDB, keeps what the database misses, and replays a finished run." highlights: - - "Postgres out for FlowLab diagrams writes a row per pass into PostgreSQL or TimescaleDB. Mark it durable and rows the database misses wait on disk and are written in order when it is back: 30,000 waiting rows were all written in order 5 to 7 seconds after the database returned in our test." - - "Replay last run plays a finished diagram run back on the canvas, slowed down, from what it recorded. The recording is also an API route and an MCP tool." - - "The editor, the node text and the dashboard page are in English plus 13 languages, right to left for Arabic. The translations are first drafts without a native-speaker review." - - "This release is amd64 only. The arm64 image comes in 2.15.1, and the 2 tag keeps its arm64 image until then." + - "Postgres out writes a row per pass, and a durable one waits on disk while the database is away." + - "Replay last run plays a finished run back on the canvas, slowed down." + - "The editor, node text and dashboard page speak English plus 13 languages." breaking: [] --- +Log every pass to the database you already run, and see what a run did after it ends. Your operators read the screen in their own language. + +## What you get + +- **A database sink that waits for you.** In our test, 30,000 waiting rows were all written in order, 5 to 7 seconds after the database came back. +- **Replay, not guesswork.** A finished run plays back from what it recorded. The recording is also an API route and an MCP tool. +- **Fourteen languages.** The editor, the node text and the dashboard page run in English plus 13 languages, with right to left layout for Arabic. + +## Upgrade + +Run a plain `helm upgrade` to the 2.15.0 chart, or use the new tag in your Quadlet unit. Nothing to migrate and nothing new to set up. + +Logging runs to your database? [Talk to an engineer](/talk-to-an-engineer/). diff --git a/src/content/releases/flow/2.8.0.md b/src/content/releases/flow/2.8.0.md index 3f7ce269..faaec6c5 100644 --- a/src/content/releases/flow/2.8.0.md +++ b/src/content/releases/flow/2.8.0.md @@ -3,35 +3,26 @@ product: flow version: "2.8.0" date: 2026-11-01 published: true -summary: "FlowLab gets analysis nodes, a data acquisition node for NI hardware, an MQTT output that keeps what the broker misses, and a TDMS log. Every flow you have runs the way it did." +english_rewrite: true +summary: "FlowLab gets analysis nodes, NI data acquisition and an MQTT output that keeps what the broker misses." highlights: - - "Statistics, integral, derivative and Butterworth filter nodes that work on an array of readings." - - "A data acquisition node that reads NI hardware through NI's gRPC Device Server." - - "A durable MQTT output: a message the broker misses is written to disk and sent in order when the broker is back, even across a restart." - - "A TDMS log, with a reader and writer written from NI's public format documentation." - - "28 node types in the FlowLab section of the palette, up from 21." + - "Statistics, integral, derivative and Butterworth filter nodes work on an array of readings." + - "A data acquisition node reads NI hardware through NI's gRPC Device Server." + - "A durable MQTT output and a TDMS log keep every reading." breaking: [] --- -HotLoop Flow 2.8.0 adds four things to FlowLab, the diagram tab for test benches and data loggers: analysis nodes, a data acquisition node for NI hardware, an MQTT output that keeps what the broker misses, and a TDMS log. Flows run exactly as they did, a flow file you have today loads and saves byte for byte, and a tab that isn't a diagram doesn't see any of it. +Measure, filter and log in one diagram, and lose nothing when the broker drops out. Every flow you have runs the way it did. -## What's new +## What you get -**Analysis.** Four nodes work on an array of readings: statistics (mean, RMS, smallest, largest and standard deviation), integral (the area under the array by the trapezoid rule, as one number or as a running area), derivative (the slope at each sample), and a Butterworth filter of order 1 to 10 as a lowpass, highpass, bandpass or bandstop, with the cutoff in hertz. The results are checked against values worked out by hand. - -**A data acquisition node.** `read DAQ task` reads samples from NI hardware, such as a CompactDAQ chassis, through NI's gRPC Device Server. The client is about as small as it can be: Go's own HTTP/2 with hand-written messages, so the binary didn't take on a gRPC library. NI's published protocol definitions are in `third_party/ni-grpc-device` under their license, with a notice in NOTICE. - -**An MQTT output that loses nothing.** `mqtt out` publishes through the broker the flow file configures, the same connection the MQTT nodes use. Mark it durable and a message the broker misses is written to disk before the node finishes and sent, oldest first, when the broker is back, even across a restart. Nothing overtakes anything waiting ahead of it. Its sent output says whether the message went straight out. - -**A TDMS log.** `log to TDMS file` appends a record to a TDMS file, one channel per field, and the file opens in the tools a lab already has. The reader and writer were written from NI's public format documentation. A file whose last write was cut short by a power loss still reads up to the last whole value. - -## What changed - -- There are now 28 node types in the FlowLab section of the palette, up from 21, and the README says so. -- A step that failed once in the 2.7.1 run printed nothing, and the cause was the collector test comparing a span before the log it reads had all of it; it waits for the whole span now. Two more tests were made to wait for what they check. None of that ships. -- The README's pictures were retaken so the top bar says v2.8.0. -- The binary and image sizes in the README were read again for this release. +- **Analysis you can check.** Mean, RMS, smallest, largest and standard deviation, plus integral, derivative and a Butterworth filter of order 1 to 10. Results match values worked out by hand. +- **NI hardware in the diagram.** `read DAQ task` reads samples from a CompactDAQ chassis. +- **MQTT that loses nothing.** Mark `mqtt out` durable and a message the broker misses is written to disk and sent oldest first when the broker is back, even across a restart. +- **A TDMS log your lab can open.** One channel per field, and a file cut short by a power loss still reads up to the last whole value. ## Upgrade -On amd64, a plain `helm upgrade` to the 2.8.0 image and chart, or the new tag in your Quadlet unit. On arm64, stay where you are until 2.8.1, which is this release with arm64 added and nothing else. Nothing happens on first start and there is nothing to migrate. +Run a plain `helm upgrade` to the 2.8.0 chart, or use the new tag in your Quadlet unit. Nothing to migrate and nothing new to set up. + +Logging from NI hardware? [Talk to an engineer](/talk-to-an-engineer/). diff --git a/src/content/releases/flow/2.8.1.md b/src/content/releases/flow/2.8.1.md index c19b2d46..f8873574 100644 --- a/src/content/releases/flow/2.8.1.md +++ b/src/content/releases/flow/2.8.1.md @@ -3,20 +3,23 @@ product: flow version: "2.8.1" date: 2026-11-02 published: true -summary: "2.8.0 with the arm64 image added, and nothing else. There is no change to the code, the chart, the settings or your flows." +english_rewrite: true +summary: "Analysis nodes, NI data acquisition, durable MQTT and the TDMS log now run on arm64 too." highlights: - - "The image is built for linux/amd64 and linux/arm64 again, and the 2.8.1, 2.8 and 2 tags hold both." - - "Nothing else changed: the README and install pages name 2.8.1." + - "One image covers amd64 and arm64." + - "An arm64 box gets the analysis nodes, data acquisition, durable MQTT and the TDMS log." + - "Nothing else changed, so your flows run as they did." breaking: [] --- -HotLoop Flow 2.8.1 is 2.8.0 with the arm64 image added, and nothing else. 2.8.0 shipped amd64 only so it could get to production and read stable first, and this is the one small bump that builds both. There is no change to the code, the chart, the settings or your flows. +Take FlowLab's measurement tools to an arm64 box. The image is the same one your x86 boxes use. -## What changed +## What you get -- The image is built for linux/amd64 and linux/arm64 again. The `2.8.1`, `2.8` and `2` tags hold both. -- The README and the install pages name 2.8.1 and say amd64 and arm64, as they did before 2.8.0. +- **One image, both architectures.** The image is built for linux/amd64 and linux/arm64, and the same tags hold both. ## Upgrade -A plain `helm upgrade` to the 2.8.1 image and chart, or the new tag in your Quadlet unit. If you are on arm64 and stayed on 2.7.1 while 2.8.0 was amd64 only, this is your move to the analysis nodes, the data acquisition node, the durable MQTT output and the TDMS log: read the 2.8.0 notes for what they are. Nothing happens on first start and nothing needs migrating. +Run a plain `helm upgrade` to the 2.8.1 chart, or use the new tag in your Quadlet unit. Nothing to migrate and nothing new to set up. + +Measuring on an arm64 box? [Talk to an engineer](/talk-to-an-engineer/). diff --git a/src/content/releases/flow/2.9.0.md b/src/content/releases/flow/2.9.0.md index 24b8eb64..5eb7e97b 100644 --- a/src/content/releases/flow/2.9.0.md +++ b/src/content/releases/flow/2.9.0.md @@ -3,40 +3,25 @@ product: flow version: "2.9.0" date: 2026-11-13 published: true -summary: "Native Node-RED connector nodes for a plant migration (Modbus, the dashboard, PostgreSQL and e-mail), Buffer and setInterval in the function node, and a network interface for every client. A flow that used none of them runs as it did." +english_rewrite: true +summary: "Flow runs the Node-RED Modbus, dashboard, PostgreSQL and e-mail nodes natively, so a captured Node-RED flow loads and runs unchanged." highlights: - - "Node-RED Modbus, dashboard, PostgreSQL and e-mail nodes run natively, so a captured Node-RED flow that uses them loads, runs and saves unchanged." - - "The function node has Buffer, setTimeout and setInterval, with the same CPU limit as a message and every timer cleared when the flow stops." - - "A node, a tab or a client config can name the network interface its connections bind to, so one Flow can keep a tab per VLAN even when every VLAN has the same subnet." - - "Nothing ran on a plant's own devices: it was proven against simulators, PostgreSQL 17 and an SMTP conversation in a lab." + - "A flow captured from a Node-RED box that uses them loads, runs and saves unchanged." + - "The function node has Buffer and setInterval, and every timer is cleared when the flow stops." + - "One Flow keeps a tab per VLAN, even when every VLAN has the same subnet." breaking: [] --- -HotLoop Flow 2.9.0 adds native connector nodes for a real plant migration. It runs the Node-RED nodes a plant's flows lean on, Modbus, the dashboard, PostgreSQL and e-mail, plus the `Buffer` and `setInterval` the function nodes around them call. A flow captured from a Node-RED box that uses them loads, runs and saves unchanged. It also lets one Flow keep a tab for each machine on a box whose one port carries a VLAN for each, even when every VLAN has the same subnet and the same device addresses. +Bring a plant's flows over and keep them running. The nodes your Node-RED flows lean on are built in, so a flow that uses them needs no rewrite. -## What's new +## What you get -- **Node-RED Modbus.** `modbus-client`, `modbus-read`, `modbus-getter`, `modbus-flex-getter`, `modbus-write`, `modbus-flex-write`, `modbus-server`, and the passive `modbustcp-server`. The output is what the community nodes send: `msg.payload` as the list of values, `msg.responseBuffer` as `{data, buffer}`, `msg.input`, and errors out the second output. -- **The dashboard.** `ui_base`, `ui_tab`, `ui_group`, `ui_link`, `ui_spacer`, `ui_text`, `ui_numeric`, `ui_button`, `ui_switch`, `ui_text_input`, `ui_led`, `ui_gauge`, `ui_chart` and `ui_template`, served at `/ui` from the binary, with nothing fetched from outside the plant. What an operator does on the page comes out of the node as a message. `ui_template` runs the AngularJS-style subset plants use: `{{ }}`, `ng-click`, `ng-class`, `ng-init`, `ng-show`, `ng-hide`, `ng-if`, `ng-bind`, `scope.$watch`, `scope.send`. -- **PostgreSQL.** `postgreSQLConfig` and `postgresql`. The connection opens on the first query, so a database that is not up yet does not stop the flow. -- **E-mail.** The `e-mail` output node over SMTP, with STARTTLS, a certificate switch and XOAUTH2. -- **`Buffer`, `setInterval` and `setTimeout` in the function node.** The timers run on the node's clock, every callback has the same CPU limit as a message, and every timer is cleared when the flow stops or is redeployed. -- **A network interface for every client.** A node, a tab or a client config can name the interface its connections bind to (`SO_BINDTODEVICE`), so a tab for dryer 14 reaches only VLAN 14's `192.168.1.5`. The tab way is the environment variable `FLOW_NETWORK_INTERFACE` on the tab, which every client node on it inherits. It is on the Modbus, PostgreSQL, e-mail, TCP request, UDP out and HTTP request nodes. - -The README has a new section, `docs/node-red-types.md` says what runs and how it differs, and `docs/compatibility.md` is regenerated from the registry. - -## What changed - -- The function node had `Buffer`, `setTimeout` and `setInterval` absent on purpose, and two tests pinned that. They are present now, because a plant's functions use them. Nothing else about the sandbox changed: there is still no `require`, no `process` and no Node standard library. -- The Modbus library Flow uses is now a patched copy in the repository (`third_party/modbus`, MIT) with one hook added, a dialer, so a socket can be bound to an interface before it connects. With the hook unset it behaves as the upstream does. The NOTICE file says what changed. -- The reason is the native Node-RED connector nodes for a real plant migration. +- **Modbus, dashboard, PostgreSQL and e-mail.** The Modbus read, write and server nodes, the `ui_*` dashboard nodes served from the binary with nothing fetched from outside the plant, `postgresql`, and e-mail over SMTP with STARTTLS and XOAUTH2. +- **Pin a tab to a VLAN.** Name a network interface on a node, a tab or a client config. A tab for dryer 14 reaches only VLAN 14's `192.168.1.5`. +- **Functions that behave.** `Buffer`, `setTimeout` and `setInterval` work in the function node, with the same CPU limit as a message. ## Upgrade -A plain `helm upgrade` to the 2.9.0 image and chart, or the new tag in your Quadlet unit. Nothing happens on first start, nothing needs migrating, and a flow that used none of the new types runs as it did. A flow that already has these types in it (a captured Node-RED file) now starts them where it used to report each one as an unknown node type. - -## A change to NOTICE and the licenses - -NOTICE gains the Modbus library's entry, which is now a modified copy. No new third-party module is in the image. +Run a plain `helm upgrade` to the 2.9.0 chart, or use the new tag in your Quadlet unit. Nothing to migrate and nothing new to set up. -Image: `ghcr.io/hotloop-io/hotloop-flow:2.9.0`, linux/amd64 first, with arm64 following in 2.9.1. 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.9.0/README.md +Moving a plant's Node-RED flows? [Talk to an engineer](/talk-to-an-engineer/). diff --git a/src/content/releases/flow/2.9.1.md b/src/content/releases/flow/2.9.1.md index 2ae169d4..b3b7eadf 100644 --- a/src/content/releases/flow/2.9.1.md +++ b/src/content/releases/flow/2.9.1.md @@ -3,23 +3,24 @@ product: flow version: "2.9.1" date: 2026-11-13 published: true -summary: "The modbus-server node can listen on one VLAN interface, so one Flow can run a server on each VLAN of a port at the same address and port." +english_rewrite: true +summary: "One Flow can run a Modbus server on every VLAN of a port, at the same address and port." highlights: - - "modbus-server takes a network interface, bound before it listens, so two servers on the same address and port on two VLANs no longer collide." - - "With no interface set it listens as it always did, and two servers on one address and port still collide, now with an error that says each needs an interface." + - "The Modbus server node takes a network interface and binds to it before it listens." + - "Two servers on the same address and port on two VLANs no longer collide." + - "With no interface set, it listens as it always did." breaking: [] --- -HotLoop Flow 2.9.1 lets the `modbus-server` node listen on one VLAN's interface, so one Flow can run a server on each VLAN of a port at the same address and port. +Give each machine its own VLAN and keep one address for all of them. One Flow serves every VLAN, so you run one box, not one per machine. -## What's new +## What you get -- **`modbus-server` takes a network interface.** The listening socket is bound to the interface before it listens, so two servers on the same address and port on two VLANs no longer collide. The setting is the same as on every client: the node's own **Network interface**, else `FLOW_NETWORK_INTERFACE` in its tab's environment variables. With neither, it listens as it always did, and two servers on one address and port still collide, now with an error that says each needs an interface. - -## What changed - -- The patched Modbus library copy in `third_party/modbus` has one more hook, a listener, next to the dialer from 2.9.0. Unset, it behaves as the upstream does. The NOTICE file says what changed. +- **Set the interface once.** Use the node's Network interface, or `FLOW_NETWORK_INTERFACE` in its tab's environment variables. +- **Same address, no clash.** Each server binds to its VLAN's interface, so identical addresses and ports sit side by side. ## Upgrade -A plain `helm upgrade` to the 2.9.1 image and chart, or the new tag in your Quadlet unit. Nothing happens on first start and nothing needs migrating. A flow that sets no interface behaves exactly as it did on 2.9.0. +Run a plain `helm upgrade` to the 2.9.1 chart, or use the new tag in your Quadlet unit. Nothing to migrate and nothing new to set up. + +Serving Modbus on several VLANs? [Talk to an engineer](/talk-to-an-engineer/).