node-red 5.0.0-beta.4 → 5.0.0-beta.6

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,76 @@
1
+ #### 5.0.0-beta.6: Beta Release
2
+
3
+ Highlights
4
+
5
+ - We now bundle `npm` as our own dependency to improve how the Palette Manager uses it
6
+ - Lots of UI fixes from previous beta feedback
7
+ - Incremental accessiblity improvements in the editor - adding aria labels to buttons and images
8
+ - Ability to call Link In nodes directly from a Function node
9
+
10
+ Editor
11
+
12
+ - Ensure png icon is centrally aligned on first layout (#5688) @knolleary
13
+ - Clip user profile image to the round button in the header (#5690) @knolleary
14
+ - [5683] No discernible outline on junctions and node ports in dark mode in NR5 + lighten shade color (#5691) @n-lark
15
+ - Do not show section title if all options are hidden (#5689) @knolleary
16
+ - Remove reveal on hover in search results and provide button (#5684) @knolleary
17
+ - Invert selected tab button border color to improve contrast (#5681) @knolleary
18
+ - [5658] ctrl+space shortcut isn't always firing (#5670) @n-lark
19
+ - [5674] UX: pointer-event deadzone in the tab bar (#5675) @n-lark
20
+ - [5534] UX: create mechanism for themes to provide multiple variants (#5659) @n-lark
21
+ - Remove aria label application from popover (#5654) @knolleary
22
+ - Remove default admin cors rules (#5652) @knolleary
23
+ - [5653] Accessibility — Attributes (#5655) @n-lark
24
+ - Remove SASS variables marked as deprecated (#5642) @bonanitech
25
+ - [5647] Accessibility - Names and labels (#5648) @n-lark
26
+ - [5649] Accessibility - Viewports, language attributes, and tabIndex (#5650) @n-lark
27
+ - [5644] UX: Address dark theme feedback from latest beta release (#5646) @n-lark
28
+ - Tighten select halo margin (#5651) @knolleary
29
+ - Fix multiplayer icon appearance (#5640) @knolleary
30
+ - Remove unslightly gap in the debug sidebar (#5639) @knolleary
31
+ - [5634] Junctions and ports on hover disappear with light theme (#5635) @n-lark
32
+ - [5636] V5, B5 : Sporadic Panel Height Calculations (#5638) @n-lark
33
+
34
+ Runtime
35
+
36
+ - Fix build scripts for windows (#5687) @knolleary
37
+ - Set minimum node.js version to 22.9 (#5678) @knolleary
38
+ - Update to latest npm (#5677) @knolleary
39
+ - Update some dev dependencies to clear audit noise (#5673) @knolleary
40
+ - Introduce eslint (#5671) @knolleary
41
+ - Remove Grunt as the task runner (#5669) @knolleary
42
+ - Use req.hostname in https redirect to ensure proxy trust is maintained (#5666) @knolleary
43
+ - Sync master updates to dev (#5664) @knolleary
44
+ - Use a token exchange pattern for OAuth logins (#5657) @knolleary
45
+
46
+ Nodes
47
+
48
+ - Allow TLS SNI Server name to be set in the http-request node (#5667) @hardillb
49
+ - Defining utility functions for re-use in a function node (#5494) @Steve-Mcl
50
+ - Only connect websocket client if need to (#5533) @dceejay
51
+
52
+
53
+ #### 5.0.0-beta.5: Beta Release
54
+
55
+ - [5517] UX: Create default dark theme (#5625) @n-lark
56
+ - [5629] UX: Deploy menu: Restart Flows should not be faded (#5632) @n-lark
57
+ - Pull master changes to dev (#5631) @knolleary
58
+ - [5532] UX: Improve accessibility of default theme - colour palette (#5613) @n-lark
59
+ - [5616] Add back in expand/collapse tabs for sidenavs (#5626) @n-lark
60
+ - [5572] UX: Handle long instance title text (#5628) @n-lark
61
+ - [5621] UX: Fix styling of dragging sidebar panels (#5627) @n-lark
62
+ - Rework selected/hightlighted node appearance (#5623) @knolleary
63
+ - Ensure active tab is fully visible (#5624) @knolleary
64
+ - Rework sidebars to be draggable (#5618) @knolleary
65
+ - Make scrollbar hitbox larger (#5576) @knolleary
66
+ - [5617] Deploy Menu Redesign (#5619) @n-lark
67
+ - [5603] UX: Header buttons shown whilst editor loading (#5606) @n-lark
68
+ - [5602] UX: Unexpected tab border showing (#5607) @n-lark
69
+ - [5374] UX: replace touch radial menu with standard context menu (#5614) @n-lark
70
+ - [3431] feature: Store sidebar width between editor sessions (#5605) @n-lark
71
+ - Ensure edit dialog fills the tray (#5600) @knolleary
72
+ - Sync 4.1.8 to dev branch (#5587) @knolleary
73
+
1
74
  #### 5.0.0-beta.4: Beta Release
2
75
 
3
76
  - Various UX tweaks and tidy ups
@@ -65,6 +138,18 @@ Nodes
65
138
 
66
139
  - Add ability to use pfx or p12 file for TLS connection settings option (#4907) @dceejay
67
140
 
141
+ #### 4.1.8: Maintenance Release
142
+
143
+ - Add badges to func node tabs with code in (#5585) @knolleary
144
+ - Fix typo in French link node description (#5530) @LPe7
145
+ - Encode branch name in delete request (#5584) @knolleary
146
+ - Introduce `show-first-tab` and `show-last-tab` actions (#5583) @GogoVega
147
+ - Fix "connected to ..." log string in tcp in/out nodes using TLS (#5484) @marcows
148
+ - TreeList: Fix arrow navigation through filtered TreeList (#5431) @piotrbogun
149
+ - Update tar dependency (#5582) @knolleary
150
+ - Allow Node-RED section of help sidebar to be hidden (#5581) @knolleary
151
+ - Allow theme plugin to override settings and add menu options (#5580) @knolleary
152
+
68
153
  #### 4.1.7: Maintenance Release
69
154
 
70
155
  - Do not block touch events on ports (#5527) @knolleary
package/lib/red.js CHANGED
@@ -31,7 +31,7 @@ dns.setDefaultResultOrder('ipv4first');
31
31
 
32
32
  function checkVersion(userSettings) {
33
33
  var semver = require('semver');
34
- if (!semver.satisfies(process.version,">=18.0.0")) {
34
+ if (!semver.satisfies(process.version,">=22.9.0")) {
35
35
  // var e = new Error("Unsupported version of Node.js");
36
36
  // e.code = "unsupported_version";
37
37
  // throw e;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-red",
3
- "version": "5.0.0-beta.4",
3
+ "version": "5.0.0-beta.6",
4
4
  "description": "Low-code programming for event-driven applications",
5
5
  "homepage": "https://nodered.org",
6
6
  "license": "Apache-2.0",
@@ -31,16 +31,16 @@
31
31
  "flow"
32
32
  ],
33
33
  "dependencies": {
34
- "@node-red/editor-api": "5.0.0-beta.4",
35
- "@node-red/runtime": "5.0.0-beta.4",
36
- "@node-red/util": "5.0.0-beta.4",
37
- "@node-red/nodes": "5.0.0-beta.4",
34
+ "@node-red/editor-api": "5.0.0-beta.6",
35
+ "@node-red/runtime": "5.0.0-beta.6",
36
+ "@node-red/util": "5.0.0-beta.6",
37
+ "@node-red/nodes": "5.0.0-beta.6",
38
38
  "basic-auth": "2.0.1",
39
39
  "bcryptjs": "3.0.3",
40
40
  "cors": "2.8.5",
41
41
  "express": "4.22.1",
42
42
  "fs-extra": "11.3.0",
43
- "node-red-admin": "^4.1.3",
43
+ "node-red-admin": "^4.1.5",
44
44
  "nopt": "5.0.0",
45
45
  "semver": "7.7.4"
46
46
  },
@@ -48,6 +48,6 @@
48
48
  "@node-rs/bcrypt": "1.10.7"
49
49
  },
50
50
  "engines": {
51
- "node": ">=18.5"
51
+ "node": ">=22.9"
52
52
  }
53
53
  }
package/red.js CHANGED
@@ -27,9 +27,9 @@ if (process.argv[2] === 'admin') {
27
27
  }
28
28
 
29
29
  var semver = require('semver');
30
- if (!semver.satisfies(process.version, ">=18.0.0")) {
30
+ if (!semver.satisfies(process.version, ">=22.9.0")) {
31
31
  console.log("Unsupported version of Node.js:", process.version);
32
- console.log("Node-RED requires Node.js v18 or later");
32
+ console.log("Node-RED requires Node.js v22.9 or later");
33
33
  process.exit(1)
34
34
  }
35
35
 
@@ -360,7 +360,7 @@ httpsPromise.then(function(startupHttps) {
360
360
  } catch(err) {
361
361
  if (err.code == "unsupported_version") {
362
362
  console.log("Unsupported version of Node.js:",process.version);
363
- console.log("Node-RED requires Node.js v18 or later");
363
+ console.log("Node-RED requires Node.js v22.9 or later");
364
364
  } else {
365
365
  console.log("Failed to start server:");
366
366
  if (err.stack) {
package/settings.js CHANGED
@@ -313,10 +313,10 @@ module.exports = {
313
313
  ui: false,
314
314
  },
315
315
  telemetry: {
316
- /**
316
+ /**
317
317
  * By default, telemetry is disabled until the user provides consent the first
318
318
  * time they open the editor.
319
- *
319
+ *
320
320
  * The following property can be uncommented and set to true/false to enable/disable
321
321
  * telemetry without seeking further consent in the editor.
322
322
  * The user can override this setting via the user settings dialog within the editor
@@ -624,4 +624,23 @@ module.exports = {
624
624
  // * - reason: if result is false, the HTTP reason string to return
625
625
  // */
626
626
  //},
627
+
628
+ /*******************************************************************************
629
+ * Node Default Overrides
630
+ *
631
+ * This allows the user to override default values of a node. These are the values
632
+ * that are applied when a node is added to the workspace. They do not affect
633
+ * nodes that have already been deployed.
634
+ *
635
+ * The available properties of a node type can be found in the Information sidebar when
636
+ * selecting a node of that type.
637
+ *
638
+ *
639
+ *******************************************************************************/
640
+
641
+ // nodeDefaults: {
642
+ // "debug": {
643
+ // "complete": true // set the debug node to show complete msg by default
644
+ // }
645
+ // }
627
646
  }