node-red 5.0.0-beta.5 → 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 +52 -0
- package/lib/red.js +1 -1
- package/package.json +7 -7
- package/red.js +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,55 @@
|
|
|
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
|
+
|
|
1
53
|
#### 5.0.0-beta.5: Beta Release
|
|
2
54
|
|
|
3
55
|
- [5517] UX: Create default dark theme (#5625) @n-lark
|
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,">=
|
|
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.
|
|
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.
|
|
35
|
-
"@node-red/runtime": "5.0.0-beta.
|
|
36
|
-
"@node-red/util": "5.0.0-beta.
|
|
37
|
-
"@node-red/nodes": "5.0.0-beta.
|
|
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.5",
|
|
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": ">=
|
|
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, ">=
|
|
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
|
|
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
|
|
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) {
|