node-red 2.1.0-beta.2 → 2.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,57 @@
1
+ #### 2.1.3: Maintenance Release
2
+
3
+ Runtime
4
+
5
+ - Update gen-publish script to update 'next' tag for main releases
6
+ - Add environment variable to enable/disable tours (#3221) @hardillb
7
+ - Fix loading non-default language files leaving runtime in wrong locale (#3225) @knolleary
8
+
9
+ Editor
10
+
11
+ - Refresh editor settings whenever a node is added or enabled (#3227) @knolleary
12
+ - Revert spinner css change that made it shrink in some cases (#3229) @knolleary
13
+ - Fix import notification message when importing config nodes (#3224) @knolleary
14
+ - Handle changing types of TypedInput repeatedly (#3223) @knolleary
15
+
16
+
17
+ #### 2.1.2: Maintenance Release
18
+
19
+
20
+ Runtime
21
+
22
+ - node-red-pi: Remove bash dependency (#3216) @a16bitsysop
23
+
24
+ Editor
25
+
26
+ - Improved regex for markdown renderer (#3213) @GerwinvBeek
27
+ - Fix TypedInput initialisation (#3220) @knolleary
28
+
29
+ Nodes
30
+
31
+ - MQTT: fix datatype in node config not used. fixes #3215 (#3219) @Steve-Mcl
32
+
33
+ #### 2.1.1: Maintenance Release
34
+
35
+ Editor
36
+
37
+ - Ensure tourGuide popover doesn't fall offscreen (#3212) @knolleary
38
+ - Fix issue with old inject nodes that migrated topic to 'string' type (#3210) @knolleary
39
+ - Add cache-busting query params to index.mst (#3211) @knolleary
40
+ - Fix TypedInput validation of type without options (#3207) @knolleary
41
+
42
+ #### 2.1.0: Milestone Release
43
+
44
+ Editor
45
+
46
+ - Position popover properly on a scrolled page
47
+ - Fixes from 2.1.0-beta.2 (#3202) @knolleary
48
+
49
+ Nodes
50
+
51
+ - Link Out: Fix saving link out node links (#3201) @knolleary
52
+ - Switch: Refix #3170 - copy switch rule type when adding new rule
53
+ - TCP Request: Add string option to TCP request node output (#3204) @dceejay
54
+
1
55
  #### 2.1.0-beta.2: Beta Release
2
56
 
3
57
  Editor
@@ -26,8 +80,6 @@ Nodes
26
80
  - Inject: Widen Inject interval box for >1 digit (#3184) @knolleary
27
81
  - Switch: Fix rule focus when switch 'otherwise' rule is used (#3185) @knolleary
28
82
 
29
-
30
-
31
83
  #### 2.1.0-beta.1: Beta Release
32
84
 
33
85
  Editor
package/bin/node-red-pi CHANGED
@@ -1,4 +1,4 @@
1
- #!/bin/bash
1
+ #!/bin/sh
2
2
  #
3
3
  # Copyright JS Foundation and other contributors, http://js.foundation
4
4
  #
@@ -29,15 +29,16 @@ do
29
29
  done
30
30
 
31
31
  # Find the real location of this script
32
- CURRENT_PATH=`pwd`
33
- SCRIPT_PATH="${BASH_SOURCE[0]}";
32
+ CURRENT_PATH=$(pwd)
33
+ SCRIPT_PATH=$(readlink -f "$0")
34
34
  while [ -h "${SCRIPT_PATH}" ]; do
35
- cd "`dirname "${SCRIPT_PATH}"`"
36
- SCRIPT_PATH="$(readlink "`basename "${SCRIPT_PATH}"`")";
35
+ cd "$(dirname "${SCRIPT_PATH}")" || exit 1
36
+ P=$(basename "${SCRIPT_PATH}")
37
+ SCRIPT_PATH=$(readlink "${P}")
37
38
  done
38
- cd "`dirname "${SCRIPT_PATH}"`" > /dev/null
39
- SCRIPT_PATH="`pwd`";
40
- cd $CURRENT_PATH
39
+ cd "$(dirname "${SCRIPT_PATH}")" > /dev/null || exit 1
40
+ SCRIPT_PATH=$(pwd)
41
+ cd "$CURRENT_PATH" || exit 1
41
42
 
42
43
  # Run Node-RED
43
- exec /usr/bin/env node $OPTIONS $SCRIPT_PATH/../red.js $ARGS
44
+ exec /usr/bin/env node ${OPTIONS} ${SCRIPT_PATH}/../red.js ${ARGS}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-red",
3
- "version": "2.1.0-beta.2",
3
+ "version": "2.1.3",
4
4
  "description": "Low-code programming for event-driven applications",
5
5
  "homepage": "http://nodered.org",
6
6
  "license": "Apache-2.0",
@@ -31,10 +31,10 @@
31
31
  "flow"
32
32
  ],
33
33
  "dependencies": {
34
- "@node-red/editor-api": "2.1.0-beta.2",
35
- "@node-red/runtime": "2.1.0-beta.2",
36
- "@node-red/util": "2.1.0-beta.2",
37
- "@node-red/nodes": "2.1.0-beta.2",
34
+ "@node-red/editor-api": "2.1.3",
35
+ "@node-red/runtime": "2.1.3",
36
+ "@node-red/util": "2.1.3",
37
+ "@node-red/nodes": "2.1.3",
38
38
  "basic-auth": "2.0.1",
39
39
  "bcryptjs": "2.4.3",
40
40
  "express": "4.17.1",
package/red.js CHANGED
@@ -194,6 +194,11 @@ if (process.env.NODE_RED_ENABLE_PROJECTS) {
194
194
  settings.editorTheme.projects.enabled = !/^false$/i.test(process.env.NODE_RED_ENABLE_PROJECTS);
195
195
  }
196
196
 
197
+ if (process.env.NODE_RED_ENABLE_TOURS) {
198
+ settings.editorTheme = settings.editorTheme || {};
199
+ settings.editorTheme.tours = !/^false$/i.test(process.env.NODE_RED_ENABLE_TOURS);
200
+ }
201
+
197
202
 
198
203
  var defaultServerSettings = {
199
204
  "x-powered-by": false