Skip to content

v4.4.0 - setvartable from msg.payload, Node-RED 5

Choose a tag to compare

@oriolrius oriolrius released this 22 Oct 10:26
· 5 commits to main since this release

Features

  • S7 Control setvartable takes the variable table from msg.payload too (#2). The first source present is used, in this order: msg.vartable, msg.payload (array of {name, addr}, e.g. straight from a File/HTTP/database node), msg.payload.vartable (the node's own output, so it can be fed back or saved and reloaded), msg.payload text (address;name per line). Entries without a name or an address are skipped with a warning. If none is valid, the table is left unchanged and an error is reported. (9ea9f96)

Fixes

  • Editor: endpoints saved or imported without the TSAP fields (rack/slot mode), or without rack/slot (TSAP mode), are no longer flagged invalid. The TSAP validator crashed on missing values. Editor scripts no longer leak globals. (a672c4a)

Compatibility

  • Node-RED 5 supported. Every release is tested end to end on Node-RED 3, 4 and 5 against a simulated S7 PLC, and the editor was checked on 3.1, 4.1 and 5.0. Node-RED 5 needs Node.js 22.9 or later.

CI

  • Releases are published by GitHub Actions with npm Trusted Publishing (OIDC), with no stored token and with provenance, after unit tests on Node.js 18/22/24 and the E2E test on Node-RED 3/4/5.

Full Changelog: v4.3.0...v4.4.0