node-red 3.1.0-beta.4 → 3.1.1

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,4 +1,92 @@
1
- #### 3.1.0-beta.4: Beta Release
1
+ #### 3.1.1: Maintenance Release
2
+
3
+ Editor
4
+
5
+ - Fix debug filter (#4461) @knolleary
6
+ - Fix various issues with debug pop-out window (#4459) @knolleary
7
+ - Ensure subflow instances keep track of their groups (#4457) @knolleary
8
+ - Fix `validateNodeProperty` without validator provided (#4455) @GogoVega
9
+ - Debounce node-removed notifications (#4453) @knolleary
10
+ - Don't try to load the parents of the first commit (#4448) @bonanitech
11
+ - Allow a theme to specifiy which theme mermaid should use (#4441) @knolleary
12
+ - Update browser title with flow name if set (#4427) @knolleary
13
+ - Ensure typeSearch handles undefined node definitions (#4423) @knolleary
14
+ - Ensure group w/h are imported if present (#4426) @knolleary
15
+ - Hide node status background when there is no status to show (#4425) @knolleary
16
+ - Add a close button to the restart-required notification (#4407) @knolleary
17
+ - Extend typedInput "num" type validity check to NaN, binary, octal & hex (#4371) @ralphwetzel
18
+ - Fix unintended new line in node name (#4399) @kazuhitoyokoi
19
+ - Ctrl-Enter does not close tray (Monaco) #4377 (#4382) @hazymat
20
+ - fix buffer viewer to handle 0b style binary (#4393) @dceejay
21
+ - Rework mermaid integration to support off-DOM rendering (#4364) @knolleary
22
+ - Add missing nls labels to context menu (#4365) @knolleary
23
+
24
+ Runtime
25
+
26
+ - Bump the github-actions group with 2 updates (#4404) @app/dependabot
27
+ - Handle unknown node reference inside subflow module (#4460) @knolleary
28
+ - Add modules.install audit event when external module installed (#4452) @knolleary
29
+ - Allow import of modules with subpath in specifier (#4451) @knolleary
30
+ - Update node-red-admin version (#4438) @knolleary
31
+ - Handle false-like env vars properly (#4411) @knolleary
32
+ - Only save settings once during node load process (#4409) @knolleary
33
+ - Ensure global-config nodes lookup cred values properly (#4405) @knolleary
34
+ - Handle credential env var evaluation when no value set (#4362) @knolleary
35
+ - Don't commit package-lock.json (#4354) @bonanitech
36
+ - Fix env evaluation when one env references another in the same object (#4361) @knolleary
37
+ - Add dependabot for Github Actions (#4312) @Rotzbua
38
+ - Update outdated Github Actions (#4311) @Rotzbua
39
+ - github: Request `npm run test` in PR template (#4348) @ZJvandeWeg
40
+ - Add French translation of v3.1.0-beta.4 changes + slight improvements (#4329) @GogoVega
41
+ - Handle nodes with multiple input handlers properly (#4332) @knolleary
42
+ - Soften the language around unrequited PRs (#4351) @knolleary
43
+
44
+ Nodes
45
+
46
+ - CSV: make CSV export way faster by not re-allocating and handling huge string (#4349) @Fadoli
47
+ - Delay: Fix regression in delay node to not pass on msg.reset (#4350) @dceejay
48
+ - Link Call: Handle undefined linkType value for existing link-call nodes (#4331) @knolleary
49
+ - MQTT: Guard against node.broker being undefined (#4454) @knolleary
50
+ - MQTT: check topic length > 0 before publish (#4416) @dceejay
51
+ - Switch/Change: Improve validation of switch/change node rules (#4368) @knolleary
52
+ - Template: Fix height of description editor in template node (#4346) @kazuhitoyokoi
53
+ - Various: Add validators to any fields using msg-typed Input (#4440) @knolleary
54
+
55
+ #### 3.1.0: Milestone Release
56
+
57
+ Editor
58
+
59
+ - Default filter to All Catalogues and show nodes for small lists (#4318) @knolleary
60
+ - Better distinguish between ctrl and meta keys on mac (#4310) @knolleary
61
+ - Ensure junction appears when filtering quick-add list (#4297) @knolleary
62
+ - Update message catalogs for JSONata Expression editor (#4287) @kazuhitoyokoi
63
+ - Add tooltip to relevance sort button in user settings UI (#4288) @kazuhitoyokoi
64
+ - Capture workspace dirty state when quick-adding junction (#4283) @knolleary
65
+ - Add docs for $clone function (#4284) @knolleary
66
+
67
+ Runtime
68
+
69
+ - Dependency updates (#4317) @knolleary
70
+ - Ensure storage/util.writeFile handles concurrent write attempts (#4316) @knolleary
71
+ - Migrate http -> https for nodered.org (#4313) @Rotzbua
72
+ - Add Node 20 to GH Action test matrix (#4305) @Rotzbua
73
+ - Handle group-scoped nodes inside subflow (#4301) @knolleary
74
+ - Handle non-url-safe chars in context api (#4298) @knolleary
75
+ - Fix git pull operation in project feature (#4290) @kazuhitoyokoi
76
+ - Change linefeed codes in Korean message catalogs (#4286) @kazuhitoyokoi
77
+ - Fix file permissions of message catalogs (#4285) @kazuhitoyokoi
78
+ - Update tour (#4278) @knolleary
79
+
80
+ Nodes
81
+
82
+ - File: Fix handling in file nodes when number is specified as file name (#4267) @kazuhitoyokoi
83
+ - Function: Adding function timeout to settings file (#4265) (#4309) @knolleary
84
+ - Function: Fix function setup tab layout (#4299) @knolleary
85
+ - HTTP Request: Handle 204 in httprequest JSON (#4262) @sammachin
86
+ - JSON: Fix test cases of JSON node (#4275) @kazuhitoyokoi
87
+ - MQTT: Remove unnecessary check for clientid if autoUnsub set (#4302) @knolleary
88
+
89
+ ##### 3.1.0-beta.4: Beta Release
2
90
 
3
91
  Editor
4
92
 
@@ -28,7 +116,7 @@
28
116
  - Fix delay node flush issue (#4203) @dceejay
29
117
  - Update status and catch node labels in group mode (#4207) @Steve-Mcl
30
118
 
31
- #### 3.1.0-beta.3: Beta Release
119
+ ##### 3.1.0-beta.3: Beta Release
32
120
 
33
121
  Editor
34
122
 
@@ -63,7 +151,7 @@ Nodes
63
151
  - MQTT: Option to disable MQTT topic unsubscribe on disconnect (#4078) @flying7eleven
64
152
 
65
153
 
66
- #### 3.1.0-beta.2: Beta Release
154
+ ##### 3.1.0-beta.2: Beta Release
67
155
 
68
156
  Editor
69
157
 
@@ -113,7 +201,7 @@ Nodes
113
201
  - File Out: Fix extra newline append for multipart file write (#3915) @dceejay
114
202
  - Add validators for complete and link call nodes (#4056) @kazuhitoyokoi
115
203
 
116
- #### 3.1.0-beta.1: Beta Release
204
+ ##### 3.1.0-beta.1: Beta Release
117
205
 
118
206
  Editor
119
207
 
package/README.md CHANGED
@@ -1,14 +1,14 @@
1
1
  # Node-RED
2
2
 
3
- http://nodered.org
3
+ https://nodered.org
4
4
 
5
5
  Low-code programming for event-driven applications.
6
6
 
7
- ![Node-RED: Low-code programming for event-driven applications.](http://nodered.org/images/node-red-screenshot.png)
7
+ ![Node-RED: Low-code programming for event-driven applications.](https://nodered.org/images/node-red-screenshot.png)
8
8
 
9
9
  ## Quick Start
10
10
 
11
- Check out http://nodered.org/docs/getting-started/ for full instructions on getting
11
+ Check out https://nodered.org/docs/getting-started/ for full instructions on getting
12
12
  started.
13
13
 
14
14
  1. `sudo npm install -g --unsafe-perm node-red`
@@ -17,7 +17,7 @@ started.
17
17
 
18
18
  ## Getting Help
19
19
 
20
- More documentation can be found [here](http://nodered.org/docs).
20
+ More documentation can be found [here](https://nodered.org/docs).
21
21
 
22
22
  For further help, or general discussion, please use the [Node-RED Forum](https://discourse.nodered.org) or [slack team](https://nodered.org/slack).
23
23
 
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "node-red",
3
- "version": "3.1.0-beta.4",
3
+ "version": "3.1.1",
4
4
  "description": "Low-code programming for event-driven applications",
5
- "homepage": "http://nodered.org",
5
+ "homepage": "https://nodered.org",
6
6
  "license": "Apache-2.0",
7
7
  "repository": {
8
8
  "type": "git",
@@ -31,17 +31,17 @@
31
31
  "flow"
32
32
  ],
33
33
  "dependencies": {
34
- "@node-red/editor-api": "3.1.0-beta.4",
35
- "@node-red/runtime": "3.1.0-beta.4",
36
- "@node-red/util": "3.1.0-beta.4",
37
- "@node-red/nodes": "3.1.0-beta.4",
34
+ "@node-red/editor-api": "3.1.1",
35
+ "@node-red/runtime": "3.1.1",
36
+ "@node-red/util": "3.1.1",
37
+ "@node-red/nodes": "3.1.1",
38
38
  "basic-auth": "2.0.1",
39
39
  "bcryptjs": "2.4.3",
40
40
  "express": "4.18.2",
41
41
  "fs-extra": "11.1.1",
42
- "node-red-admin": "^3.0.0",
42
+ "node-red-admin": "^3.1.1",
43
43
  "nopt": "5.0.0",
44
- "semver": "7.5.0"
44
+ "semver": "7.5.4"
45
45
  },
46
46
  "optionalDependencies": {
47
47
  "bcrypt": "5.1.0"
package/red.js CHANGED
@@ -88,7 +88,7 @@ if (parsedArgs.help) {
88
88
  console.log(" -?, --help show this help");
89
89
  console.log(" admin <command> run an admin command");
90
90
  console.log("");
91
- console.log("Documentation can be found at http://nodered.org");
91
+ console.log("Documentation can be found at https://nodered.org");
92
92
  process.exit();
93
93
  }
94
94
 
package/settings.js CHANGED
@@ -71,7 +71,7 @@ module.exports = {
71
71
  ******************************************************************************/
72
72
 
73
73
  /** To password protect the Node-RED editor and admin API, the following
74
- * property can be used. See http://nodered.org/docs/security.html for details.
74
+ * property can be used. See https://nodered.org/docs/security.html for details.
75
75
  */
76
76
  //adminAuth: {
77
77
  // type: "credentials",
@@ -120,7 +120,7 @@ module.exports = {
120
120
  * including node-red-dashboard, or the static content (httpStatic), the
121
121
  * following properties can be used.
122
122
  * The `pass` field is a bcrypt hash of the password.
123
- * See http://nodered.org/docs/security.html#generating-the-password-hash
123
+ * See https://nodered.org/docs/security.html#generating-the-password-hash
124
124
  */
125
125
  //httpNodeAuth: {user:"user",pass:"$2a$08$zZWtXTja0fB1pzD4sHCMyOCMYz2Z6dNbM6tl8sJogENOMcxWV9DN."},
126
126
  //httpStaticAuth: {user:"user",pass:"$2a$08$zZWtXTja0fB1pzD4sHCMyOCMYz2Z6dNbM6tl8sJogENOMcxWV9DN."},
@@ -444,6 +444,7 @@ module.exports = {
444
444
  * - fileWorkingDirectory
445
445
  * - functionGlobalContext
446
446
  * - functionExternalModules
447
+ * - functionTimeout
447
448
  * - nodeMessageBufferMaxLength
448
449
  * - ui (for use with Node-RED Dashboard)
449
450
  * - debugUseColors
@@ -468,6 +469,9 @@ module.exports = {
468
469
  /** Allow the Function node to load additional npm modules directly */
469
470
  functionExternalModules: true,
470
471
 
472
+ /** Default timeout, in seconds, for the Function node. 0 means no timeout is applied */
473
+ functionTimeout: 0,
474
+
471
475
  /** The following property can be used to set predefined values in Global Context.
472
476
  * This allows extra node modules to be made available with in Function node.
473
477
  * For example, the following: