node-red 2.1.0 → 2.1.4

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,78 @@
1
+ #### 2.1.4: Maintenance Release
2
+
3
+ Runtime
4
+
5
+ - fix env var access using $parent for groups (#3278) @HiroyasuNishiyama
6
+ - Add proper error handling for 404 errors when serving debug files (#3277) @knolleary
7
+ - Add Japanese translations for Node-RED v2.1.0-beta.1 (#3179) @kazuhitoyokoi
8
+ - Include full user object on login audit events (#3269) @knolleary
9
+ - Remove styling from de locale files (#3237) @knolleary
10
+
11
+ Editor
12
+
13
+ - Change tab hide button icon to an eye and add search option (#3282) @knolleary
14
+ - Fix i18n handling of namespaces with spaces in (#3281) @knolleary
15
+ - Trigger change event when autoComplete fills in input (#3280) @knolleary
16
+ - Apply CN i18n fix (#3279) @knolleary
17
+ - fix select menu label of config node to use paletteLabel (#3273) @HiroyasuNishiyama
18
+ - fix removed tab not to cause node conflict (#3275) @HiroyasuNishiyama
19
+ - Group diff fix (#3239) @knolleary
20
+ - Only toggle disabled workspace flag if on activeWorkspace (#3252) @knolleary
21
+ - Do not show status for disabled nodes (#3253) @knolleary
22
+ - Set dimension value for tour guide (#3265) @kazuhitoyokoi
23
+ - Avoid redundant initialisation of TypedInput type (#3263) @knolleary
24
+ - Don't let themes change flow port label color (#3270) @bonanitech
25
+ - Fix treeList gutter calculation to handle floating gutters (#3238) @knolleary
26
+
27
+ Nodes
28
+
29
+ - Debug: Handle RegExp types in Debug sidebar (#3251) @knolleary
30
+ - Delay: fix 2nd output when in rate limit per topic modes (#3261) @dceejay
31
+ - Link: fix to show link target when selected (#3267) @HiroyasuNishiyama
32
+ - Inject: Do not modify inject node props in oneditprepare (#3242) @knolleary
33
+ - HTTP Request: HTTP Basic Auth should always add : between username and password even if empty (#3236) @hardillb
34
+
35
+ #### 2.1.3: Maintenance Release
36
+
37
+ Runtime
38
+
39
+ - Update gen-publish script to update 'next' tag for main releases
40
+ - Add environment variable to enable/disable tours (#3221) @hardillb
41
+ - Fix loading non-default language files leaving runtime in wrong locale (#3225) @knolleary
42
+
43
+ Editor
44
+
45
+ - Refresh editor settings whenever a node is added or enabled (#3227) @knolleary
46
+ - Revert spinner css change that made it shrink in some cases (#3229) @knolleary
47
+ - Fix import notification message when importing config nodes (#3224) @knolleary
48
+ - Handle changing types of TypedInput repeatedly (#3223) @knolleary
49
+
50
+
51
+ #### 2.1.2: Maintenance Release
52
+
53
+
54
+ Runtime
55
+
56
+ - node-red-pi: Remove bash dependency (#3216) @a16bitsysop
57
+
58
+ Editor
59
+
60
+ - Improved regex for markdown renderer (#3213) @GerwinvBeek
61
+ - Fix TypedInput initialisation (#3220) @knolleary
62
+
63
+ Nodes
64
+
65
+ - MQTT: fix datatype in node config not used. fixes #3215 (#3219) @Steve-Mcl
66
+
67
+ #### 2.1.1: Maintenance Release
68
+
69
+ Editor
70
+
71
+ - Ensure tourGuide popover doesn't fall offscreen (#3212) @knolleary
72
+ - Fix issue with old inject nodes that migrated topic to 'string' type (#3210) @knolleary
73
+ - Add cache-busting query params to index.mst (#3211) @knolleary
74
+ - Fix TypedInput validation of type without options (#3207) @knolleary
75
+
1
76
  #### 2.1.0: Milestone Release
2
77
 
3
78
  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",
3
+ "version": "2.1.4",
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",
35
- "@node-red/runtime": "2.1.0",
36
- "@node-red/util": "2.1.0",
37
- "@node-red/nodes": "2.1.0",
34
+ "@node-red/editor-api": "2.1.4",
35
+ "@node-red/runtime": "2.1.4",
36
+ "@node-red/util": "2.1.4",
37
+ "@node-red/nodes": "2.1.4",
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