# 🎉 Node-RED 1.2.0-beta.1 released

**URL:** https://discourse.nodered.org/t/node-red-1-2-0-beta-1-released/33557
**Category:** News
**Created:** [30 September 2020 09:57 UTC](https://discourse.nodered.org/t/node-red-1-2-0-beta-1-released/33557 "2020-09-30T09:57:55Z")
**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: [30 September 2020 09:57 UTC](https://discourse.nodered.org/t/node-red-1-2-0-beta-1-released/33557/1 "2020-09-30T09:57:55Z")

</div>

The first public **beta** release of Node-RED 1.2.0 is now available.

This contains everything planned for the final release which, pending feedback on the beta, we plan to do next week.

The [Change Log](https://github.com/node-red/node-red/blob/a954c198fb735d26fc04c1cfb624a94d54e62243/CHANGELOG.md) has the full list of changes in this release, but here are the highlights:

**Note** : if any issues are reported against the beta, we'll update this post to list them here. If you hit a problem, please do check back here before adding a comment.

## Editor features

### Importing duplicate nodes/subflows

When you import a flow that contains nodes/subflows you already have, the editor will now ask you what to do. In the case of Subflows/Config nodes, it gives you the option of _replacing_ the instances you already have, rather than importing a copy.

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/2/f/2fba68d54f0b8f2de8e5932784dd6a21131310a0.png)

[More details](https://github.com/node-red/node-red/pull/2698)

### Simplified Git Workflow

The projects feature now provides an option for a simplified git workflow. The option, under User Settings, lets you enable an 'automatic' mode where changes will be automatically committed with every deploy.

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/2/7/27d04a4e614e6bdb3f228b586fa3b4738f646912.png)

[More details](https://github.com/node-red/node-red/pull/2035)

Other project enhancements include:

- the project settings dialog also now lets you edit the project's version string.
- the `flowFilePretty` option is now automatically enabled for projects unless explicitly set to `false`

### Handling 'lost' nodes

We've seen a very small number of instances where a node forgets what tab it is on and its `z` property is set to `0` - causing the node to disappear from the editor. We've never managed to recreate this issue to get to the bottom of it - something to do with deleting flows. But with this release, the editor will now help recover those lost nodes by added a 'recovery' tab to add them to.

[More details](https://github.com/node-red/node-red/pull/2691)

### Other editor features

- sidebar tabs can now be reordered ([details](https://github.com/node-red/node-red/pull/2655))
- the palette manager has an option to upload a node module tgz file rather than install from the catalog. This can be disabled in the settings. ([details](https://github.com/node-red/node-red/pull/2682))
- The ACE edit component has been updated to the latest version which brings much better support for ES6 JavaScript syntax
- Fixes issues around copy/paste of nodes within groups causing lockups.
- When merging groups, the style options of the first selected group is used for the combined group.

## Runtime features

### Splitting `.config.json` into multiple files

The runtime settings file, `.config.json` has been split in to four separate files to better organise the content and allow the user to be more selective over what they version control.

**If you have a backup script that includes `.config.json` you will need to update it to backup these other files instead**.

[More details](https://github.com/node-red/node-red/pull/2704)

### Introducing `RED.hooks` api

This is part of the pluggable message routing work. It is less relevant to end users at this point in time, but will underpin a lot of exciting features in the future, such as a proper flow debugger, distributed node-red runtimes and integrated flow testing.

[More details](https://github.com/node-red/node-red/pull/2665)

## Node Features

- The trigger node can now be configured to set its delay/repeat-interval by `msg.delay`
- The Function node's "setup" code can now log and send messages ([details](https://github.com/node-red/node-red/pull/2644))
- More of the core nodes now implement the 'done' api so can be used with the Complete node - yaml, xml, json, html, http, template, range, link, status, catch , complete, inject. Work continues on the remain nodes.

## Lots more...

Be sure to read through the [Change Log](https://github.com/node-red/node-red/blob/a954c198fb735d26fc04c1cfb624a94d54e62243/CHANGELOG.md) to see what else is in there.

## Installing the beta

If you want to try out the beta, you will need specify node-red@next when you use npm to update. Without the `@next` you'll still get 1.0.x.

So on a Pi you'd do:

```auto
sudo npm install -g --unsafe-perm node-red@next

```

## Reporting problems

If you hit any problems, please report them either as a reply on this topic, or in the #dev slack channel. Please do not post new topics to the forum regarding the beta as that could confuse users who are not using the beta.

## Outstanding work

The only outstanding work is to catch up on some translations for the new features. They won't warrant another beta release, so we plan to get the full release done next week.

---

<div class="post-metadata">

### Author: ![sebascarra](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sebascarra/32/27377_2.png) [@sebascarra](https://discourse.nodered.org/u/sebascarra)
#### Post date: [2 October 2020 13:08 UTC](https://discourse.nodered.org/t/node-red-1-2-0-beta-1-released/33557/9 "2020-10-02T13:08:39Z")

</div>

So thrilled to hear about ongoing work for distributed Node-Red in the future! Excellent job.

---

<div class="post-metadata">

### Author: ![Botched1](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/botched1/32/21190_2.png) [@Botched1](https://discourse.nodered.org/u/Botched1)
#### Post date: [2 October 2020 13:36 UTC](https://discourse.nodered.org/t/node-red-1-2-0-beta-1-released/33557/10 "2020-10-02T13:36:35Z")

</div>

I got the beta installed yesterday and started testing.

I did not have issues on any of the new features.

I tested groups/moving nodes in groups extensively, and was unable to get it to 'lock up' like I've been able to do (unfortunately a lot) in 1.1.3. so that's great!

Splitting out the config into multiple files is a welcome change.

More nodes supporting done/complete node is VERY welcome too!

Jsonata comment coloring 👍.

I don't use projects (haven't quite figured out how to make it work when running NR in a container - but that isn't for this thread), so that was untested.

---

<div class="post-metadata">

### Author: ![PJMcL](https://avatars.discourse-cdn.com/v4/letter/p/a88e57/32.png) [@PJMcL](https://discourse.nodered.org/u/PJMcL)
#### Post date: [5 October 2020 03:53 UTC](https://discourse.nodered.org/t/node-red-1-2-0-beta-1-released/33557/11 "2020-10-05T03:53:40Z")

</div>

GIT and Distributed underway.. seems like every limitation in this magnificent platform is progressively being removed ..and with style.

So glad to hear.

It's industrial-strength magic.

---

<div class="post-metadata">

### Author: ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)
#### Post date: [5 October 2020 10:16 UTC](https://discourse.nodered.org/t/node-red-1-2-0-beta-1-released/33557/12 "2020-10-05T10:16:54Z")

</div>

Just to say that despite an early hiccup (which was actually a known issue on the previous version not this one), I've been using it now since release as my development version. I've had no problems so far either with flows or custom node development.

I know this isn't specific to this version but working on the moment node again over the last week or so, I was prompted to improve my regression tests:

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/8/e/8ed62afa7c7e948bb47eb2ffffb1af51b7d728c8.png)

Really liking the nested groups 😃 (the test functions use a common function that ingests a js object of tests and outputs a node.warn if any of the tests fail).

---

<div class="post-metadata">

### Author: ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)
#### Post date: [5 October 2020 11:55 UTC](https://discourse.nodered.org/t/node-red-1-2-0-beta-1-released/33557/13 "2020-10-05T11:55:56Z")

</div>

Small issue (might have been present before 1.2.0)

If you choose markdown on a template node, the full screen editor opens without the preview button until you press it again...

 ![2020-10-05_12-53-56](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/5/6/562395747bedcfcb3deefff0636d2e7c1b1a8007.gif)

---

<div class="post-metadata">

### Author: ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)
#### Post date: [5 October 2020 14:03 UTC](https://discourse.nodered.org/t/node-red-1-2-0-beta-1-released/33557/14 "2020-10-05T14:03:11Z")

</div>

Not sure if this is a bug or an oddity.

I had the beta running and was doing some work, deleted some tabs  
I shutdown NR and downgraded to 1.1.3 to test something.  
When I started NR up, the flowhad the original tabs back.

Just thought I'd report it.

EDIT - I tried again and see that the beta made a copy of my flow so I have my flow.json and a\_myflow.json

---

<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: [5 October 2020 14:17 UTC](https://discourse.nodered.org/t/node-red-1-2-0-beta-1-released/33557/15 "2020-10-05T14:17:47Z")

</div>

> [@zenofmud](#):
>
> I tried again and see that the beta made a copy of my flow so I have my flow.json and a\_myflow.json

Umm, the beta didn't spontaneously rename your flow file. How exactly are you running Node-RED?

---

<div class="post-metadata">

### Author: ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)
#### Post date: [5 October 2020 18:09 UTC](https://discourse.nodered.org/t/node-red-1-2-0-beta-1-released/33557/16 "2020-10-05T18:09:30Z")

</div>

I’m running projects. I didn’t give the actual name so if in 1.1.3 the flow was test.json, when I switch to beta the flow was named a\_test.json

---

<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: [5 October 2020 18:17 UTC](https://discourse.nodered.org/t/node-red-1-2-0-beta-1-released/33557/17 "2020-10-05T18:17:53Z")

</div>

Is it reproducable?

---

<div class="post-metadata">

### Author: ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)
#### Post date: [5 October 2020 18:30 UTC](https://discourse.nodered.org/t/node-red-1-2-0-beta-1-released/33557/18 "2020-10-05T18:30:37Z")

</div>

Sorry, been invaded by grand kids. It is the project name that changes not the flow name. Here is a log of beta then I down grade to 1.1.3 and the startup log for it. You will see the project name changes.

What got me is I started in 1.1.3 and then switched to 1.2.0-beta.a. I deleted some of the tabs and deployed. Shutdown NR and swapped back to 1.1.3 and started up and saw all the flows I had deleted were back and the changes I made were gone.

---

<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: [5 October 2020 18:59 UTC](https://discourse.nodered.org/t/node-red-1-2-0-beta-1-released/33557/19 "2020-10-05T18:59:14Z")

</div>

So the change of project name is very strange - not something I can explain at the moment. But I can see why your old flows return when you go back to 1.1.3...

In 1.2.0 we've split the .config.json file up into multiple files - one of those is .config.projects.json - which contains information about the projects configured in Node-RED, including which is the active project.

So for some reason `.config.projects.json` has gained this extra project which it thinks is the active project. Go have a look in that file - can you see the original project listed as well as the 'new' one? Also check in `~/.node-red/projects` - can you see both original and new projects under there?

When you go back to 1.1.3, it loads the old `.config.json` file, which still has your original project listed as the active project - so it loads the flows from that project, not the 'new' one.

But this is stranger still - it's one thing to change the new of a flow file, its another to have spontaneously created a whole new project. I can't see how that's possible.~

---

<div class="post-metadata">

### Author: ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)
#### Post date: [5 October 2020 19:23 UTC](https://discourse.nodered.org/t/node-red-1-2-0-beta-1-released/33557/20 "2020-10-05T19:23:06Z")

</div>

Let me go thru the whole thing in a bit after I chase out the grandkids.

---

<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: [5 October 2020 20:04 UTC](https://discourse.nodered.org/t/node-red-1-2-0-beta-1-released/33557/21 "2020-10-05T20:04:22Z")

</div>

> [@Steve-Mcl](#):
>
> Small issue (might have been present before 1.2.0)
> 
> If you choose markdown on a template node, the full screen editor opens without the preview button until you press it again...

This must have been in there since 1.0.0 at least. I fixed it on my Twitch live stream this evening - the replay will be up shortly if you want to watch me talk it through and find the fix... 😉

---

<div class="post-metadata">

### Author: ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)
#### Post date: [5 October 2020 20:07 UTC](https://discourse.nodered.org/t/node-red-1-2-0-beta-1-released/33557/22 "2020-10-05T20:07:53Z")

</div>

Good stuff.

It's a shame (for me) your live talks are on a Monday (I struggle to get time on a Monday evening) ☹ hey ho.

I'll definitely have a watch later.

Cheers Nick.

---

<div class="post-metadata">

### Author: ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)
#### Post date: [6 October 2020 08:11 UTC](https://discourse.nodered.org/t/node-red-1-2-0-beta-1-released/33557/23 "2020-10-06T08:11:06Z")

</div>

While I haven't been able to get th sequence of events down to reproduce it, it has happened to me again. I end up with a project named 'xxxxx' and a project named 'a\_xxxxx'.

---

<div class="post-metadata">

### Author: ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)
#### Post date: [7 October 2020 22:56 UTC](https://discourse.nodered.org/t/node-red-1-2-0-beta-1-released/33557/24 "2020-10-07T22:56:59Z")

</div>

@knolleary Discovered another issue. I can run the beta fine until I secure NR in the settings fil. I used this in settings.js

```auto
    // Securing Node-RED
    // -----------------
    // To password protect the Node-RED editor and admin API, the following
    // property can be used. See http://nodered.org/docs/security.html for details.
    adminAuth: {
        type: "credentials",
        users: [{
            username: "admin",
            password: "$2b$08$bovtLPvaC3rkIS2oKwtGKOKTez/6QIW70pMJFzIobnwA0R88255xy",
            permissions: "*"
        }]
    },

```

the password is 'node-red'.

Nick, I can start deleting nodes to see if I can figure out what is happening or do what ever you want me to. This is a test system I play with all the time reproducing user errors. I'll wait to proceed till I hear from you.  
NR starts fine and I get the password screen and login and the taskbar with nodes loading starts to run until it gets to 149/198 and then it hangs.

---

<div class="post-metadata">

### Author: ![krambriw](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/krambriw/32/5429_2.png) [@krambriw](https://discourse.nodered.org/u/krambriw)
#### Post date: [8 October 2020 04:09 UTC](https://discourse.nodered.org/t/node-red-1-2-0-beta-1-released/33557/25 "2020-10-08T04:09:31Z")

</div>

> [@knolleary](#):
>
> But with this release, the editor will now help recover those lost nodes by added a 'recovery' tab to add them to

Yes, this happened to me but all lost nodes where almost impossible to "grab" or see. They where piled together up in the left corner of the tab area, partly outside of the area

---

<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: [8 October 2020 06:07 UTC](https://discourse.nodered.org/t/node-red-1-2-0-beta-1-released/33557/26 "2020-10-08T06:07:31Z")

</div>

> [@zenofmud](#):
>
> NR starts fine and I get the password screen and login and the taskbar with nodes loading starts to run until it gets to 149/198 and then it hangs.

Have you checked the browser console for any errors?

---

<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: [8 October 2020 06:08 UTC](https://discourse.nodered.org/t/node-red-1-2-0-beta-1-released/33557/27 "2020-10-08T06:08:14Z")

</div>

> [@krambriw](#):
>
> They where piled together up in the left corner of the tab area, partly outside of the area

Any errors in the browser console?

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