# 🎉 Node-RED 2.2.0-beta.1 released

**URL:** https://discourse.nodered.org/t/node-red-2-2-0-beta-1-released/56601
**Category:** News
**Created:** [13 January 2022 15:55 UTC](https://discourse.nodered.org/t/node-red-2-2-0-beta-1-released/56601 "2022-01-13T15:55:00Z")
**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: [13 January 2022 15:55 UTC](https://discourse.nodered.org/t/node-red-2-2-0-beta-1-released/56601/1 "2022-01-13T15:55:01Z")

</div>

🎉 The first **beta** release of Node-RED 2.2.0 is now available.

There are not a lot of new features in this release, but here are the highlights.

The [Change Log](https://github.com/node-red/node-red/blob/81a4fe59d9c738c79332af72e16b38ea3a99442a/CHANGELOG.md) has the full list of changes.

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

## Known Issues

- Copy Text actions broken for non https/localhost domains

### Search History

The main search dialog now keeps a history of your searches. This makes it easy to repeatedly search for the same thing.

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/6/7/67f398d90ca02f72c2861c3ce14ac52d94cbfe0b.png)

### Aligning nodes

With snap-to-grid enabled, nodes with hidden labels (eg link nodes) can now be aligned on either their left or right edge. This will make it easier to get everything to line up.

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/4/d/4da8da51088497f21ab53690ac1aae1d7a24f45a.png)

There is another [pull-request](https://github.com/node-red/node-red/pull/3256) from @dceejay that will help with some alignment woes with non-grid sizes - but I'm still thinking about if that's quite the right approach. Either way, we'll have more for the final 2.2.0 release.

### Detaching nodes

You can now delete a node from the middle of a flow and have the wiring automatically repair itself in the background:

![delete-repair](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/8/c/8c4f9e00b0a37a250d945768796d7fd61740ca35.gif)

This is done by holding the Ctrl (or Cmd) key when you press delete.

You can also detach a node from the flow _without_ deleting it:

![detach-repair](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/d/9/d9c2b1f77faa67497b52c62f42606292f87539c7.gif)

We haven't assigned a default shortcut for that, but you can assign one yourself in the Keyboard pane of the Settings dialog. The action is called `core:detach-selected-nodes`.

### Selecting multiple wires

You can also select multiple wires by ctrl-clicking on them.

When you select multiple nodes, we also highlight any wires between them. This can make it easier to follow a flow once you have selected it.

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/5/b/5b84ad5b061b6d7b44a688e16b9a6ec81dc889bc.png)

### Slicing wires

Finally, we've added the ability to remove wires by slicing through them. You do this by holding the ctrl (or cmd) key, then dragging the mouse with the right-hand button pressed:

![7BkV292r4W](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/c/b/cb8e4830c8280b45eff6748cd3cd148a40805e5a.gif)

## Node Updates

- The JSON node will now attempt to parse Buffer objects if they contain a valid string
- The TCP Client nodes support TLS connections
- The WebSocket client node now lets you specify a sub-protocol to connect with

--

Be sure to read through the [Change Log](https://github.com/node-red/node-red/blob/81a4fe59d9c738c79332af72e16b38ea3a99442a/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 2.1.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 #core-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

There are a couple more PRs being considered for 2.2.0 - you can see the backlog [here](https://github.com/node-red/node-red/milestone/17) (although nothing is guaranteed until it is merged and released...)

The goal is to release 2.2.0 at the end of this month.

---

<div class="post-metadata">

### Author: ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)
#### Post date: [13 January 2022 16:01 UTC](https://discourse.nodered.org/t/node-red-2-2-0-beta-1-released/56601/2 "2022-01-13T16:01:14Z")

</div>

Awesome stuff once again Nick and all contributors!

> [@knolleary](#):
>
> You can now delete a node from the middle of a flow and have the wiring automatically repair itself in the background  
> ...  
> This is done by holding the Ctrl (or Cmd) key when you press delete.

Could this perhaps be made the default behaviour ? 🙂 ie without cmd/ctrl ?

---

<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: [13 January 2022 16:14 UTC](https://discourse.nodered.org/t/node-red-2-2-0-beta-1-released/56601/4 "2022-01-13T16:14:56Z")

</div>

No, please don't change default behaviors!! As an option is fine/great, as is key triggered, but not as default.

---

<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: [13 January 2022 16:24 UTC](https://discourse.nodered.org/t/node-red-2-2-0-beta-1-released/56601/5 "2022-01-13T16:24:45Z")

</div>

> [@Botched1](#):
>
> please don't change default behaviors

Don't worry - we wouldn't change the delete action to not actually delete!

If someone really wants to change it, they can customise their keyboard shortcuts however they want via the Keyboard pane of the main Settings dialog.

---

<div class="post-metadata">

### Author: ![softy2k](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/softy2k/32/23707_2.png) [@softy2k](https://discourse.nodered.org/u/softy2k)
#### Post date: [13 January 2022 16:26 UTC](https://discourse.nodered.org/t/node-red-2-2-0-beta-1-released/56601/6 "2022-01-13T16:26:16Z")

</div>

Some time ago I asked (on a live on twich) about the possibility of limiting the search only for the current flow.

I hoped that this option would be implemented in version 2

---

<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: [13 January 2022 16:27 UTC](https://discourse.nodered.org/t/node-red-2-2-0-beta-1-released/56601/7 "2022-01-13T16:27:41Z")

</div>

Sorry, I don't specifically recall that suggestion, and it wasn't captured anywhere (yet) as a requirement. So no, not something that has been implemented.

---

<div class="post-metadata">

### Author: ![softy2k](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/softy2k/32/23707_2.png) [@softy2k](https://discourse.nodered.org/u/softy2k)
#### Post date: [13 January 2022 16:33 UTC](https://discourse.nodered.org/t/node-red-2-2-0-beta-1-released/56601/8 "2022-01-13T16:33:42Z")

</div>

In this case, maybe somewhere in a future version.  
When you have a lot of flows it is difficult to easily find what you are looking for.

---

<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: [13 January 2022 16:37 UTC](https://discourse.nodered.org/t/node-red-2-2-0-beta-1-released/56601/9 "2022-01-13T16:37:35Z")

</div>

> [@softy2k](#):
>
> maybe somewhere in a future version.

I have now added an item to the backlog, so it will happen at some point.

https://trello.com/c/nNKZzZjF.html

---

<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: [13 January 2022 17:15 UTC](https://discourse.nodered.org/t/node-red-2-2-0-beta-1-released/56601/10 "2022-01-13T17:15:33Z")

</div>

> [@knolleary](#):
>
> we've added the ability to remove wires by slicing through them. You do this by holding the ctrl (or cmd) key, then dragging the mouse with the right-hand button pressed:

That combination is not very easy to do on a laptop (touchpad mouse), I may of missed it, but if not, could this be configurable in the keyboard shortcuts?

---

<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: [13 January 2022 17:29 UTC](https://discourse.nodered.org/t/node-red-2-2-0-beta-1-released/56601/11 "2022-01-13T17:29:30Z")

</div>

We don't have a way to allow customisation of mouse handling shortcuts currently.

But it is something I'm aware of and there are a few possible solutions - unlikely for 2.2 though.

---

<div class="post-metadata">

### Author: ![UnborN](https://avatars.discourse-cdn.com/v4/letter/u/4491bb/32.png) [@UnborN](https://discourse.nodered.org/u/UnborN)
#### Post date: [13 January 2022 20:50 UTC](https://discourse.nodered.org/t/node-red-2-2-0-beta-1-released/56601/12 "2022-01-13T20:50:22Z")

</div>

Reporting an issue with the **Export Nodes** feature in the new beta

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/c/6/c6cfbfa764eb103def3e0659cfb2d94d08fc25ee.png)

it doesnt copy the json .. tested in Firefox and Chrome  
if i remember correctly, it was an issue with the focus of that window element ?

---

<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: [13 January 2022 20:53 UTC](https://discourse.nodered.org/t/node-red-2-2-0-beta-1-released/56601/13 "2022-01-13T20:53:19Z")

</div>

> [@UnborN](#):
>
> it doesnt copy the json ..

It works fine for me 😀

**Viewing** on Chrome Version 97.0.4692.71 (Official Build) (64-bit) on Windows 10 Laptop.  
**Installed** on RasPi 3b  
Node-RED version: v2.2.0-beta.1  
Node.js version: v14.18.3  
Linux 5.10.63-v7+ arm LE

---

<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: [13 January 2022 22:12 UTC](https://discourse.nodered.org/t/node-red-2-2-0-beta-1-released/56601/14 "2022-01-13T22:12:10Z")

</div>

> [@UnborN](#):
>
> doesnt copy the json

There were some changes to how copying to the clipboard works. May have to revert if we can't identify why it doesn't work for you but does work for others.

---

<div class="post-metadata">

### Author: ![UnborN](https://avatars.discourse-cdn.com/v4/letter/u/4491bb/32.png) [@UnborN](https://discourse.nodered.org/u/UnborN)
#### Post date: [14 January 2022 02:09 UTC](https://discourse.nodered.org/t/node-red-2-2-0-beta-1-released/56601/15 "2022-01-14T02:09:15Z")

</div>

I found some time and tested a bit more ..  
the error appears when I try to Export and when i click the Copy to Clipboard button

**Firefox :**  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/a/a/aac4f1a00213d3f9c0ac6618df651cb1801e96e0.png)

**Chrome :**  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/e/beb3776584a501bc417e0bf3b85cd4eda8d4c6fa.png)

Node-red running on Windows 10  
Node-red version 2.2.0 beta and 2.1.5 have this error  
reverting to 2.1.4 is OK

---

<div class="post-metadata">

### Author: ![kuema](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/kuema/32/6542_2.png) [@kuema](https://discourse.nodered.org/u/kuema)
#### Post date: [14 January 2022 06:54 UTC](https://discourse.nodered.org/t/node-red-2-2-0-beta-1-released/56601/16 "2022-01-14T06:54:16Z")

</div>

Very nice features! Thank you Nick and all contributors!

I'm really looking forward to the new delete and wiring features, those can save a lot of time.

Installing the beta now... 🤓

---

<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 January 2022 08:03 UTC](https://discourse.nodered.org/t/node-red-2-2-0-beta-1-released/56601/17 "2022-01-14T08:03:17Z")

</div>

Re reported clipboard bug  
All seems OK here - NR running on Win11 - Vivaldi browser running on same machine

---

<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 January 2022 08:09 UTC](https://discourse.nodered.org/t/node-red-2-2-0-beta-1-released/56601/18 "2022-01-14T08:09:15Z")

</div>

I can't see core:detach-selected-nodes in the keyboard shortcut settings

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

---

<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 January 2022 08:13 UTC](https://discourse.nodered.org/t/node-red-2-2-0-beta-1-released/56601/19 "2022-01-14T08:13:03Z")

</div>

You are looking at the "C" actions. Look under "D", or filter the list for "detach".

---

<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 January 2022 08:15 UTC](https://discourse.nodered.org/t/node-red-2-2-0-beta-1-released/56601/20 "2022-01-14T08:15:09Z")

</div>

I have identified the issue with the Copy Text actions. They are broken if you not using https to access the editor, or you aren't on localhost.

---

<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 January 2022 08:16 UTC](https://discourse.nodered.org/t/node-red-2-2-0-beta-1-released/56601/21 "2022-01-14T08:16:29Z")

</div>

Got it

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/c/1/c1272bba05224460cc3d21202ea3d03838bbea98.png)

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