🎉 Node-RED 4.0.9 released

Start your weekend with the new Node-RED 4.0.9 release!

A handle of useful fixes and a few small feature enhancements. Checkout the changelog for the full list.

  • When you select a subflow instance node, the context sidebar will now show you its flow context under the 'node' section. Super useful as this level of context was otherwise inaccessible in the editor. (#5025)
  • The context sidebar now remembers what you've expanded when you refresh, so you don't have to find your place again when checking for updated values (#5021)
  • The auto-complete for context field names now handles loooong names better (#5042)

At the time of writing, the docker containers are still building - so check back later if you need to use them.

16 Likes

Nice, a very welcome feature :+1:

6 Likes

For a moment - I read it as 4.9.0 :astonished:

Always nice to see What's happening!

Docker containers are all up on docker hub (after problems building the debian versions yesterday)

6 Likes

docker works fin :+1:

I have a pi zero running v4.0.8 with nodejs 20 on bookworm, installed using the bash curl script. It has been running with no problems.

I upgraded to 4.0.9 using
sudo npm install -g --unsafe-perm node-red
and when I restart node-red I just get Illegal instruction.

I will re-install 4.0.8 with npm and see if it recovers.

1 Like

I installed 4.0.8 using npm and it also crashed the same way. Then I ran the install script and it was ok. I assume that the script must do something different.

Are you on a Zero or a Zero 2 @Colin?
32 or 64 bit OS?

I don't see any problem on a Pi Zero 2:

pi@TestOS:~ $ node-red --version
Node-RED v4.0.8
Node.js v20.17.0
Linux 6.6.74+rpt-rpi-v7 arm LE
pi@TestOS:~ $ sudo npm install -g --unsafe-perm node-red

changed 311 packages in 1m

63 packages are looking for funding
  run `npm fund` for details
npm notice
npm notice New major version of npm available! 10.8.2 -> 11.1.0
npm notice Changelog: https://github.com/npm/cli/releases/tag/v11.1.0
npm notice To update run: npm install -g npm@11.1.0
npm notice
pi@TestOS:~ $ node-red
16 Feb 18:40:22 - [info]

Welcome to Node-RED
===================

16 Feb 18:40:22 - [info] Node-RED version: v4.0.9
16 Feb 18:40:22 - [info] Node.js  version: v20.17.0
16 Feb 18:40:22 - [info] Linux 6.6.74+rpt-rpi-v7 arm LE
16 Feb 18:40:24 - [info] Loading palette nodes
16 Feb 18:40:30 - [info] Settings file  : /home/pi/.node-red/settings.js
16 Feb 18:40:30 - [info] Context store  : 'default' [module=memory]
16 Feb 18:40:30 - [info] User directory : /home/pi/.node-red
16 Feb 18:40:30 - [warn] Projects disabled : editorTheme.projects.enabled=false
16 Feb 18:40:30 - [info] Flows file     : /home/pi/.node-red/flows.json
16 Feb 18:40:30 - [warn] Using unencrypted credentials
16 Feb 18:40:30 - [info] Server now running at http://127.0.0.1:1880/
16 Feb 18:40:30 - [info] Starting flows
16 Feb 18:40:30 - [info] [ui-base:My Dashboard] Node-RED Dashboard 2.0 (v1.22.1) started at /dashboard
16 Feb 18:40:30 - [info] [ui-base:My Dashboard] Created socket.io server bound to Node-RED port at path /dashboard/socket.io
16 Feb 18:40:30 - [info] Started flows

An original zero, 32 bit.

I have opened a new thread for this, as it is not related to the new release.

Nice work!

The only thing I found is that the Dashboard 2.0 page list at the right in node-red jumps back to top every time a page or group configuration is changed.

After a long time away from Node Red I see version 4 is out, thanks for the great work!

But it seems to me that the getting started guide

is not up-to-date with version 4? At least the Node.js versions seems to be different?

Can you be more specific about exactly what you mean?

With regard to nodejs you can specify which version you want when you run the script.

Edited a bit re node versions

1 Like