# 🎉 Node-RED 0.19 released

**URL:** https://discourse.nodered.org/t/node-red-0-19-released/2267
**Category:** News
**Created:** [14 August 2018 09:46 UTC](https://discourse.nodered.org/t/node-red-0-19-released/2267 "2018-08-14T09:46:08Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)
#### Post date: [14 August 2018 09:46 UTC](https://discourse.nodered.org/t/node-red-0-19-released/2267/1 "2018-08-14T09:46:08Z")

</div>

Node-RED 0.19 is now available: [https://nodered.org/blog/2018/08/14/version-0-19-released](https://nodered.org/blog/2018/08/14/version-0-19-released)

Persistable context, a redesign of the sidebar tabs and lots more.

This is also the _last_ major release that will support anything before Node 8.x.

Node 4.x has been end-of-life since April so really should not be used today. Given the pace of change in the node ecosystem, we've decided raise our minimum version to the current LTS release, Node 8. That will give a stable base as we continue our path to Node-RED 1.0.

---

<div class="post-metadata">

### Author: ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)
#### Post date: [14 August 2018 10:11 UTC](https://discourse.nodered.org/t/node-red-0-19-released/2267/2 "2018-08-14T10:11:31Z")

</div>

And there was me, just about to ask if V0.19 was coming shortly 🙂

Ta

Off to play now 🙂

Simon

---

<div class="post-metadata">

### Author: ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)
#### Post date: [14 August 2018 11:43 UTC](https://discourse.nodered.org/t/node-red-0-19-released/2267/3 "2018-08-14T11:43:26Z")

</div>

Just to say upgrades went fine on a Pi3B+ and my Win10 machine

All existing flows seem to be working fine

Great work 🙂  
Simon

---

<div class="post-metadata">

### Author: ![ghayne](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ghayne/32/39_2.png) [@ghayne](https://discourse.nodered.org/u/ghayne)
#### Post date: [14 August 2018 12:58 UTC](https://discourse.nodered.org/t/node-red-0-19-released/2267/4 "2018-08-14T12:58:17Z")

</div>

Trying to get the persistent storage working and failing miserably:  
tried inserting

```auto
contextStorage: {
   default: {
       module: "file"
   }
}

```

at the end of /home/pi/.node-red/settings.js and node red wont start. I'm missing something simple probably.

---

<div class="post-metadata">

### Author: ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)
#### Post date: [14 August 2018 13:03 UTC](https://discourse.nodered.org/t/node-red-0-19-released/2267/5 "2018-08-14T13:03:42Z")

</div>

> [@ghayne](#):
>
> at the end of /home/pi/.node-red/settings.js

Make sure you add it inside the

```auto
module.exports = {

   ...

}

```

block within the file - and make sure it is comma separated from any previous or next value.

---

<div class="post-metadata">

### Author: ![ghayne](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ghayne/32/39_2.png) [@ghayne](https://discourse.nodered.org/u/ghayne)
#### Post date: [14 August 2018 13:21 UTC](https://discourse.nodered.org/t/node-red-0-19-released/2267/6 "2018-08-14T13:21:47Z")

</div>

> [@ghayne](#):
>
> contextStorage: { default: { module: "file" } }

Thanks Nick. I tried as suggested and got:

```auto
Started Node-RED graphical event wiring tool..
14 Aug 13:17:32 - [info]
Welcome to Node-RED
===================
14 Aug 13:17:32 - [info] Node-RED version: v0.19.0
14 Aug 13:17:32 - [info] Node.js version: v8.9.4
14 Aug 13:17:32 - [info] Linux 4.14.34+ arm LE
14 Aug 13:17:37 - [info] Loading palette nodes
14 Aug 13:18:04 - [info] Settings file : /home/pi/.node-red/settings.js
(node:217) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): Error: Error loading context store 'file': Error: Cannot find module './file'
(node:217) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
14 Aug 13:18:05 - [info] Server now running at http://127.0.0.1:1880/
14 Aug 13:18:05 - [error] Node-RED runtime not started

```

---

<div class="post-metadata">

### Author: ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)
#### Post date: [14 August 2018 13:32 UTC](https://discourse.nodered.org/t/node-red-0-19-released/2267/7 "2018-08-14T13:32:57Z")

</div>

I've just tried doing same on a Pi

```
debugMaxLength: 1000,
contextStorage: {
   default: {
       module: "file"
   }
},

// The maximum number of messages nodes will buffer internally as part of their

```

Got this

```
14 Aug 14:31:51 - [info] Node-RED version: v0.19.0
14 Aug 14:31:51 - [info] Node.js version: v8.11.3
14 Aug 14:31:51 - [info] Linux 4.14.50-v7+ arm LE
14 Aug 14:31:52 - [info] Loading palette nodes
14 Aug 14:31:56 - [info] Dashboard version 2.9.6 started at /ui
14 Aug 14:31:56 - [info] Settings file : /home/pi/.node-red/settings.js
(node:2723) UnhandledPromiseRejectionWarning: Error: Error loading context store 'file': Error: Cannot find module './file' 
    at /usr/lib/node_modules/node-red/red/runtime/nodes/context/index.js:106:47
    at new Promise (<anonymous>)
    at Object.load [as loadContextsPlugin] (/usr/lib/node_modules/node-red/red/runtime/nodes/context/index.js:64:12)
    at /usr/lib/node_modules/node-red/red/runtime/index.js:165:26
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
(node:2723) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
(node:2723) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
14 Aug 14:31:56 - [info] Server now running at http://127.0.0.1:1880/
```

---

<div class="post-metadata">

### Author: ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)
#### Post date: [14 August 2018 13:44 UTC](https://discourse.nodered.org/t/node-red-0-19-released/2267/8 "2018-08-14T13:44:55Z")

</div>

@cymplecy @ghayne oops. should be `localfilesystem` not `file` in the module field. Have updated the docs.

---

<div class="post-metadata">

### Author: ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)
#### Post date: [14 August 2018 13:53 UTC](https://discourse.nodered.org/t/node-red-0-19-released/2267/9 "2018-08-14T13:53:03Z")

</div>

> [@knolleary](#):
>
> localfilesystem

That works

suggestion to add something in like this to default settings.js

> // By default, the Node-RED UI accepts connections on all IPv4 interfaces.  
> // To listen on all IPv6 addresses, set uiHost to "::",  
> // The following property can be used to listen on a specific interface. For  
> // example, the following would only allow connections from the local machine.  
> //uiHost: "127.0.0.1",
> 
> // enable persistent storage  
> //  
> // contextStorage: {  
> // default: {  
> // module: "localfilesystem"  
> // }  
> // },
> 
> // Retry time in milliseconds for MQTT connections  
> mqttReconnectTime: 15000,

---

<div class="post-metadata">

### Author: ![shrickus](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/shrickus/32/517_2.png) [@shrickus](https://discourse.nodered.org/u/shrickus)
#### Post date: [14 August 2018 14:34 UTC](https://discourse.nodered.org/t/node-red-0-19-released/2267/10 "2018-08-14T14:34:13Z")

</div>

Would also like to see commented-out sample blocks for Projects and Env variables -- assuming they have not already been added (sorry, but I'm not ready to update to 0.19 yet)

---

<div class="post-metadata">

### Author: ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)
#### Post date: [14 August 2018 14:35 UTC](https://discourse.nodered.org/t/node-red-0-19-released/2267/11 "2018-08-14T14:35:40Z")

</div>

Yup, was on the todo list, but that post-it note fell off my monitor.

---

<div class="post-metadata">

### Author: ![real-prometheus](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/real-prometheus/32/1079_2.png) [@real-prometheus](https://discourse.nodered.org/u/real-prometheus)
#### Post date: [14 August 2018 16:54 UTC](https://discourse.nodered.org/t/node-red-0-19-released/2267/12 "2018-08-14T16:54:14Z")

</div>

Hi, what happened to the subflow instance properties? The most promising feature of 0.19 was announced on the roadmap, but I can't find anything about it.

---

<div class="post-metadata">

### Author: ![davidcgu](https://avatars.discourse-cdn.com/v4/letter/d/e8c25b/32.png) [@davidcgu](https://discourse.nodered.org/u/davidcgu)
#### Post date: [14 August 2018 17:03 UTC](https://discourse.nodered.org/t/node-red-0-19-released/2267/13 "2018-08-14T17:03:30Z")

</div>

Wow amazing, impatient to test it, just performing a backup of my data and later on full SDcard and will upgrade and remove all my nodes to make persistent data my own and will test.

Thanks u guys

---

<div class="post-metadata">

### Author: ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)
#### Post date: [14 August 2018 17:08 UTC](https://discourse.nodered.org/t/node-red-0-19-released/2267/14 "2018-08-14T17:08:02Z")

</div>

They are still on the roadmap, but the order of things has shuffled around a bit. Will be doing an update to the roadmap soon to reflect on where we are.

---

<div class="post-metadata">

### Author: ![ghayne](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ghayne/32/39_2.png) [@ghayne](https://discourse.nodered.org/u/ghayne)
#### Post date: [14 August 2018 17:16 UTC](https://discourse.nodered.org/t/node-red-0-19-released/2267/15 "2018-08-14T17:16:20Z")

</div>

Working well Nick, nice to have persistence that even survives a re-boot. The right panel is a great improvement. Well done!

---

<div class="post-metadata">

### Author: ![real-prometheus](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/real-prometheus/32/1079_2.png) [@real-prometheus](https://discourse.nodered.org/u/real-prometheus)
#### Post date: [14 August 2018 17:46 UTC](https://discourse.nodered.org/t/node-red-0-19-released/2267/16 "2018-08-14T17:46:40Z")

</div>

When do you expect to release the feature? Any rough estimations?

I'm really keen on it, because I have to build complex components and reuse them 20-30 times with different properties. Action flows are doing that job now, but that seems more like a workaround.

---

<div class="post-metadata">

### Author: ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)
#### Post date: [14 August 2018 18:02 UTC](https://discourse.nodered.org/t/node-red-0-19-released/2267/17 "2018-08-14T18:02:04Z")

</div>

> [@real-prometheus](#):
>
> When do you expect to release the feature? Any rough estimations?

As I said, we'll do an update to the roadmap soon to reflect where we are.

We're unlikely to put timescales on particular releases beyond the current one. As an open source project reliant on contributors helping, there are simply too many factors out of my control to put together a schedule of releases for the amount of work the 1.0 roadmap represents.

---

<div class="post-metadata">

### Author: ![Andrei](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/andrei/32/10446_2.png) [@Andrei](https://discourse.nodered.org/u/Andrei)
#### Post date: [14 August 2018 19:55 UTC](https://discourse.nodered.org/t/node-red-0-19-released/2267/18 "2018-08-14T19:55:14Z")

</div>

Just upgraded in my windows pc with no issues reported during installation. Flows seem all right too.

There is a warning in the manage pallet window. I wonder if this is due to rpi nodes now appearing in windows installations. **Nice improvements** in the design of the sidebar tabs, the wiring of nodes, select node icon, etc..

 ![nr-019-warning](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/a/a5deee60144d827db981c793912020c08b5589de.png)

---

<div class="post-metadata">

### Author: ![Paul-Reed](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/paul-reed/32/66906_2.png) [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)
#### Post date: [14 August 2018 20:29 UTC](https://discourse.nodered.org/t/node-red-0-19-released/2267/19 "2018-08-14T20:29:57Z")

</div>

Just updated to 0.19 & I'm seeing this in the 'context data' window;

![fse](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/b/b46709f8e1b592481ff6c5d546d1e622e9fdcaa5.png)

I'm presuming it's because of;

```auto
functionGlobalContext: {
        fse:require('fs-extra')

```

in my settings file.  
But as I'm now saving context to file, will this cause a problem?

---

<div class="post-metadata">

### Author: ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)
#### Post date: [14 August 2018 20:35 UTC](https://discourse.nodered.org/t/node-red-0-19-released/2267/20 "2018-08-14T20:35:09Z")

</div>

@Paul-Reed no problem there. But you've highlighted something the docs should spell out a bit more.

The `functionGlobalContext` setting is still used to seed global context, so is still the way to load extra node modules into the Function node.

If you were to do `global.set("fse","123")` that will get written to context storage, and will be the value returned by `global.get("fse")` from then on.

[Next page](https://discourse.nodered.org/t/node-red-0-19-released/2267.md?page=2)
