node-red 3.0.0-beta.3 → 3.0.0-beta.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,38 @@
1
+ #### 3.0.0-beta.4: Beta Release
2
+
3
+ Editor
4
+
5
+ - Fix clicking on node in workspace to hide context menu (#3696) @knolleary
6
+ - Fix credential type input item of subflow template (#3703) @HiroyasuNishiyama
7
+ - Add option flag `reimport` to `importNodes` (#3718) @Steve-Mcl
8
+ - Update german translation (#3691) @Dennis14e
9
+ - List welcome tours in help sidebar (#3717) @knolleary
10
+ - Ensure 'hidden flow' count doesn't include subflows (#3715) @knolleary
11
+ - Fix Chinese translate (#3706) @hotlong
12
+ - Fix use default button for node icon (#3714) @kazuhitoyokoi
13
+ - Fix select boxes vertical alignment (#3698) @bonanitech
14
+ - Ensure workspace clean after undoing dropped node (#3708) @Steve-Mcl
15
+ - Use solid colour as config node icon background to hide text overflow (#3710) @Steve-Mcl
16
+ - Increase quick-add height to reveal 2 most recent entries (#3711) @Steve-Mcl
17
+ - Set default editor to monaco in absence of user preference (#3702) @knolleary
18
+ - Add Japanese translations for v3.0-beta.3 (#3688) @kazuhitoyokoi
19
+ - Fix handling of spacebar inside JSON visual editor (#3687) @knolleary
20
+ - Fix menu padding to handle both icons and submenus (#3686) @knolleary
21
+ - Include scroll offset when positioning quick-add dialog (#3685) @knolleary
22
+
23
+ Runtime
24
+
25
+ - Import default export if node is a transpiled es module (#3669) @dschmidt
26
+ - Leave Monaco theme commented out by default (#3704) @bonanitech
27
+
28
+ Nodes
29
+
30
+ - CSV: Fix CSV node to handle when outputting text fields (#3716) @dceejay
31
+ - Delay: Fix delay rate limit last timing when empty (#3709) @dceejay
32
+ - Link: Ensure link-call cache is updated when link-in is modified (#3695) @Steve-Mcl
33
+ - Join: Join node in reduce mode doesn't keep existing msg properties (#3670) @dceejay
34
+ - Template: Add support for evalulating {{env.<var>}} within a template node (#3690) @cow0w
35
+
1
36
  #### 3.0.0-beta.3: Beta Release
2
37
 
3
38
  Editor
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-red",
3
- "version": "3.0.0-beta.3",
3
+ "version": "3.0.0-beta.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": "3.0.0-beta.3",
35
- "@node-red/runtime": "3.0.0-beta.3",
36
- "@node-red/util": "3.0.0-beta.3",
37
- "@node-red/nodes": "3.0.0-beta.3",
34
+ "@node-red/editor-api": "3.0.0-beta.4",
35
+ "@node-red/runtime": "3.0.0-beta.4",
36
+ "@node-red/util": "3.0.0-beta.4",
37
+ "@node-red/nodes": "3.0.0-beta.4",
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
@@ -260,14 +261,26 @@ module.exports = {
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
  },
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
+ },
271
284
  /** Configure the logging output */
272
285
  logging: {
273
286
  /** Only console logging is currently supported */
@@ -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
  */