My talk from Node-RED Con 2021, looking at what the project has achieved in 2021, what was in the new 2.1 release and what priorities we have moving forward.
module handling • Inject node ‘quick inject’ button • node-red admin init command • Dropped support for Node 8.x and 10.x • HTTP Request node reimplemented with got module • HTML node - major version change of underlying Cheerio module • Major version updates of lots of internal modules - without any external changes Node-RED 2.0
module handling • Inject node ‘quick inject’ button • node-red admin init command • Dropped support for Node 8.x and 10.x • HTTP Request node reimplemented with got module • HTML node - major version change of underlying Cheerio module • Major version updates of lots of internal modules - without any external changes Node-RED 2.0
problems • Rule can be customised to personal preference • New rules can be added via additional plugins • Runs on the command-line or integrated in the editor npm install nrlint
editor themes • Install a theme plugin then make a one-line change in your settings file to enabled it • Some great community-created themes available Node-RED Theme Plugins npm install @node-red-contrib-themes/theme-collection
• Use the File Store plugin to create additional libraries on the local file-system • Combine with a file-sharing utility, such as Dropbox, and create an easy way to share flows with teammates. Node-RED Library Store Plugins npm install @node-red/library-file-store
yet • Runs a series of checks against a node - either locally or on npm - to ensure it follows best practices • Looks at package and node naming, licensing, git repository (if provided), example flows and more • Provides a report back - either as text or JSON • Will generate a scorecard for use on flows.nodered.org node-red-dev CLI for node developers coming soon
• Testing Sidebar lets you define test suites and test cases • Individual node behaviour can then be customised per-test case, letting you simulate different behaviours - for example, faking the response of an HTTP Request to test edge cases • Run tests from the sidebar, or on the command-line Node-RED Flow Testing Framework coming soon-ish Initial design sketches from January 2020