You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _posts/2015-02-08-version-0-10-1-released.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,7 +36,7 @@ One footnote regarding subflows, as they are handled slightly differently. If an
36
36
37
37
#### Securing the Editor
38
38
39
-
In previous releases, the editor could be secured using HTTP Basic Authentication by hardcoding a username/password in the settings file. Whilst that worked for simple local installations of node-red, it was never really a good solution.
39
+
In previous releases, the editor could be secured using HTTP Basic Authentication by hardcoding a username/password in the settings file. Whilst that worked for simple local installations of Node-RED, it was never really a good solution.
40
40
41
41
This release brings a better framework for securing the editor.
Copy file name to clipboardExpand all lines: _posts/2015-02-25-changing-where-node-red-stores-data.md
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,28 +5,28 @@ author: nick
5
5
---
6
6
7
7
One of the things we've been thinking about recently is our upgrade process.
8
-
How does a user go from version A of node-red to version B with as little effort as possible.
8
+
How does a user go from version A of Node-RED to version B with as little effort as possible.
9
9
10
-
By default, we write your data to the directory that node-red has been installed. This means you cannot just replace that directory with the newest version of node-red. You first have to backup your data first. Whilst this is obviously always a prudent thing to do, what exactly constitutes 'your data' is a longish list of files/directories that is prone to mistakes that leads to something getting lost - especially for users who are not so used to copying files around etc.
10
+
By default, we write your data to the directory that Node-RED has been installed. This means you cannot just replace that directory with the newest version of Node-RED. You first have to backup your data first. Whilst this is obviously always a prudent thing to do, what exactly constitutes 'your data' is a longish list of files/directories that is prone to mistakes that leads to something getting lost - especially for users who are not so used to copying files around etc.
11
11
12
12
It also meant we often told users to run from a git clone of the repository - as the upgrade path there is simply running `git pull` and `npm update`. But this left users running the latest development code, not the latest stable release - far from ideal for reasons I'll discuss later.
13
13
14
-
We have had the `userDir` setting for a while now that allows you to point to a directory that all of your data should be put - that helps to keep it separate from the node-red install. One of our rules around things 'Just Working' is that we should have the right default behaviour. As soon as we require a user to edit settings.js in order to ensure their data is somewhere sensible, we're failed.
14
+
We have had the `userDir` setting for a while now that allows you to point to a directory that all of your data should be put - that helps to keep it separate from the Node-RED install. One of our rules around things 'Just Working' is that we should have the right default behaviour. As soon as we require a user to edit settings.js in order to ensure their data is somewhere sensible, we're failed.
15
15
16
16
### A new default
17
17
18
-
The upcoming 0.10.4 release of node-red will include a change to the default behaviour of node-red: user data will be written to the directory `$HOME/.node-red/`. This ensures your data is kept separate from the node-red install, meaning an upgrade is much easier to do - you just upgrade node-red.
18
+
The upcoming 0.10.4 release of Node-RED will include a change to the default behaviour of Node-RED: user data will be written to the directory `$HOME/.node-red/`. This ensures your data is kept separate from the Node-RED install, meaning an upgrade is much easier to do - you just upgrade Node-RED.
19
19
20
20
21
-
To ensure complete backwards compatibility, the following steps are taken by node-red when it decides where to store data:
21
+
To ensure complete backwards compatibility, the following steps are taken by Node-RED when it decides where to store data:
22
22
23
23
1. if `userDir` is explicitly specified at start-up, either via `settings.js` (as before), or via a new command-line argument: `node red.js --userDir /var/node-red/data`
24
24
25
25
This means users who already set `userDir` are unaffected, and it is even easier to explicitly point at a specific directory if you want to switch between configurations quickly.
26
26
27
-
2. if we detect the presence of user data in the node-red install directory (specifically, the presence of the `.config.json` file), we will continue to use the node-red install directory to store the data.
27
+
2. if we detect the presence of user data in the Node-RED install directory (specifically, the presence of the `.config.json` file), we will continue to use the Node-RED install directory to store the data.
28
28
29
-
This will mean existing node-red installs will continue to run as before. We will not move existing data to `$HOME/.node-red`
29
+
This will mean existing Node-RED installs will continue to run as before. We will not move existing data to `$HOME/.node-red`
30
30
31
31
3. if none of the above applies, we will use `$HOME/.node-red`. In other words, brand new installs will do this.
32
32
@@ -36,9 +36,9 @@ The documentation on [how to upgrade](http://nodered.org/docs/getting-started/up
36
36
## Installing Node-RED
37
37
38
38
39
-
This change also brings a change to how we recommend node-red is installed. Rather than downloading zip file, we will recommend the use of npm to install node-red.
39
+
This change also brings a change to how we recommend Node-RED is installed. Rather than downloading zip file, we will recommend the use of npm to install Node-RED.
40
40
41
-
The following command will do a global install of node-red:
41
+
The following command will do a global install of Node-RED:
42
42
43
43
sudo npm install -g node-red
44
44
@@ -56,9 +56,9 @@ If you choose to install it locally, rather than globally, you can still upgrade
56
56
57
57
Some users chose to clone the git repository and run from there. This has the advantage of getting all of the very latest changes, but it has always been at the risk of picking up still-under-developement code.
58
58
59
-
In the very near future, we will be adding a build step into the development process that will sit between the code in git and what constitutes a runnable instance of node-red.
59
+
In the very near future, we will be adding a build step into the development process that will sit between the code in git and what constitutes a runnable instance of Node-RED.
60
60
61
-
You will _not_ be able to run node-red straight from a git clone without first running a build. This will require the development dependencies to be installed - not just the production ones.
61
+
You will _not_ be able to run Node-RED straight from a git clone without first running a build. This will require the development dependencies to be installed - not just the production ones.
62
62
63
63
We'll share more details of this just before it goes into the repository. But by way of advanced warning, if you are running from git just to get the very latest code, be prepared.
Copy file name to clipboardExpand all lines: _posts/2015-04-01-version-0-10-6-released.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ You may have spotted this release is `0.10.6`. You may be wondering what happene
18
18
19
19
Previously, the very last commit I do before cutting a new release is to bump the version number in `package.json`. At that point, anyone who installed the release from npm would get that version. We would then continue development in git. If someone wanted to try out the latest code from git by cloning the repository, it would still have the same version number in its `package.json` as the previous release.
20
20
21
-
This has caused some confusion for users when reporting issues as well as some technical headaches for automated builds that pull in node-red as a dependency.
21
+
This has caused some confusion for users when reporting issues as well as some technical headaches for automated builds that pull in Node-RED as a dependency.
22
22
23
23
By immediately bumping the version in git following a release (to make it odd), and also bumping it immediately before the next release (to make it even) helps to identify the different levels.
Copy file name to clipboardExpand all lines: _posts/2015-06-16-version-0-10-8-released.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,24 +18,24 @@ Remember, at this time, we **do not** support Node.js v0.12 or io.js.
18
18
19
19
### Nodes (re)moved
20
20
21
-
One of the main changes we've made is to move some of our core nodes out to their own individual packages. This enables us to ship fixes for these nodes independently of the main release. Some of these nodes have been added as dependencies of the node-red package so they will get automatically included when `npm install` is run. Some of the nodes are no longer included and have to be manually added back in.
21
+
One of the main changes we've made is to move some of our core nodes out to their own individual packages. This enables us to ship fixes for these nodes independently of the main release. Some of these nodes have been added as dependencies of the Node-RED package so they will get automatically included when `npm install` is run. Some of the nodes are no longer included and have to be manually added back in.
22
22
23
-
The following nodes have moved to their own npm package and have been added as dependencies of the node-red package so will still get included:
23
+
The following nodes have moved to their own npm package and have been added as dependencies of the Node-RED package so will still get included:
24
24
25
25
- Twitter, now provided by `node-red-node-twitter`
26
26
- Feedparse, now provided by `node-red-node-feedparser`
27
27
- Email, now provided by `node-red-node-email`
28
28
- Serialport, now provided by `node-red-node-serialport`
29
29
30
30
31
-
The following nodes have moved to their own npm package but have **not** been added as dependencies of the node-red package. This means, if you are using any of these nodes, you'll need to *manually install their new npm package to continue using them.*
31
+
The following nodes have moved to their own npm package but have **not** been added as dependencies of the Node-RED package. This means, if you are using any of these nodes, you'll need to *manually install their new npm package to continue using them.*
32
32
33
33
- IRC: `node-red-node-irc`
34
34
- Arduino: `node-red-node-arduino`
35
35
- Redis: `node-red-node-redis`
36
36
- Mongo: `node-red-node-mongodb`
37
37
38
-
Because we know not everyone reads these release notes, if node-red detects you are using any of these moved nodes, it will very clearly point you at the appropriate package to install.
38
+
Because we know not everyone reads these release notes, if Node-RED detects you are using any of these moved nodes, it will very clearly point you at the appropriate package to install.
Copy file name to clipboardExpand all lines: _posts/2015-11-06-version-0-12-0-released.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ If upgrading, please read the [upgrade instructions](http://nodered.org/docs/get
12
12
13
13
### Updated to Express 4.x
14
14
15
-
Express is the web framework we use to serve up the editor, admin api and the HTTP nodes. We've been using Express 3.x since the start, but that version is no longer maintained so we've had to move up to the latest stable version 4.x. A major version number bump like that indicates some breaking api changes in the library which, on the whole, we can hide from the Node-RED user. But if you embed node-red into your own application, and provide your own instance of Express, there may be hiccups if the versions don't match.
15
+
Express is the web framework we use to serve up the editor, admin api and the HTTP nodes. We've been using Express 3.x since the start, but that version is no longer maintained so we've had to move up to the latest stable version 4.x. A major version number bump like that indicates some breaking api changes in the library which, on the whole, we can hide from the Node-RED user. But if you embed Node-RED into your own application, and provide your own instance of Express, there may be hiccups if the versions don't match.
16
16
17
17
I've said before on the mailing list that one of my regrets with early choices made in Node-RED was that we exposed the raw Express request and response objects on the message sent by the `HTTP In` node. We want to get to a point where we can reliably encode and decode message objects to a JSON format - that isn't something we can do today with these objects attached to the message. So with this release, we are deprecating the use of any of the functions these objects provide. They will still work in this release, but you will get warning messages in the log. Most functions have alternatives that can be used - if you're not sure, jump on the [mailing list](https://groups.google.com/forum/#!forum/node-red) and ask.
Copy file name to clipboardExpand all lines: _posts/2016-10-11-version-0-15-released.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -153,7 +153,7 @@ will be the last one to support node 0.10 *and* 0.12.
153
153
This means, for now, the Raspberry Pi preinstall will be fixed at 0.15.
154
154
To make life easier, we already include a script on the preinstall image called
155
155
`update-nodejs-and-nodered` that updates node.js to the latest LTS version using the
156
-
NodeSource repositories and then reinstalls node-red on top. See [the documentation](http://nodered.org/docs/hardware/raspberrypi.html#upgrading-nodejs) for more information - including instructions for doing that upgrade manually if you so
156
+
NodeSource repositories and then reinstalls Node-RED on top. See [the documentation](http://nodered.org/docs/hardware/raspberrypi.html#upgrading-nodejs) for more information - including instructions for doing that upgrade manually if you so
0 commit comments