diff --git a/CHANGELOG.md b/CHANGELOG.md index cc175a79b..78ce7d480 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,35 @@ +### 1.3.5 Maintenance Release + +Editor + + - Open subflow tab next to active tab rather than at the end + - Shrink default notification box + - Support mousewheel scroll in tab bar + - Revert some of #2967 to fix treeList gutter width calculation + - Prevent unknown node from breaking editor + - Stop module with missing types from preventing editor load + - Handle sidebar tab that no longer exists when setting first active + - Fix plugin loading when browser sends unrecognised lang + - Prevent error whilst drag/drop importing from leaving dropTarget visible Fixes #2982 + - Fix scaling issues when dragging nodes into scaled workspace + - Fix incorrect shortcut keys in info tips (#2980) @kazuhitoyokoi + - Reduce code duplication around node/label generation + - Fix theme handling when no editorTheme.page setting + - Fix jshint error in treeList + +Runtime + + - Fix error handling in runtime/lib/api/nodes + - Add Node 16 with sass fixed + - Migrate from node-sass to sass (#2984) + - Fix "installRetry" was declared a constant and changed (#2974) @aheissenberger + +Nodes + + - Function: Fix 'SyntaxError' in Function node when last line of on-stop is a comment + - Function: Fix Function tab label names in the node help text Closes #2978 + - Function: Update Japanese info text of function node (#2985) @HiroyasuNishiyama + ### 1.3.4 Maintenance Release Editor diff --git a/package.json b/package.json index 09a68b588..2f0fb63f1 100644 --- a/package.json +++ b/package.json @@ -26,6 +26,8 @@ } ], "dependencies": { + "acorn": "8.3.0", + "acorn-walk": "8.1.0", "ajv": "8.2.0", "async-mutex": "0.3.1", "basic-auth": "2.0.1", @@ -71,7 +73,7 @@ "semver": "7.3.5", "tar": "6.1.0", "uglify-js": "3.13.3", - "ws": "6.2.1", + "ws": "6.2.2", "xml2js": "0.4.23" }, "optionalDependencies": { diff --git a/packages/node_modules/@node-red/editor-api/package.json b/packages/node_modules/@node-red/editor-api/package.json index 3cd87897f..8a1faaffc 100644 --- a/packages/node_modules/@node-red/editor-api/package.json +++ b/packages/node_modules/@node-red/editor-api/package.json @@ -32,7 +32,7 @@ "passport-http-bearer": "1.0.1", "passport-oauth2-client-password": "0.1.2", "passport": "0.4.1", - "ws": "6.2.1" + "ws": "6.2.2" }, "optionalDependencies": { "bcrypt": "5.0.1" diff --git a/packages/node_modules/@node-red/editor-client/src/js/history.js b/packages/node_modules/@node-red/editor-client/src/js/history.js index 7fedf84be..338d955e1 100644 --- a/packages/node_modules/@node-red/editor-client/src/js/history.js +++ b/packages/node_modules/@node-red/editor-client/src/js/history.js @@ -66,12 +66,14 @@ RED.history = (function() { var importedResult = RED.nodes.import(ev.config,{importMap: importMap}) inverseEv = { t: 'replace', - config: importedResult.removedNodes + config: importedResult.removedNodes, + dirty: RED.nodes.dirty() } } } else if (ev.t == 'add') { inverseEv = { t: "delete", + dirty: RED.nodes.dirty() }; if (ev.nodes) { inverseEv.nodes = []; @@ -158,7 +160,8 @@ RED.history = (function() { } else if (ev.t == "delete") { inverseEv = { - t: "add" + t: "add", + dirty: RED.nodes.dirty() }; if (ev.workspaces) { inverseEv.workspaces = []; @@ -300,11 +303,12 @@ RED.history = (function() { } else if (ev.t == "move") { inverseEv = { t: 'move', - nodes: [] + nodes: [], + dirty: RED.nodes.dirty() }; for (i=0;i