Slide 1

Slide 1 text

@knolleary Node-RED in 2022

Slide 2

Slide 2 text

@knolleary twitter.com github.com /knolleary twitch.tv ● Nick O’Leary ● Node-RED Project Lead ● Founder & CTO FlowForge Inc. About Me

Slide 3

Slide 3 text

@knolleary Node-RED in 2022 (so far) releases 876 20 14 commits contributors

Slide 4

Slide 4 text

@knolleary

Slide 5

Slide 5 text

@knolleary nodered.org/about/releases

Slide 6

Slide 6 text

@knolleary nodered.org/about/releases

Slide 7

Slide 7 text

@knolleary npm install node-red 2015 2019 2020 2021 2022 2016 2017 2018

Slide 8

Slide 8 text

@knolleary 2018 2019 2020 2021 2022 Discourse Growth Pageviews

Slide 9

Slide 9 text

@knolleary 2018 2019 2020 2021 2022 Discourse Growth Monthly Sign-ups

Slide 10

Slide 10 text

@knolleary 237,960,000 Pulls of the nodered/node-red Docker Image since October 2019

Slide 11

Slide 11 text

@knolleary 238,041,586 Pulls of the nodered/node-red Docker Image since October 2019

Slide 12

Slide 12 text

@knolleary Node Growth Modules shared on flows.nodered.org Modules using @scoped/name 2014 2015 2016 2017 2018 2019 2020 2021 2022

Slide 13

Slide 13 text

@knolleary Scorecards Introduced in January 2022 Generated when a node is updated on the library 878 nodes added/updated that now have scorecards

Slide 14

Slide 14 text

@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

Slide 15

Slide 15 text

@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

Slide 16

Slide 16 text

@knolleary Node-RED 3.0

Slide 17

Slide 17 text

@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

Slide 18

Slide 18 text

@knolleary Context Menu Quick access to common actions. Easier to discover what is available.

Slide 19

Slide 19 text

@knolleary Junctions

Slide 20

Slide 20 text

@knolleary Debug Path Tooltip Quickly find nodes that are logging to the Debug sidebar, wherever they are.

Slide 21

Slide 21 text

@knolleary Continuous Search Navigate search results from the workspace toolbar

Slide 22

Slide 22 text

@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

Slide 23

Slide 23 text

@knolleary What’s Next?

Slide 24

Slide 24 text

@knolleary ● Locking Flows ● URL Linking to Individual Nodes ● Global Environment Variable management ● Splitting Flow File ● Better Environment Variable Workflow Currently Under Development/Discussion

Slide 25

Slide 25 text

@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

Slide 26

Slide 26 text

@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

Slide 27

Slide 27 text

@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

Slide 28

Slide 28 text

@knolleary http://localhost:1880/#flow/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

Slide 29

Slide 29 text

@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

Slide 30

Slide 30 text

@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.

Slide 31

Slide 31 text

@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

Slide 32

Slide 32 text

@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

Slide 33

Slide 33 text

@knolleary ● Weekly Node-RED LiveStream Monday 8pm (UK) https://twitch.tv/knolleary Thank You