node-red 3.0.0-beta.2 → 3.0.0

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +114 -522
  2. package/package.json +5 -5
  3. package/settings.js +88 -75
package/CHANGELOG.md CHANGED
@@ -1,3 +1,117 @@
1
+ #### 3.0.0: Milestone Release
2
+
3
+ Editor
4
+
5
+ - Use theme page and header values if settings.js values are not present (#3767) @Steve-Mcl
6
+ - Focus editor for undo after some actions in menu (#3759) @kazuhitoyokoi
7
+ - Ensure node icon shade has properly rounded corners (#3763) @knolleary
8
+ - Fix storing subflow credential type when input has multiple types (#3762) @knolleary
9
+ - Ensure global-config and flow-config have info in the hierarchy popover (#3752) @Steve-Mcl
10
+ - Include dirty state in history event (#3748) @Steve-Mcl
11
+ - Fix display direction of context sub-menu (#3746) @knolleary
12
+ - Fix clear pinned paths of debug sidebar menu (#3745) @HiroyasuNishiyama
13
+ - prevent exception generating tooltip for deleted nodes (#3742) @Steve-Mcl
14
+ - Fix context menu issues ready for v3 beta.5 (#3741) @Steve-Mcl
15
+ - Do not generate new node-ids when pasting a cut flow (#3729) @knolleary
16
+ - Fix to prevent node from moving out of workspace (#3731) @HiroyasuNishiyama
17
+ - Don't let themes change disabled config node background color (#3736) @bonanitech
18
+ - Move colors left behind in #3692 to CSS variables (#3737) @bonanitech
19
+ - Fix handling of global debug message (#3733) @HiroyasuNishiyama
20
+ - Fix label overflow @ config-node palette (#3730) @ralphwetzel
21
+ - Fix defaulting to monaco if settings does not contain codeEditor (#3732) @knolleary
22
+ - Disable keyboard shortcut mapping when showing Edit[..]Dialog (#3700) @ralphwetzel
23
+ - Update add-junction menu to work in more cases (#3727) @knolleary
24
+ - Ensure importMap is not null when using import UI (#3723) @Steve-Mcl
25
+ - Add Japanese translations for v3.0-beta.4 (#3724) @kazuhitoyokoi
26
+ - Fix "split with" on virtual links (#3766) @Steve-Mcl
27
+
28
+ Runtime
29
+
30
+ - Do not remove unknown credentials of Subflow Modules (#3728) @knolleary
31
+ - Add missing entries from beta.4 changelog (#3721) @knolleary
32
+
33
+ Nodes
34
+
35
+ - Change: Fix change node, not handling from field properly when using context (#3754) @Fadoli
36
+ - Link Call: Fix linkcall registry bugs (#3751) @Steve-Mcl
37
+ - WebSocket: Fix close timeout of websocket node (#3734) @HiroyasuNishiyama
38
+
39
+ #### 3.0.0-beta.4: Beta Release
40
+
41
+ Editor
42
+
43
+ - Move all colours to CSS variables (#3692) @bonanitech
44
+ - Fix clicking on node in workspace to hide context menu (#3696) @knolleary
45
+ - Fix credential type input item of subflow template (#3703) @HiroyasuNishiyama
46
+ - Add option flag `reimport` to `importNodes` (#3718) @Steve-Mcl
47
+ - Update german translation (#3691) @Dennis14e
48
+ - List welcome tours in help sidebar (#3717) @knolleary
49
+ - Ensure 'hidden flow' count doesn't include subflows (#3715) @knolleary
50
+ - Fix Chinese translate (#3706) @hotlong
51
+ - Fix use default button for node icon (#3714) @kazuhitoyokoi
52
+ - Fix select boxes vertical alignment (#3698) @bonanitech
53
+ - Ensure workspace clean after undoing dropped node (#3708) @Steve-Mcl
54
+ - Use solid colour as config node icon background to hide text overflow (#3710) @Steve-Mcl
55
+ - Increase quick-add height to reveal 2 most recent entries (#3711) @Steve-Mcl
56
+ - Set default editor to monaco in absence of user preference (#3702) @knolleary
57
+ - Add Japanese translations for v3.0-beta.3 (#3688) @kazuhitoyokoi
58
+ - Fix handling of spacebar inside JSON visual editor (#3687) @knolleary
59
+ - Fix menu padding to handle both icons and submenus (#3686) @knolleary
60
+ - Include scroll offset when positioning quick-add dialog (#3685) @knolleary
61
+
62
+ Runtime
63
+
64
+ - Allow flows to be stopped and started manually (#3719) @knolleary
65
+ - Import default export if node is a transpiled es module (#3669) @dschmidt
66
+ - Leave Monaco theme commented out by default (#3704) @bonanitech
67
+
68
+ Nodes
69
+
70
+ - CSV: Fix CSV node to handle when outputting text fields (#3716) @dceejay
71
+ - Delay: Fix delay rate limit last timing when empty (#3709) @dceejay
72
+ - Link: Ensure link-call cache is updated when link-in is modified (#3695) @Steve-Mcl
73
+ - Join: Join node in reduce mode doesn't keep existing msg properties (#3670) @dceejay
74
+ - Template: Add support for evalulating {{env.<var>}} within a template node (#3690) @cow0w
75
+
76
+ #### 3.0.0-beta.3: Beta Release
77
+
78
+ Editor
79
+
80
+ - Add Right-Click content menu (#3678) @knolleary
81
+ - Fix disable junction (#3671) @HiroyasuNishiyama
82
+ - Add Japanese translations for v2.2.3 (#3672) @kazuhitoyokoi
83
+ - Reset mouse state when switching tabs (#3643) @knolleary
84
+ - Fix uncorrect fix of junction to subflow conversion (#3666) @HiroyasuNishiyama
85
+ - Fix undoing junction to subflow (#3653) @HiroyasuNishiyama
86
+ - Fix conversion of junction to subflow (#3652) @HiroyasuNishiyama
87
+ - Fix to include junction to exported nodes (#3650) @HiroyasuNishiyama
88
+ - Fix z-index value for shade to cover nodes in palette (#3649) @kazuhitoyokoi
89
+ - Fix to extend escaped subflow category characters (#3647) @HiroyasuNishiyama
90
+ - Fix to sanitize tab name (#3646) @HiroyasuNishiyama
91
+ - Fix selector placement (#3644) @bonanitech
92
+ - Add Japanese translations for v3.0-beta.2 (#3622) @kazuhitoyokoi
93
+ - Fix new folder menu of save to library dialog (#3633) @HiroyasuNishiyama
94
+ - Fix layer of palette node (#3638) @HiroyasuNishiyama
95
+ - Fix to place a node dragged from palette within the workspace (#3637) @HiroyasuNishiyama
96
+ - Fix typo in CSS (#3628) @bonanitech
97
+ - Use the correct variable for the gutter text color (#3615) @bonanitech
98
+
99
+
100
+ Runtime
101
+
102
+ - Support loading node modules from `nodesdir` (#3676) @Steve-Mcl
103
+ - fix buffer parse error message of evaluateNodeProperty (#3624) @HiroyasuNishiyama
104
+
105
+ Nodes
106
+
107
+ - File: Further simplify file node filename entry UX (v3) (#3677) @Steve-Mcl
108
+ - Function: Fix initial cursor position of init/finalize tab of function node (#3674) @HiroyasuNishiyama
109
+ - Function: Fix ESM module loading in Function node (#3645) @knolleary
110
+ - Inject: Fix JSONata evaluation of inject button (#3632) @HiroyasuNishiyama
111
+ - TCP: Dont delete TCP socket twice (#3630) @Steve-Mcl
112
+ - MQTT Node: define noproxy variable (#3626) @Steve-Mcl
113
+ - Debug: i18n debug sidebar node label (#3623) @HiroyasuNishiyama
114
+
1
115
  #### 3.0.0-beta.2: Beta Release
2
116
 
3
117
  **Migration from 2.x**
@@ -109,528 +223,6 @@ Nodes
109
223
  - Watch: Update Watch node to use node-watch module (#3559 #3569) @knolleary
110
224
  - WebSocket: call done after ws disconnects (#3531) @Steve-Mcl
111
225
 
112
-
113
- #### 2.2.2: Maintenance Release
114
-
115
- Nodes
116
-
117
- - Fix "close timed out" error when performing full deploy or modifying broker node. (#3451) @Steve-Mcl
118
-
119
-
120
- #### 2.2.1: Maintenance Release
121
-
122
- Editor
123
-
124
- - Handle mixed-cased filter terms in keyboard shortcut dialog (#3444) @knolleary
125
- - Prevent duplicate links being added between nodes (#3442) @knolleary
126
- - Fix to hide tooltip after removing subflow tab (#3391) @HiroyasuNishiyama
127
- - Fix node validation to be applied to config node (#3397) @HiroyasuNishiyama
128
- - Fix: Dont add wires to undo buffer twice (#3437) @Steve-Mcl
129
-
130
- Runtime
131
-
132
- - Improve module location parsing (of stack info) when adding hook (#3447) @Steve-Mcl
133
- - Fix substitution of NR_NODE_PATH (#3445) @HiroyasuNishiyama
134
- - Remove console.log when ignoring disabled module (#3439) @knolleary
135
- - Improve "Unexpected Node Error" logging (#3446) @Steve-Mcl
136
-
137
- Nodes
138
-
139
- - Debug: Fix no-prototype-builtins bug in debug node and utils (#3394) @Alkarex
140
- - Delay: Fix Japanese message of delay node (#3434)
141
- - Allow nbRateUnits to be undefined when validating (#3443) @knolleary
142
- - Coding help for recently added node-red Predefined Environment Variables (#3440) @Steve-Mcl
143
-
144
-
145
- #### 2.2.0: Milestone Release
146
-
147
- Editor
148
-
149
- - Add editorTheme.tours property to default settings file (#3375) @knolleary
150
- - Remember Zoom level and Sidebar tab selection between sessions (#3361) @knolleary
151
- - Fix timing issue when merging background changes fixes #3364 (#3373) @Steve-Mcl
152
- - Use a nodes palette label in help tree (#3372) @Steve-Mcl
153
- - Subflow: Add labels to OUTPUT nodes (#3352) @ralphwetzel
154
- - Fix vertical align subflow port (#3370) @knolleary
155
- - Make actions list i18n ready and Japanese translation (#3359) @HiroyasuNishiyama
156
- - Update tour for 2.2.0 (#3378) @knolleary
157
- - Include paletteLabel when building search index (#3380) @Steve-Mcl
158
- - Fix opening/closing subflow template not to make subflow changed (#3382) @HiroyasuNishiyama
159
- - Add Japanese translations for v2.2.0 (#3353, #3381) @kazuhitoyokoi
160
-
161
- Runtime
162
-
163
- - Add support for accessing node id & name as environment variable (#3356) @HiroyasuNishiyama
164
- - Clear context contents when switching projects (#3243) @knolleary
165
-
166
- Nodes
167
-
168
- - MQTT: reject invalid topics (#3374) @Steve-Mcl
169
- - Function: Expose node.path property (#3371) @knolleary
170
- - Function: Update `node` declarations in func.d.ts (#3377) @Steve-Mcl
171
-
172
- #### 2.2.0-beta.1: Beta Release
173
-
174
- Editor
175
-
176
- - Add search history to main search box (#3262) @knolleary
177
- - Check availability of type of config node on deploy (#3304) @k-toumura
178
- - Add wire-slice mode to delete wires with Ctrl-RHClick-Drag (#3340) @knolleary
179
- - Wiring keyboard shortcuts (#3288) @knolleary
180
- - Snap nodes on grid using either edge as reference (#3289) @knolleary
181
- - Detach node action (#3338) @knolleary
182
- - Highlight links when selecting nodes (#3323) @knolleary
183
- - Allow multiple links to be selected by ctrl-click (#3294) @knolleary
184
-
185
- Nodes
186
-
187
- - JSON: Let JSON node attempt to parse buffer if it contains a valid string (#3296) @dceejay
188
- - Remove use of verbose flag in core nodes - and use node.debug level instead (#3300) @dceejay
189
- - TCP: Add TLS option to tcp client nodes (#3307) @dceejay
190
- - WebSocket: Implemented support for Websocket Subprotocols in WS Client Node. (#3333) @tobiasoort
191
-
192
- #### 2.1.6: Maintenance Release
193
-
194
- Editor
195
-
196
- - Revert copy-text change and apply alternative fix (#3363) @knolleary
197
- - Update marked to latest (#3362) @knolleary
198
- - fix to make start of property error tooltip messages aligned (#3358) @HiroyasuNishiyama
199
-
200
- Nodes
201
-
202
- - Inject: fix JSON propety validation of inject node (#3349) @HiroyasuNishiyama
203
- - Delay: fix unit value validation of delay node (#3351) @HiroyasuNishiyama
204
-
205
- #### 2.1.5: Maintenance Release
206
-
207
- Runtime
208
-
209
- - Handle reporting error location when stack is truncated (#3346) @knolleary
210
- - Initialize passport when only adminAuth.tokens is set (#3343) @knolleary
211
- - Add log logging (#3342) @knolleary
212
-
213
- Editor
214
-
215
- - Fix copy buttons on the debug window (another method) (#3331) @kazuhitoyokoi
216
- - Add Japanese translations for hidden flow (#3302) @kazuhitoyokoi
217
- - Improve jsonata legacy mode detection regex (#3345) @knolleary
218
- - Fix generating flow name with incrementing number (#3347) @knolleary
219
- - resume focus after import/export dialog close (#3337) @HiroyasuNishiyama
220
- - Fix findPreviousVisibleTab action (#3321) @knolleary
221
- - Fix storing hidden tab state when not hidden via action (#3312) @knolleary
222
- - Avoid adding empty env properties to tabs/groups (#3311) @knolleary
223
- - Fix hide icon in tour guide (#3301) @kazuhitoyokoi
224
-
225
- Nodes
226
-
227
- - File: Update file node examples according to node name change (#3335) @HiroyasuNishiyama
228
- - Filter (RBE): Fix for filter node narrrowbandEq mode start condition failure (#3339) @dceejay
229
- - Function: Prevent function scrollbar from obscuring expand button (#3348) @knolleary
230
- - Function: load extralibs when expanding monaco. fixes #3319 (#3334) @Steve-Mcl
231
- - Function: Update Function to use correct api to access env vars (#3310) @knolleary
232
- - HTTP Request: Fix basic auth with empty username or password (#3325) @hardillb
233
- - Inject: Fix incorrect clearing of blank payload property in Inject node (#3322) @knolleary
234
- - Link Call: add link call example (#3336) @HiroyasuNishiyama
235
- - WebSocket: Only setup ws client heartbeat once it is connected (#3344) @knolleary
236
- - Update Japanese translations in node help (#3332) @kazuhitoyokoi
237
-
238
- #### 2.1.4: Maintenance Release
239
-
240
- Runtime
241
-
242
- - fix env var access using $parent for groups (#3278) @HiroyasuNishiyama
243
- - Add proper error handling for 404 errors when serving debug files (#3277) @knolleary
244
- - Add Japanese translations for Node-RED v2.1.0-beta.1 (#3179) @kazuhitoyokoi
245
- - Include full user object on login audit events (#3269) @knolleary
246
- - Remove styling from de locale files (#3237) @knolleary
247
-
248
- Editor
249
-
250
- - Change tab hide button icon to an eye and add search option (#3282) @knolleary
251
- - Fix i18n handling of namespaces with spaces in (#3281) @knolleary
252
- - Trigger change event when autoComplete fills in input (#3280) @knolleary
253
- - Apply CN i18n fix (#3279) @knolleary
254
- - fix select menu label of config node to use paletteLabel (#3273) @HiroyasuNishiyama
255
- - fix removed tab not to cause node conflict (#3275) @HiroyasuNishiyama
256
- - Group diff fix (#3239) @knolleary
257
- - Only toggle disabled workspace flag if on activeWorkspace (#3252) @knolleary
258
- - Do not show status for disabled nodes (#3253) @knolleary
259
- - Set dimension value for tour guide (#3265) @kazuhitoyokoi
260
- - Avoid redundant initialisation of TypedInput type (#3263) @knolleary
261
- - Don't let themes change flow port label color (#3270) @bonanitech
262
- - Fix treeList gutter calculation to handle floating gutters (#3238) @knolleary
263
-
264
- Nodes
265
-
266
- - Debug: Handle RegExp types in Debug sidebar (#3251) @knolleary
267
- - Delay: fix 2nd output when in rate limit per topic modes (#3261) @dceejay
268
- - Link: fix to show link target when selected (#3267) @HiroyasuNishiyama
269
- - Inject: Do not modify inject node props in oneditprepare (#3242) @knolleary
270
- - HTTP Request: HTTP Basic Auth should always add : between username and password even if empty (#3236) @hardillb
271
-
272
- #### 2.1.3: Maintenance Release
273
-
274
- Runtime
275
-
276
- - Update gen-publish script to update 'next' tag for main releases
277
- - Add environment variable to enable/disable tours (#3221) @hardillb
278
- - Fix loading non-default language files leaving runtime in wrong locale (#3225) @knolleary
279
-
280
- Editor
281
-
282
- - Refresh editor settings whenever a node is added or enabled (#3227) @knolleary
283
- - Revert spinner css change that made it shrink in some cases (#3229) @knolleary
284
- - Fix import notification message when importing config nodes (#3224) @knolleary
285
- - Handle changing types of TypedInput repeatedly (#3223) @knolleary
286
-
287
-
288
- #### 2.1.2: Maintenance Release
289
-
290
-
291
- Runtime
292
-
293
- - node-red-pi: Remove bash dependency (#3216) @a16bitsysop
294
-
295
- Editor
296
-
297
- - Improved regex for markdown renderer (#3213) @GerwinvBeek
298
- - Fix TypedInput initialisation (#3220) @knolleary
299
-
300
- Nodes
301
-
302
- - MQTT: fix datatype in node config not used. fixes #3215 (#3219) @Steve-Mcl
303
-
304
- #### 2.1.1: Maintenance Release
305
-
306
- Editor
307
-
308
- - Ensure tourGuide popover doesn't fall offscreen (#3212) @knolleary
309
- - Fix issue with old inject nodes that migrated topic to 'string' type (#3210) @knolleary
310
- - Add cache-busting query params to index.mst (#3211) @knolleary
311
- - Fix TypedInput validation of type without options (#3207) @knolleary
312
-
313
- #### 2.1.0: Milestone Release
314
-
315
- Editor
316
-
317
- - Position popover properly on a scrolled page
318
- - Fixes from 2.1.0-beta.2 (#3202) @knolleary
319
-
320
- Nodes
321
-
322
- - Link Out: Fix saving link out node links (#3201) @knolleary
323
- - Switch: Refix #3170 - copy switch rule type when adding new rule
324
- - TCP Request: Add string option to TCP request node output (#3204) @dceejay
325
-
326
- #### 2.1.0-beta.2: Beta Release
327
-
328
- Editor
329
-
330
- - Fix switching projects (#3199) @knolleary
331
- - Use locale setting when installing/enabling node (#3198) @knolleary
332
- - Do not show projects-wecome dialog until welcome tour completes (#3197) @knolleary
333
- - Fix converting selection to subflow (#3196) @knolleary
334
- - Avoid conflicts with native browser cmd-ctrl type shortcuts (#3195) @knolleary
335
- - Ensure message tools stay attached to top-level entry in Debug/Context (#3186) @knolleary
336
- - Ensure tab state updates properly when toggling enable state (#3175) @knolleary
337
- - Improve handling of long labels in TreeList (#3176) @knolleary
338
- - Shift-click tab scroll arrows to jump to start/end (#3177) @knolleary
339
-
340
- Runtime
341
-
342
- - Update package dependencies
343
- - Update to latest node-red-admin
344
-
345
- Nodes
346
-
347
- - Dynamic MQTT connections (#3189)
348
- - Link: Filter out Link Out Return nodes in Link In edit dialog Fixes #3187
349
- - Link: Fix link call label (#3200) @knolleary
350
- - Debug: Redesign debug filter options and make them persistant (#3183) @knolleary
351
- - Inject: Widen Inject interval box for >1 digit (#3184) @knolleary
352
- - Switch: Fix rule focus when switch 'otherwise' rule is used (#3185) @knolleary
353
-
354
- #### 2.1.0-beta.1: Beta Release
355
-
356
- Editor
357
-
358
- - Add Tour Guide component (#3136) @knolleary
359
- - Allow tabs to be hidden (#3120) @knolleary
360
- - Add align actions to editor (#3110) @knolleary
361
- - Add support of environment variable for tab & group (#3112) @HiroyasuNishiyama
362
- - Add autoComplete widget and add to TypedInput for msg. props (#3171) @knolleary
363
- - Render node documentation to node-red style guide when written in markdown. (#3169) @Steve-Mcl
364
- - Allow colouring of tab icon svg (#3140) @harmonic7
365
- - Restore tab selection after merging conflicts (#3151) @GerwinvBeek
366
- - Fix serving of theme files on Windows (#3154) @knolleary
367
- - Ensure config-node select inherits width properly from input (#3155) @knolleary
368
- - Do better remembering TypedInput values whilst switching types (#3159) @knolleary
369
- - Update monaco to 0.28.1 (#3153) @knolleary
370
- - Improve themeing of tourGuide (#3161) @knolleary
371
- - Allow a node to specify a filter for the config nodes it can pick from (#3160) @knolleary
372
- - Allow RED.notify.update to modify any notification setting (#3163) @knolleary
373
- - Fix typo in ko editor.json Fixes #3119
374
- - Improve RED.actions api to ensure actions cannot be overridden
375
- - Ensure treeList row has suitable min-height when no content Fixes #3109
376
- - Refactor edit dialogs to use separate edit panes
377
- - Ensure type select button is not focussable when TypedInput only has one type
378
- - Place close tab link in front of fade
379
-
380
- Runtime
381
-
382
- - Improve error reporting with oauth login strategies (#3148) @knolleary
383
- - Add allowUpdate feature to externalModules.palette (#3143) @knolleary
384
- - Improve node install error reporting (#3158) @knolleary
385
- - Improve unit test coverage (#3168) @knolleary
386
- - Allow coreNodesDir to be set to false (#3149) @hardillb
387
- - Update package dependencies
388
- - uncaughtException debug improvements (#3146) @renatojuniorrs
389
-
390
- Nodes
391
-
392
- - Change: Add option to deep-clone properties in Change node (#3156) @knolleary
393
- - Delay: Add push to front of rate limit queue. (#3069) @dceejay
394
- - File: Add paletteLabel to file nodes to make read/write more obvious (#3157) @knolleary
395
- - HTTP Request: Extend HTTP request node to log detailed timing information (#3116) @k-toumura
396
- - HTTP Response: Fix sizing of HTTP Response header fields (#3164) @knolleary
397
- - Join: Support for msg.restartTimeout (#3121) @magma1447
398
- - Link Call: Add Link Call node (#3152) @knolleary
399
- - Switch: Copy previous rule type when adding rule to switch node (#3170) @knolleary
400
- - Delay node: add option to send intermediate messages on separate output (#3166) @knolleary
401
- - Typo in http request set method translation (#3173) @mailsvb
402
-
403
- #### 2.0.6: Maintenance Release
404
-
405
- Editor
406
-
407
- - Fix typo in ko editor.json Fixes #3119
408
- - Change fade color when hovering an inactive tab (#3106) @bonanitech
409
- - Ensure treeList row has suitable min-height when no content Fixes #3109
410
-
411
- Runtime
412
-
413
- - Update tar to latest (#3128) @aksswami
414
- - Give passport verify callback the same arity as the original callback (#3117) @dschmidt
415
- - Handle HTTPS Key and certificate as string or buffer (#3115) @bartbutenaers
416
-
417
- #### 2.0.5: Maintenance Release
418
-
419
- Editor
420
-
421
- - Remove default ctrl-enter keybinding from monaco editor Fixes #3093
422
-
423
- Runtime
424
-
425
- - Update tar dependency
426
- - Add support for maintenance streams in generate-publish-script
427
-
428
-
429
- Nodes
430
-
431
- - Fix regression in Join node when manual joining array with msg.parts present Fixes #3096
432
-
433
- #### 2.0.4: Maintenance Release
434
-
435
- Editor
436
-
437
- - Fix tab fade CSS for when using themes (#3085) @bonanitech
438
- - Handle just-copied-but-not-deployed node with credentials in editor Fixes #3090
439
-
440
- Nodes
441
-
442
- - Filter: Fix RBE node handling of default topi property Fixes #3087
443
- - HTTP Request: Handle partially encoded url query strings in request node
444
- - HTTP Request: Fix support for supplied CA certs (#3089) @hardillb
445
- - HTTP Request: Ensure TLS Cert is used (#3092) @hardillb
446
- - Inject: Fix inject now button unable to send empty props
447
- - Inject: Inject now button success notification should use label with updated props
448
-
449
- #### 2.0.3: Maintenance Release
450
-
451
- Nodes
452
-
453
- - HTML: Fix HTML parsing when body is included in the select tag Fixes #3079
454
- - HTTP Request: Preserve case of user-provided http headers in request node Fixes #3081
455
- - HTTP Request: Set decompress to false for HTTP Request to keep 1.x compatibility Fixes #3083
456
- - HTTP Request: Add unit tests for HTTP Request encodeURI and error response
457
- - HTTP Request: Do not throw HTTP errors in request node Fixes #3082
458
- - HTTP Request: Ensure uri is properly encoded before passing to got module Fixes #3080
459
-
460
- #### 2.0.2: Maintenance Release
461
-
462
- Runtime
463
-
464
- - Use file:// url with dynamic import
465
- - Detect if agent-base has patched https.request and undo it Fixes #3072
466
-
467
- Editor
468
-
469
- - Fix tab fade css because Safari Fixes #3073
470
- - Fix error closing library dialog with monaco
471
- - Handle other error types in Manage Palette view
472
-
473
-
474
- Nodes
475
-
476
- - HTTP Request node - ignore invalid cookies rather than fail request Fixes #3075
477
- - Fix msg.reset handling in Delay node Fixes #3074
478
-
479
- #### 2.0.1: Maintenance Release
480
-
481
- Nodes
482
-
483
- - Function: Ensure default module export is exposed in Function node
484
-
485
- #### 2.0.0: Milestone Release
486
-
487
- **Migration from 1.x**
488
-
489
- - Node-RED now requires Node.js 12.x or later.
490
-
491
- - The following nodes have had significant dependency updates. Unless stated,
492
- they should be fully backward compatible.
493
-
494
- - RBE: Relabelled as 'filter' to make it more discoverable and made part of
495
- the core palette, rather than as a separate module.
496
- - Tail: This node has been removed from the default palette. You can reinstall it
497
- from node-red-node-tail
498
- - HTTP Request: Reimplemented with a different underlying module. We have
499
- tried to maintain 100% functional compatibility, but it is possible
500
- some edge cases remain.
501
- - JSON: The schema validation option no longer supports JSON-Schema draft-04
502
- - HTML: Its underlying module has had a major version update. Should be fully
503
- backward compatible.
504
-
505
- - `functionExternalModules` is now enabled by default for new installs.
506
- If you have an existing settings file that contains this setting, you will
507
- need to set it to `true` yourself.
508
-
509
- The external modules will now get installed in your Node-RED user directory,
510
- (`~/.node-red`) rather than in a subdirectory. This means all dependencies will
511
- be listed in your top-level `package.json`. If you have existing external modules,
512
- they will get reinstalled to the new location when you first run Node-RED 2.0.
513
-
514
-
515
- Runtime
516
-
517
- - Fix missing dependencies (#3052, #2057) @kazuhitoyokoi
518
- - Ensure node.types is defined if node html file missing
519
- - Fix reporting of type_already_registered error
520
- - Move install location of external modules (#3064) @knolleary
521
-
522
- Editor
523
-
524
- - Update translations (#3063) @kazuhitoyokoi
525
- - Add a slight fade to tab labels that overflow
526
- - Show config node details when selected in outliner
527
- - Fix layout of info outliner for subflow entries
528
-
529
- Nodes
530
-
531
- - Delay: let `msg.flush` specify how many messages to flush from node (#3059) @dceejay
532
- - Function: external modules is now enabled by default (#3065) @knolleary
533
- - Function: external modules now supports both ES6 and CJS modules (#3065) @knolleary
534
- - WebSocket: add option for client node to send automatic pings (#3056) @knolleary
535
-
536
-
537
- ##### 2.0.0-beta.2: Beta Release
538
-
539
- Runtime
540
-
541
- - Add `node-red admin init` (via `node-red-admin@2.1.0`)
542
- - Move to GH Actions rather than Travis for build (#3042) @knolleary
543
-
544
- Editor
545
-
546
- - Include hasUser=false config nodes when exporting whole flow (#3048)
547
- - Emit nodes:change for any updated config node when node deleted/added
548
- - Fix padding of compact notification Closes #3045
549
- - Ensure any html in changelog is escaped before displaying
550
- - Add support for Map/Set property types on Debug (#3040) @knolleary
551
- - Add 'theme' to default settings file
552
- - Add RED.view.annotations api (#3032) @knolleary
553
- - Update monaco editor to V0.25.2 (#3031) @Steve-Mcl
554
- - Lower tray zIndex when overlay tray being opened Fixes #3019
555
- - Reduce z-Index of Function expand buttons to prevent overlap Part of #3019
556
- - Ensure RED.clipboard.import displays the right library Fixes #3021
557
- - Batch messages sent over comms to prevent flooding (#3025) @knolleary
558
- - Allow RED.popover.panel to specify a closeButton to ignore click events on
559
- - Use browser default language for initial page load
560
- - Add css var for node font color
561
- - Fix label padding of toggleButton
562
- - Give sidebar open tab a bit more room for its label
563
- - Various Monaco updates (#3015) @Steve-Mcl
564
- - Log readOnly on startup (#3024) @sammachin
565
- - Translation updates (#3020 #3022) @HiroyasuNishiyama @kazuhitoyokoi
566
-
567
- Nodes
568
-
569
- - HTTP Request: Fix proxy handling (#3044) @hardillb
570
- - HTTP Request: Handle basic auth with @ in username (#3017) @hardillb
571
- - Add Japanese translation for file-in node (#3037 #3039) @kazuhitoyokoi
572
- - File In: Add option for file-in node to include all properties (default off) (#3035) @dceejay
573
- - Exec: add windowsHide option to hide windows under Windows (#3026) @natcl
574
- - Support loading external module sub path Fixes #3023
575
-
576
- ##### 2.0.0-beta.1: Beta Release
577
-
578
-
579
-
580
- Runtime
581
-
582
- - [MAJOR] Set minimum node version to 12.
583
- - [MAJOR] Fix flowfile name to flows.json in settings (#2951) @dceejay
584
- - [MAJOR] Update to latest i18n in editor and runtime (#2940) @knolleary
585
- - [MAJOR] Deprecate usage of httpRoot (#2953) @knolleary
586
- - Add pre/postInstall hooks to npm install handling (#2936) @knolleary
587
- - Add engine-strict flag to npm install args (#2965) @nileio
588
- - Restructure default settings.js to be more organised (#3012) @knolleary
589
- - Ensure httpServerOptions gets applied to ALL the express apps
590
- - Allow RED.settings.set to replace string property with object property
591
- - Update debug tests to handle compact comms format
592
- - Updates to encode/decode message when passed over debug comms link
593
- - Remove all input event listeners on a node once it is closed
594
- - Move hooks to util package
595
- - Rework hooks structure to be a linkedlist
596
- - Update dependencies (#2922) @knolleary
597
-
598
- Editor
599
-
600
- - [MAJOR] Change node id generation to give fixed length values without '.' (#2987) @knolleary
601
- - [MAJOR] Add Monaco code editor (#2971) @Steve-Mcl
602
- - Update to latest Monaco (#3007) @Steve-Mcl
603
- - Update Node-RED Function typings in Monaco (#3008) @Steve-Mcl
604
- - Add css named variables for certain key colours (#2994) @knolleary
605
- - Improve contrast of export dialog JSON font color
606
- - Switch editableList buttons from <a> to <button> elements
607
- - Add option to RED.nodes.createCompleteNodeSet to include node dimensions
608
- - Fix css of node help table of contents elements
609
- - Improve red-ui-node-icon css and add red-ui-node-icon-small modifier class
610
- - Add RED.hooks to editor
611
- - Add viewAddPort viewRemovePort viewAddNode viewRemoveNode hooks to view
612
- - Use paletteLabel if set in help sidebar
613
- - Add missing args from JSONata $now signature
614
-
615
- Nodes
616
-
617
- - [MAJOR] Relabel RBE node as 'filter' and move into core. Also remove tail (#2944) @dceejay
618
- - [MAJOR] HTTP Request: migrate to 'got' module (#2952) @knolleary
619
- - [MAJOR] Move Inject node to CronosJS module (#2959) @knolleary
620
- - [MAJOR] JSON: Update ajv to 8.2.0 - drop support for JSON-Schema draft-04 (#2969) @knolleary
621
- - [MAJOR] HTML node: cheerio update to 1.x (#3011) @knolleary
622
- - Join: change default manual mode to object (#2931) @knolleary
623
- - File node: Add fileWorkingDirectory (#2932) @knolleary
624
- - Delay node enhancements (#2294) @kazuhitoyokoi (#2949) @dceejay
625
- - Add Japanese translations for delay node enhancements (#2958) @kazuhitoyokoi
626
- - Inject node: reorder TypedInput options (#2961) @dceejay
627
- - HTTP Request: update to work with proxies (#2983) @hardillb (#3009) @hardillb
628
- - HTTP Request: fix msg.responseUrl (#2986) @hardillb
629
- - TLS: Add ALPN support to TLS node (#2988) @hardillb
630
- - Inject: add "Inject now" button to edit dialog (#2990) @Steve-Mcl
631
-
632
-
633
-
634
226
  #### Older Releases
635
227
 
636
228
  Change logs for older releases are available on GitHub: https://github.com/node-red/node-red/releases
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-red",
3
- "version": "3.0.0-beta.2",
3
+ "version": "3.0.0",
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": "3.0.0-beta.2",
35
- "@node-red/runtime": "3.0.0-beta.2",
36
- "@node-red/util": "3.0.0-beta.2",
37
- "@node-red/nodes": "3.0.0-beta.2",
34
+ "@node-red/editor-api": "3.0.0",
35
+ "@node-red/runtime": "3.0.0",
36
+ "@node-red/util": "3.0.0",
37
+ "@node-red/nodes": "3.0.0",
38
38
  "basic-auth": "2.0.1",
39
39
  "bcryptjs": "2.4.3",
40
40
  "express": "4.18.1",
package/settings.js CHANGED
@@ -242,6 +242,7 @@ module.exports = {
242
242
  /*******************************************************************************
243
243
  * Runtime Settings
244
244
  * - lang
245
+ * - runtimeState
245
246
  * - diagnostics
246
247
  * - logging
247
248
  * - contextStorage
@@ -249,93 +250,105 @@ module.exports = {
249
250
  * - externalModules
250
251
  ******************************************************************************/
251
252
 
252
- /** Uncomment the following to run node-red in your preferred language.
253
- * Available languages include: en-US (default), ja, de, zh-CN, zh-TW, ru, ko
254
- * Some languages are more complete than others.
255
- */
256
- // lang: "de",
253
+ /** Uncomment the following to run node-red in your preferred language.
254
+ * Available languages include: en-US (default), ja, de, zh-CN, zh-TW, ru, ko
255
+ * Some languages are more complete than others.
256
+ */
257
+ // lang: "de",
257
258
 
258
259
  /** Configure diagnostics options
259
260
  * - enabled: When `enabled` is `true` (or unset), diagnostics data will
260
261
  * be available at http://localhost:1880/diagnostics
261
262
  * - ui: When `ui` is `true` (or unset), the action `show-system-info` will
262
263
  * be available to logged in users of node-red editor
263
- */
264
+ */
264
265
  diagnostics: {
265
266
  /** enable or disable diagnostics endpoint. Must be set to `false` to disable */
266
267
  enabled: true,
267
268
  /** enable or disable diagnostics display in the node-red editor. Must be set to `false` to disable */
268
269
  ui: true,
269
270
  },
271
+ /** Configure runtimeState options
272
+ * - enabled: When `enabled` is `true` flows runtime can be Started/Stoped
273
+ * by POSTing to available at http://localhost:1880/flows/state
274
+ * - ui: When `ui` is `true`, the action `core:start-flows` and
275
+ * `core:stop-flows` will be available to logged in users of node-red editor
276
+ * Also, the deploy menu (when set to default) will show a stop or start button
277
+ */
278
+ runtimeState: {
279
+ /** enable or disable flows/state endpoint. Must be set to `false` to disable */
280
+ enabled: false,
281
+ /** show or hide runtime stop/start options in the node-red editor. Must be set to `false` to hide */
282
+ ui: false,
283
+ },
284
+ /** Configure the logging output */
285
+ logging: {
286
+ /** Only console logging is currently supported */
287
+ console: {
288
+ /** Level of logging to be recorded. Options are:
289
+ * fatal - only those errors which make the application unusable should be recorded
290
+ * error - record errors which are deemed fatal for a particular request + fatal errors
291
+ * warn - record problems which are non fatal + errors + fatal errors
292
+ * info - record information about the general running of the application + warn + error + fatal errors
293
+ * debug - record information which is more verbose than info + info + warn + error + fatal errors
294
+ * trace - record very detailed logging + debug + info + warn + error + fatal errors
295
+ * off - turn off all logging (doesn't affect metrics or audit)
296
+ */
297
+ level: "info",
298
+ /** Whether or not to include metric events in the log output */
299
+ metrics: false,
300
+ /** Whether or not to include audit events in the log output */
301
+ audit: false
302
+ }
303
+ },
270
304
 
271
- /** Configure the logging output */
272
- logging: {
273
- /** Only console logging is currently supported */
274
- console: {
275
- /** Level of logging to be recorded. Options are:
276
- * fatal - only those errors which make the application unusable should be recorded
277
- * error - record errors which are deemed fatal for a particular request + fatal errors
278
- * warn - record problems which are non fatal + errors + fatal errors
279
- * info - record information about the general running of the application + warn + error + fatal errors
280
- * debug - record information which is more verbose than info + info + warn + error + fatal errors
281
- * trace - record very detailed logging + debug + info + warn + error + fatal errors
282
- * off - turn off all logging (doesn't affect metrics or audit)
283
- */
284
- level: "info",
285
- /** Whether or not to include metric events in the log output */
286
- metrics: false,
287
- /** Whether or not to include audit events in the log output */
288
- audit: false
289
- }
290
- },
291
-
292
- /** Context Storage
293
- * The following property can be used to enable context storage. The configuration
294
- * provided here will enable file-based context that flushes to disk every 30 seconds.
295
- * Refer to the documentation for further options: https://nodered.org/docs/api/context/
296
- */
297
- //contextStorage: {
298
- // default: {
299
- // module:"localfilesystem"
300
- // },
301
- //},
302
-
303
- /** `global.keys()` returns a list of all properties set in global context.
304
- * This allows them to be displayed in the Context Sidebar within the editor.
305
- * In some circumstances it is not desirable to expose them to the editor. The
306
- * following property can be used to hide any property set in `functionGlobalContext`
307
- * from being list by `global.keys()`.
308
- * By default, the property is set to false to avoid accidental exposure of
309
- * their values. Setting this to true will cause the keys to be listed.
310
- */
311
- exportGlobalContextKeys: false,
312
-
313
- /** Configure how the runtime will handle external npm modules.
314
- * This covers:
315
- * - whether the editor will allow new node modules to be installed
316
- * - whether nodes, such as the Function node are allowed to have their
317
- * own dynamically configured dependencies.
318
- * The allow/denyList options can be used to limit what modules the runtime
319
- * will install/load. It can use '*' as a wildcard that matches anything.
320
- */
321
- externalModules: {
322
- // autoInstall: false, /** Whether the runtime will attempt to automatically install missing modules */
323
- // autoInstallRetry: 30, /** Interval, in seconds, between reinstall attempts */
324
- // palette: { /** Configuration for the Palette Manager */
325
- // allowInstall: true, /** Enable the Palette Manager in the editor */
326
- // allowUpdate: true, /** Allow modules to be updated in the Palette Manager */
327
- // allowUpload: true, /** Allow module tgz files to be uploaded and installed */
328
- // allowList: ['*'],
329
- // denyList: [],
330
- // allowUpdateList: ['*'],
331
- // denyUpdateList: []
332
- // },
333
- // modules: { /** Configuration for node-specified modules */
334
- // allowInstall: true,
335
- // allowList: [],
336
- // denyList: []
337
- // }
338
- },
305
+ /** Context Storage
306
+ * The following property can be used to enable context storage. The configuration
307
+ * provided here will enable file-based context that flushes to disk every 30 seconds.
308
+ * Refer to the documentation for further options: https://nodered.org/docs/api/context/
309
+ */
310
+ //contextStorage: {
311
+ // default: {
312
+ // module:"localfilesystem"
313
+ // },
314
+ //},
315
+
316
+ /** `global.keys()` returns a list of all properties set in global context.
317
+ * This allows them to be displayed in the Context Sidebar within the editor.
318
+ * In some circumstances it is not desirable to expose them to the editor. The
319
+ * following property can be used to hide any property set in `functionGlobalContext`
320
+ * from being list by `global.keys()`.
321
+ * By default, the property is set to false to avoid accidental exposure of
322
+ * their values. Setting this to true will cause the keys to be listed.
323
+ */
324
+ exportGlobalContextKeys: false,
325
+
326
+ /** Configure how the runtime will handle external npm modules.
327
+ * This covers:
328
+ * - whether the editor will allow new node modules to be installed
329
+ * - whether nodes, such as the Function node are allowed to have their
330
+ * own dynamically configured dependencies.
331
+ * The allow/denyList options can be used to limit what modules the runtime
332
+ * will install/load. It can use '*' as a wildcard that matches anything.
333
+ */
334
+ externalModules: {
335
+ // autoInstall: false, /** Whether the runtime will attempt to automatically install missing modules */
336
+ // autoInstallRetry: 30, /** Interval, in seconds, between reinstall attempts */
337
+ // palette: { /** Configuration for the Palette Manager */
338
+ // allowInstall: true, /** Enable the Palette Manager in the editor */
339
+ // allowUpdate: true, /** Allow modules to be updated in the Palette Manager */
340
+ // allowUpload: true, /** Allow module tgz files to be uploaded and installed */
341
+ // allowList: ['*'],
342
+ // denyList: [],
343
+ // allowUpdateList: ['*'],
344
+ // denyUpdateList: []
345
+ // },
346
+ // modules: { /** Configuration for node-specified modules */
347
+ // allowInstall: true,
348
+ // allowList: [],
349
+ // denyList: []
350
+ // }
351
+ },
339
352
 
340
353
 
341
354
  /*******************************************************************************
@@ -401,7 +414,7 @@ module.exports = {
401
414
  * packages/node_modules/@node-red/editor-client/src/vendor/monaco/dist/theme
402
415
  * e.g. "tomorrow-night", "upstream-sunburst", "github", "my-theme"
403
416
  */
404
- theme: "vs",
417
+ // theme: "vs",
405
418
  /** other overrides can be set e.g. fontSize, fontFamily, fontLigatures etc.
406
419
  * for the full list, see https://microsoft.github.io/monaco-editor/api/interfaces/monaco.editor.IStandaloneEditorConstructionOptions.html
407
420
  */