Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Node-RED in 2022

Nick O'Leary
October 07, 2022
38

Node-RED in 2022

Slides from my keynote talk at Node-RED Con 2022

Nick O'Leary

October 07, 2022
Tweet

Transcript

  1. @knolleary Scorecards Introduced in January 2022 Generated when a node

    is updated on the library 878 nodes added/updated that now have scorecards
  2. @knolleary Low # dependencies No known bad packages No out-of-date

    dependencies Unique node names Includes examples Has known license Provides bugs/repo url Packaging naming Identifies min NR version Identifies min Node.js version Scorecard results % of nodes with scorecards passing the check
  3. @knolleary Low # dependencies No known bad packages No out-of-date

    dependencies Unique node names Includes examples Has known license Provides bugs/repo url Packaging naming Identifies min NR version Identifies min Node.js version Scorecard results % of nodes with scorecards passing the check
  4. @knolleary • Dropped support for Node 12.x • Monaco Text

    Editor now default • Context Menu • Junctions • Continuous Search • Default Node Names • Debug Path Tooltip • Editing Stopped Flows • Dynamic Link Call Nodes Node-RED 3.0 https://nodered.org/blog/2022/07/14/version-3-0-released
  5. @knolleary • Dropped support for Node 12.x • Monaco Text

    Editor now default • Context Menu • Junctions • Continuous Search • Default Node Names • Debug Path Tooltip • Editing Stopped Flows • Dynamic Link Call Nodes Node-RED 3.0 https://nodered.org/blog/2022/07/14/version-3-0-released
  6. @knolleary • Locking Flows • URL Linking to Individual Nodes

    • Global Environment Variable management • Splitting Flow File • Better Environment Variable Workflow Currently Under Development/Discussion
  7. @knolleary Locking Flows Add the ability to lock a flow

    to prevent it being modified. Prevent accidental changes to critical parts of your application. Will also allow a better user-experience for read-only users. Discussion: https://github.com/node-red/designs/discussions/78 Status: In development - target 3.1.0
  8. @knolleary Add the ability to set globally scoped environment variables

    within the editor Removes the need to edit settings.js to add new env vars to the whole application Adds a new global-config configuration node. This could become home to other global configuration options that become exportable with the flows. Global Environment Variables Discussion: https://github.com/node-red/designs/discussions/76 Status: In development
  9. @knolleary Splitting Flow File An item that has been on

    the backlog for a long time. Increasing amount of feedback on challenges of managing Flow File in git and handling merges. Lots of custom solutions developed by the community - but something we should look at ourselves. Discussion: TBD Status: TBD
  10. @knolleary http://localhost:1880/#node/1234 http://localhost:1880/#group/1234 URL Linking to Individual Nodes Discussion: https://github.com/node-red/designs/discussions/79

    Status: PR #3870 merged - will be in 3.1.0 Node-RED already supports linking to a flow/subflow This adds ability to link to individual node or group
  11. @knolleary http://localhost:1880/#flow/1234/edit http://localhost:1880/#node/1234/edit http://localhost:1880/#group/1234/edit URL Linking to Individual Nodes Discussion:

    https://github.com/node-red/designs/discussions/79 Status: PR #3870 merged - will be in 3.1.0 Node-RED already supports linking to a flow/subflow This adds ability to link to individual node or group You can also link to the edit dialog.
  12. @knolleary http://localhost:1880/#node/1234 URL Linking to Individual Nodes Discussion: https://github.com/node-red/designs/discussions/79 Status:

    PR #3870 merged - will be in 3.1.0 Node-RED already supports linking to a flow/subflow This adds ability to link to individual node or group You can also link to the edit dialog. Button in Info Sidebar copies link for the current selected object to the clipboard
  13. @knolleary • Create tests for your flows within the editor

    • 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