node-red 5.0.0-beta.5 → 5.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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,115 @@
1
+ #### 5.0.0: : Milestone Release
2
+
3
+ This marks the next major release of Node-RED. The following changes represent
4
+ those added since the last beta. Check the beta release details below for the complete
5
+ list.
6
+
7
+ Breaking Changes
8
+
9
+ - Node-RED now requires Node 22.9 or later.
10
+ - We recommend Node 24.
11
+
12
+ Editor
13
+
14
+ New Features
15
+
16
+ - Add support for GH style blockquote alerts (#5733) @Steve-Mcl
17
+ - Add alert types toolbar functionality to markdown editor (#5757) @Steve-Mcl
18
+ - Rework search statusBar (#5744) @knolleary
19
+ - Welcome tour v5 (#5784) @knolleary
20
+
21
+ Fixes
22
+
23
+ - Do not alter button text for active/focus if its the primary button (#5787) @knolleary
24
+ - Align unknown node style (#5785) @knolleary
25
+ - Add missing core actions (#5777) @knolleary
26
+ - Ensure hidden tabs are restored on reload (#5762) @knolleary
27
+ - Do not show context menu if in the middle of another action (#5763) @knolleary
28
+ - Standardize the scrollbar colors (#5750) @bonanitech
29
+ - Ensure quick-add aligns nodes and junctions to the grid (#5759) @knolleary
30
+ - Fix svg tooltip text alignment (#5753) @knolleary
31
+ - Do not adjust focus when navigating search results (#5749) @knolleary
32
+ - [5712] Accessibility - Buttons and links missing accessible names (#5713) @n-lark
33
+ - Fix subflow virtual port halo sizing (#5748) @knolleary
34
+ - Group sidebar tab buttons (#5747) @knolleary
35
+ - Tidy up import error popover (#5745) @knolleary
36
+ - Move notifications bar to below tab bar (#5743) @knolleary
37
+ - Align sidebar toggle actions (#5742) @knolleary
38
+ - Shrink popover height if not sufficient vertical space (#5741) @knolleary
39
+ - Standardize popover colors (#5738) @knolleary
40
+ - Enable badge annotations on groups (#5729) @Steve-Mcl
41
+ - Refactor workspace grid to use single pattern definition (#5735) @Steve-Mcl
42
+ - Overlay status above selection halo (#5736) @knolleary
43
+ - Tidy up popover appearance (#5740) @knolleary
44
+ - Improve view navigator interaction (#5709) @knolleary
45
+ - [5704] UX: Deploy menu dropdown icon appears too inactive (#5711) @n-lark
46
+ - Redraw halo if node status changes (#5708) @knolleary
47
+ - [5702] UX: Sidebar tab buttons do not show focus indicator when clicking on them (#5710) @n-lark
48
+ - [5693 + 5699] Aligning Dark Theme with Light Theme's SCSS Structure + `node.status` fill of blue is shown as red in dark theme (#5694) @n-lark
49
+ - [5696] `editorTheme.header.title`: long values clip without ellipsis, and misalign when `header.url` is set (#5697) @n-lark
50
+ - [5695] Dropping a node over certain buttons in the footer toolbar causes those buttons to execute (NR5) (#5700) @n-lark
51
+
52
+ Runtime
53
+
54
+ - Add support for installing ESM module nodes (#4355) @hlovdal
55
+
56
+ Nodes
57
+
58
+ - Fix error handling for `linkcall` in function node (#5755) @Steve-Mcl
59
+ - Sort node lists alphabetically (#5739) @knolleary
60
+
61
+ #### 5.0.0-beta.6: Beta Release
62
+
63
+ Highlights
64
+
65
+ - We now bundle `npm` as our own dependency to improve how the Palette Manager uses it
66
+ - Lots of UI fixes from previous beta feedback
67
+ - Incremental accessiblity improvements in the editor - adding aria labels to buttons and images
68
+ - Ability to call Link In nodes directly from a Function node
69
+
70
+ Editor
71
+
72
+ - Ensure png icon is centrally aligned on first layout (#5688) @knolleary
73
+ - Clip user profile image to the round button in the header (#5690) @knolleary
74
+ - [5683] No discernible outline on junctions and node ports in dark mode in NR5 + lighten shade color (#5691) @n-lark
75
+ - Do not show section title if all options are hidden (#5689) @knolleary
76
+ - Remove reveal on hover in search results and provide button (#5684) @knolleary
77
+ - Invert selected tab button border color to improve contrast (#5681) @knolleary
78
+ - [5658] ctrl+space shortcut isn't always firing (#5670) @n-lark
79
+ - [5674] UX: pointer-event deadzone in the tab bar (#5675) @n-lark
80
+ - [5534] UX: create mechanism for themes to provide multiple variants (#5659) @n-lark
81
+ - Remove aria label application from popover (#5654) @knolleary
82
+ - Remove default admin cors rules (#5652) @knolleary
83
+ - [5653] Accessibility — Attributes (#5655) @n-lark
84
+ - Remove SASS variables marked as deprecated (#5642) @bonanitech
85
+ - [5647] Accessibility - Names and labels (#5648) @n-lark
86
+ - [5649] Accessibility - Viewports, language attributes, and tabIndex (#5650) @n-lark
87
+ - [5644] UX: Address dark theme feedback from latest beta release (#5646) @n-lark
88
+ - Tighten select halo margin (#5651) @knolleary
89
+ - Fix multiplayer icon appearance (#5640) @knolleary
90
+ - Remove unslightly gap in the debug sidebar (#5639) @knolleary
91
+ - [5634] Junctions and ports on hover disappear with light theme (#5635) @n-lark
92
+ - [5636] V5, B5 : Sporadic Panel Height Calculations (#5638) @n-lark
93
+
94
+ Runtime
95
+
96
+ - Fix build scripts for windows (#5687) @knolleary
97
+ - Set minimum node.js version to 22.9 (#5678) @knolleary
98
+ - Update to latest npm (#5677) @knolleary
99
+ - Update some dev dependencies to clear audit noise (#5673) @knolleary
100
+ - Introduce eslint (#5671) @knolleary
101
+ - Remove Grunt as the task runner (#5669) @knolleary
102
+ - Use req.hostname in https redirect to ensure proxy trust is maintained (#5666) @knolleary
103
+ - Sync master updates to dev (#5664) @knolleary
104
+ - Use a token exchange pattern for OAuth logins (#5657) @knolleary
105
+
106
+ Nodes
107
+
108
+ - Allow TLS SNI Server name to be set in the http-request node (#5667) @hardillb
109
+ - Defining utility functions for re-use in a function node (#5494) @Steve-Mcl
110
+ - Only connect websocket client if need to (#5533) @dceejay
111
+
112
+
1
113
  #### 5.0.0-beta.5: Beta Release
2
114
 
3
115
  - [5517] UX: Create default dark theme (#5625) @n-lark
@@ -86,6 +198,38 @@ Nodes
86
198
 
87
199
  - Add ability to use pfx or p12 file for TLS connection settings option (#4907) @dceejay
88
200
 
201
+ #### 4.1.11: Maintenance Release
202
+
203
+ - Add styles to prevent controls wrapping in find bar (#5779) @Steve-Mcl
204
+ - Update mermaid in dev dependencies (#5775) @knolleary
205
+ - Update dependencies (#5772) @knolleary
206
+ - Allow theme plugin to override node categories (#5770) @knolleary
207
+ - Add description tooltips to palette categories (#5769) @knolleary
208
+ - Fix box-shadow property value (#5764) @bonanitech
209
+ - Typo fixes (#5767) @bonanitech
210
+ - Sanitize all args passed to projects/git api (#5768) @knolleary
211
+ - Ensure subsequent calls to the node editor can open (#5734) @Steve-Mcl
212
+ - Remove debug console.log from externalModules (#5737) @Autre31415
213
+
214
+ #### 4.1.10: Maintenance Release
215
+
216
+ - Ensure project files are inside project root path (#5724) @knolleary
217
+ - Fix module name validation for uninstall and tgz install (#5722) @knolleary
218
+
219
+ #### 4.1.9: Maintenance Release
220
+
221
+ - Update "use-tls" translations to indicate that a custom cert is used (#5685) @tobias47n9e
222
+ - Indicate that "use-tls" label is using a custom config (#5665) @tobias47n9e
223
+ - Bump dependencies for 4.1.9 release (#5663) @knolleary
224
+ - Bundle npm to enable cross-platform module management (#5662) @knolleary
225
+ - Replace uuid library with native function crypto.randomUUID (#5660) @hlovdal
226
+ - Ensure tcp-request doesn't reuse uncloned msg objects (#5612) @hardillb
227
+ - Ensure custom subflow colors override theme overrides (#5599) @knolleary
228
+ - Handle invalid theme regex (#5598) @knolleary
229
+ - Allow a nodes defaults to be overridden by settings.js file (#5591) @dceejay
230
+ - Fix reinitializing server with custom node (#5596) @tobias47n9e
231
+ - Update config sidebar id handling (#5597) @knolleary
232
+
89
233
  #### 4.1.8: Maintenance Release
90
234
 
91
235
  - Add badges to func node tabs with code in (#5585) @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.5",
3
+ "version": "5.0.0",
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.5",
35
- "@node-red/runtime": "5.0.0-beta.5",
36
- "@node-red/util": "5.0.0-beta.5",
37
- "@node-red/nodes": "5.0.0-beta.5",
34
+ "@node-red/editor-api": "5.0.0",
35
+ "@node-red/runtime": "5.0.0",
36
+ "@node-red/util": "5.0.0",
37
+ "@node-red/nodes": "5.0.0",
38
38
  "basic-auth": "2.0.1",
39
39
  "bcryptjs": "3.0.3",
40
40
  "cors": "2.8.5",
41
- "express": "4.22.1",
41
+ "express": "4.22.2",
42
42
  "fs-extra": "11.3.0",
43
- "node-red-admin": "4.1.5",
43
+ "node-red-admin": "^4.1.6",
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
@@ -432,7 +432,9 @@ module.exports = {
432
432
  * added to the end of the palette.
433
433
  * If not set, the following default order is used:
434
434
  */
435
- //categories: ['subflows', 'common', 'function', 'network', 'sequence', 'parser', 'storage'],
435
+ //categories: {
436
+ // order: ['subflows', 'common', 'function', 'network', 'sequence', 'parser', 'storage'],
437
+ // },
436
438
  },
437
439
 
438
440
  projects: {