Node-RED 0.3.0 is now available to download or npm install.
Part of the keeping-it-simple approach to Node-RED meant we provided a single workspace to create the flows on. We made the workspace really big so you could fit a lot on, but there was only one.
This worked up to a point, but it finally became clear we needed a better way to help users organise their flows.
In thinking about how to approach the problem, two use cases became apparent:
- being able to place discrete flows on their own workspace,
- being able to group a set of nodes into a ‘sub-flow’ that can be wired in to other flows as a single entity
With this new release, we begin to address these requirements by supporting multiple tabs/sheets/workspaces (the naming is still a little confused under the covers).
It may seem like a small step, but it has driven quite a bit of thought over the above use cases and how we should tackle them.
So whilst we don’t have sub-flows yet, we do have a better understanding of what they are and how they’ll be represented in both the underlying flows-file and the UI.
This release also brings a reorganisation of the nodes that are included in the main repository. Some of the nodes, typically the more esoteric or hardware-specific, have moved over to the node-red-nodes repository. We’ve updated the install instructions with information on installing these additional nodes.
A major omission of the project has been a set of reusable tests. As we use Node-RED all the time, our testing approach has largely been just using it - not very rigorous.
We’ve started adding some unit tests for the core server code, and will begin to add tests for the core nodes as well.