From 87992823d5046b590b8bedc3d5f257a4212a2515 Mon Sep 17 00:00:00 2001
From: Nick O'Leary
Date: Thu, 30 May 2024 16:12:56 +0100
Subject: [PATCH] Update for 4.0 final release
---
CHANGELOG.md | 683 +-----------------
package.json | 2 +-
.../@node-red/editor-api/package.json | 6 +-
.../@node-red/editor-client/package.json | 2 +-
.../editor-client/src/tours/welcome.js | 43 +-
.../node_modules/@node-red/nodes/package.json | 2 +-
.../@node-red/registry/package.json | 4 +-
.../@node-red/runtime/package.json | 6 +-
.../node_modules/@node-red/util/package.json | 2 +-
packages/node_modules/node-red/package.json | 10 +-
10 files changed, 61 insertions(+), 699 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 2aea548f4..737152914 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,29 @@
+#### 4.0 Milestone Release
+
+Editor
+
+ - Fix the Sidebar Config is not refreshed after a deploy (#4734) @GogoVega
+ - Fix checkboxes are not updated when calling `typedInput("value", "")` (#4729) @GogoVega
+ - Fix panning with middle mouse button on windows 10/11 (#4716) @corentin-sodebo-voile
+ - Add Japanese translation for sidebar tooltip (#4727) @kazuhitoyokoi
+ - Translate the number of items selected in the options list (#4730) @GogoVega
+ - Fix a checkbox should return a Boolean value and not the string `on` (#4715) @GogoVega
+ - Deleting a grouped node should update the group (#4714) @GogoVega
+ - Change the Config Node cursor to `pointer` (#4711) @GogoVega
+ - Add missing tooltips to Sidebar (#4713) @GogoVega
+ - Allow nodes to return additional history entries in onEditSave (#4710) @knolleary
+ - Update to Monaco 0.49.0 (#4725) @Steve-Mcl
+ - Add Japanese translations for 4.0.0-beta.3 (#4726) @kazuhitoyokoi
+ - Show lock on deploy if user is read-only (#4706) @knolleary
+
+Runtime
+
+ - Ensure all CSS variables are in the output file (#3743) @bonanitech
+ - Add httpAdminCookieOptions (#4718) @knolleary
+ - chore: migrate deprecated `util.isArray` (#4724) @Rotzbua
+ - Add --version cli args (#4707) @knolleary
+
+
#### 4.0.0-beta.3: Beta Release
Editor
@@ -83,663 +109,6 @@ Nodes
- Let debug node status msg length be settable via settings (#4402) @dceejay
- Feat: Add ability to set headers for WebSocket client (#4436) @marcus-j-davies
-#### 3.1.9: Maintenance Release
-
- - Prevent subflow being added to itself (#4654) @knolleary
- - Fix use of spawn on windows with cmd files (#4652) @knolleary
- - Guard refresh of unknown subflow (#4640) @knolleary
- - Fix subflow module sending messages to debug sidebar (#4642) @knolleary
-
-#### 3.1.8: Maintenance Release
-
- - Add validation and error handling on subflow instance properties (#4632) @knolleary
- - Hide import/export context menu if disabled in theme (#4633) @knolleary
- - Show change indicator on subflow tabs (#4631) @knolleary
- - Bump dependencies (#4630) @knolleary
- - Reset workspace index when clearing nodes (#4619) @knolleary
- - Remove typo in global config (#4613) @kazuhitoyokoi
-
-#### 3.1.7: Maintenance Release
-
- - Add Japanese translation for v3.1.6 (#4603) @kazuhitoyokoi
- - Update jsonata version (#4593) @hardillb
-
-#### 3.1.6: Maintenance Release
-
-Editor
-
- - Do not flag env var in num typedInput as error (#4582) @knolleary
- - Fix example flow name in import dialog (#4578) @kazuhitoyokoi
- - Fix missing node icons in workspace (#4570) @knolleary
-
-Runtime
-
- - Handle undefined env vars (#4581) @knolleary
- - fix: Removed offending MD5 crypto hash and replaced with SHA1 and SHA256 … (#4568) @JaysonHurst
- - chore: remove never use import code (#4580) @giscafer
-
-Nodes
-
- - fix: template node zh-CN translation (#4575) @giscafer
-
-#### 3.1.5: Maintenance Release
-
-Runtime
-
- - Fix require of dns module (#4562) @knolleary
- - Ensure global creds object is initialised when adding first cred (#4561) @knolleary
-
-#### 3.1.4: Maintenance Release
-
-Editor
-
- - Highlight errors in config node sidebar (#4529) @knolleary
- - Improve feedback in import dialog to show conflicted nodes (#4550) @knolleary
- - Modify node users info in config editor footer (#4528) @knolleary
- - Handle modified-nodes deploy after replacing unknown config node (#4556) @knolleary
- - Handle undefined default export when importing module (#4539) @knolleary
- - Fix icon scaling for non .svg icons (#4491) @ralphwetzel
- - (convertNode) Do not create the credentials object if there is nothing to export (#4544) @GogoVega
- - Ensure subflow instance node has g property set (#4538) @knolleary
- - Handle importing flow with existing subflow and instance node (#4546) @knolleary
- - Update index.mst (#4483) @gorenje
- - Include top level property name when copying path from context (#4527) @knolleary
- - Add handling to disable items on context menu (#4500) @kazuhitoyokoi
- - Focus Quick Add dialog from context menu (#4516) @kazuhitoyokoi
- - Fix subflow ports in Quick Add dialog (#4518) @kazuhitoyokoi
- - Fix location of subflow ports in palette (#4502) @kazuhitoyokoi
- - Client/Editor Events: fix off-in-on pattern emulating once (#4484) @gorenje
- - Restore caching busting functionality without using explict version number (#4512) @knolleary
- - Do not translate the list of available languages (#4531) @GogoVega
- - Add French translation of v3.1.3 changes (#4477) @GogoVega
- - i18n(es-ES) Spanish Spain translation (#4495) @joebordes
- - Add missing validation messages (#4487) @GogoVega
- - Add Japanese translations for v3.1.3 (#4498) @kazuhitoyokoi
- - Replace `rename` by `edit` for the menu flow label (#4506) @GogoVega
- - Update editor.json fix typo in German translation (#4552) @guidoffm
-
-Runtime
-
- - Bump the github-actions group with 1 update (#4554) @app/dependabot
- - Clone objects types when getting env values (#4519) @knolleary
- - Ensure global-config credential env vars are merged on deploy (#4526) @knolleary
-
-Nodes
-
- - 21-httprequest.js remove unused code, because of broken use of toLowercase (#4522) @gorenje
-
-#### 3.1.3: Maintenance Release
-
-Editor
-
- - Add missing en-us messages (#4475) @knolleary
-
-#### 3.1.2: Maintenance Release
-
-Editor
-
- - Relax some node validators to allow undefined value (#4471) @knolleary
- - Fix switch validation of typeof field (#4465) @knolleary
- - Use move cursor when hovering on group border (#4467) @knolleary
- - Added action list Chinese (Simplified and Traditional) translation + v3.1.1 changes (#4470) @wangyiyi2056
- - Add French translation of `action-list` + v3.1.1 changes (#4466) @GogoVega
-
- Runtime
-
- - Ensure nested groups inside subflows have their g props remapped (#4472) @knolleary
-
-#### 3.1.1: Maintenance Release
-
-Editor
-
- - Fix debug filter (#4461) @knolleary
- - Fix various issues with debug pop-out window (#4459) @knolleary
- - Ensure subflow instances keep track of their groups (#4457) @knolleary
- - Fix `validateNodeProperty` without validator provided (#4455) @GogoVega
- - Debounce node-removed notifications (#4453) @knolleary
- - Don't try to load the parents of the first commit (#4448) @bonanitech
- - Allow a theme to specifiy which theme mermaid should use (#4441) @knolleary
- - Update browser title with flow name if set (#4427) @knolleary
- - Ensure typeSearch handles undefined node definitions (#4423) @knolleary
- - Ensure group w/h are imported if present (#4426) @knolleary
- - Hide node status background when there is no status to show (#4425) @knolleary
- - Add a close button to the restart-required notification (#4407) @knolleary
- - Extend typedInput "num" type validity check to NaN, binary, octal & hex (#4371) @ralphwetzel
- - Fix unintended new line in node name (#4399) @kazuhitoyokoi
- - Ctrl-Enter does not close tray (Monaco) #4377 (#4382) @hazymat
- - fix buffer viewer to handle 0b style binary (#4393) @dceejay
- - Rework mermaid integration to support off-DOM rendering (#4364) @knolleary
- - Add missing nls labels to context menu (#4365) @knolleary
-
-Runtime
-
- - Bump the github-actions group with 2 updates (#4404) @app/dependabot
- - Handle unknown node reference inside subflow module (#4460) @knolleary
- - Add modules.install audit event when external module installed (#4452) @knolleary
- - Allow import of modules with subpath in specifier (#4451) @knolleary
- - Update node-red-admin version (#4438) @knolleary
- - Handle false-like env vars properly (#4411) @knolleary
- - Only save settings once during node load process (#4409) @knolleary
- - Ensure global-config nodes lookup cred values properly (#4405) @knolleary
- - Handle credential env var evaluation when no value set (#4362) @knolleary
- - Don't commit package-lock.json (#4354) @bonanitech
- - Fix env evaluation when one env references another in the same object (#4361) @knolleary
- - Add dependabot for Github Actions (#4312) @Rotzbua
- - Update outdated Github Actions (#4311) @Rotzbua
- - github: Request `npm run test` in PR template (#4348) @ZJvandeWeg
- - Add French translation of v3.1.0-beta.4 changes + slight improvements (#4329) @GogoVega
- - Handle nodes with multiple input handlers properly (#4332) @knolleary
- - Soften the language around unrequited PRs (#4351) @knolleary
-
-Nodes
-
- - CSV: make CSV export way faster by not re-allocating and handling huge string (#4349) @Fadoli
- - Delay: Fix regression in delay node to not pass on msg.reset (#4350) @dceejay
- - Link Call: Handle undefined linkType value for existing link-call nodes (#4331) @knolleary
- - MQTT: Guard against node.broker being undefined (#4454) @knolleary
- - MQTT: check topic length > 0 before publish (#4416) @dceejay
- - Switch/Change: Improve validation of switch/change node rules (#4368) @knolleary
- - Template: Fix height of description editor in template node (#4346) @kazuhitoyokoi
- - Various: Add validators to any fields using msg-typed Input (#4440) @knolleary
-
-#### 3.1.0: Milestone Release
-
-Editor
-
- - Default filter to All Catalogues and show nodes for small lists (#4318) @knolleary
- - Better distinguish between ctrl and meta keys on mac (#4310) @knolleary
- - Ensure junction appears when filtering quick-add list (#4297) @knolleary
- - Update message catalogs for JSONata Expression editor (#4287) @kazuhitoyokoi
- - Add tooltip to relevance sort button in user settings UI (#4288) @kazuhitoyokoi
- - Capture workspace dirty state when quick-adding junction (#4283) @knolleary
- - Add docs for $clone function (#4284) @knolleary
-
-Runtime
-
- - Dependency updates (#4317) @knolleary
- - Ensure storage/util.writeFile handles concurrent write attempts (#4316) @knolleary
- - Migrate http -> https for nodered.org (#4313) @Rotzbua
- - Add Node 20 to GH Action test matrix (#4305) @Rotzbua
- - Handle group-scoped nodes inside subflow (#4301) @knolleary
- - Handle non-url-safe chars in context api (#4298) @knolleary
- - Fix git pull operation in project feature (#4290) @kazuhitoyokoi
- - Change linefeed codes in Korean message catalogs (#4286) @kazuhitoyokoi
- - Fix file permissions of message catalogs (#4285) @kazuhitoyokoi
- - Update tour (#4278) @knolleary
-
-Nodes
-
- - File: Fix handling in file nodes when number is specified as file name (#4267) @kazuhitoyokoi
- - Function: Adding function timeout to settings file (#4265) (#4309) @knolleary
- - Function: Fix function setup tab layout (#4299) @knolleary
- - HTTP Request: Handle 204 in httprequest JSON (#4262) @sammachin
- - JSON: Fix test cases of JSON node (#4275) @kazuhitoyokoi
- - MQTT: Remove unnecessary check for clientid if autoUnsub set (#4302) @knolleary
-
-##### 3.1.0-beta.4: Beta Release
-
- Editor
-
- - Add Japanese translation for 3.1.0 (#4252) @kazuhitoyokoi
- - Improve Catalogue visibility (#4248) @Steve-Mcl
- - Add support for wiring and moving junctions on touch device (#4244) @Steve-Mcl
- - Show errors and statuses of config nodes in the sidebar when no catch node is available (#4231) @bvmensvoort
- - Improve wiring for horizontally aligned nodes (#4232) @knolleary
- - French translation of Welcome Tours (#4200) @GogoVega
- - French translation of v3.1.0-beta.3 changes (#4199) @GogoVega
- - add Japanese message for 3.1.0 beta 3 (#4209) @HiroyasuNishiyama
- - Dont clone the group nodes `node` array when saving edits (#4208) @Steve-Mcl
-
- Runtime
-
- - Add NR_SUBFLOW_NAME/ID/PATH env vars (#4250) @knolleary
- - Evaluate all env vars as part of async flow start (#4230) @knolleary
- - Add support for httpStatic middleware (#4229) @knolleary
-
- Nodes
-
- - Fix JSONata in file nodes (#4246) @kazuhitoyokoi
- - Fix timeout icon in function and link call nodes (#4253) @kazuhitoyokoi
- - Fix connection keep-alive in http request node (#4228) @knolleary
- - adding timeout attribute to function node (#4177) @k1ln
- - Fix manual mode join when multiple sequences being handled (#4143) @BitCaesar
- - Fix delay node flush issue (#4203) @dceejay
- - Update status and catch node labels in group mode (#4207) @Steve-Mcl
-
-##### 3.1.0-beta.3: Beta Release
-
-Editor
-
- - Select the item that is specified in a deep link URL (#4113) @Steve-Mcl
- - Update to Monaco 0.38.0 (#4189) @Steve-Mcl
- - Place subflow outputs/inputs relative to current view (#4183) @knolleary
- - Enable RED.view.select to select group by id (#4184) @knolleary
- - Combine existing env vars when merging groups (#4182) @knolleary
- - Avoid creating empty global-config node if not needed (#4153) @knolleary
- - Fix group selection when using lasso (#4108) @knolleary
- - Use editor path in generating localStorage keys (#4151) @mw75
- - Ensure no node credentials are included when exporting to clipboard (#4112) @knolleary
- - Fix jsonata expression test ui (#4097) @knolleary
- - Fix search button in palette popover (#4096) @knolleary
-
-Runtime
-
- - Allow options object on each httpStatic configuration (#4109) @kevinGodell
- - Ensure non-zero exit codes for errors (#4181) @knolleary
- - Ensure external modules are installed synchronously (#4180) @knolleary
- - Update dependecies include got (#4155) @knolleary
- - Add Japanese translations for v3.1 beta.2 (#4158) @kazuhitoyokoi
- - Ensure express server options are applied consistently (#4178) @knolleary
- - Remove version info from theme endpoint (#4179) @knolleary
- - Add Japanese translations for welcome tour of 3.1.0 beta.2 (#4145) @kazuhitoyokoi
- - Added SHA-256 and SHA-512-256 digest authentication (#4100) @sroebert
- - Add "timers" types to known types (#4103) @Steve-Mcl
-
-Nodes
-
- - Allow Catch/Status nodes to be scoped to their group (#4185) @NetHans
- - MQTT: Option to disable MQTT topic unsubscribe on disconnect (#4078) @flying7eleven
-
-
-##### 3.1.0-beta.2: Beta Release
-
-Editor
-
- - NEW: Add change icon to tabs (#4068) @knolleary
- - NEW: Complete overhaul of Group UX (#4079) @knolleary
- - NEW: Add link to node help in node edit dialog footer (#4065) @knolleary
- - NEW: Added editor feature for connecting multiple nodes to single node (#4051) @sonntam
- - NEW: Increase workspace size to 8000x8000 (#4094) @knolleary
- - Ensure node buttons are redrawn when flow lock state is changed (#4091) @knolleary
- - Prevent loops being created with junction nodes (#4087) @knolleary
- - Prevent opening locked node's edit dialog (#4069) @knolleary
- - Reverse direction of tab scroll to expected direction (#4064) @knolleary
- - Add cancel operation to editableList (#4077) @HiroyasuNishiyama
- - Apply Mermaid diagram for project settings UI (#4054) @kazuhitoyokoi
- - Add tooltip for show/hide button on info sidebar (#4050) @kazuhitoyokoi
- - Fix align nodes on locked tab (#4072) @HiroyasuNishiyama
- - Fix importing connected link nodes into a subflow (#4082) @knolleary
- - Fix to add empty marker to empty group (#4060) @HiroyasuNishiyama
- - Fix image URLs for v3.0 tour (#4053) @kazuhitoyokoi
- - Show scrollbar in notification dialog only when needed (#4048) @kazuhitoyokoi
- - Update-monaco-and-typings (#4089) @Steve-Mcl
- - Update jquery UI (#4088) @knolleary
- - Support i18n of lock/unlock buttons in flow property UI (#4049) @kazuhitoyokoi
- - Translation kr (#3895) @hae-iotplatform
- - Translation zhcn (!!请懂中文的帮忙review) (#3952) @cliyr
- - Add French translation of nodes (#3964) @GogoVega
- - Add French translation (#3962) @GogoVega
- - Portuguese Brazilian (pt-BR) translation (#3804) @FabsMuller
-
-
-Runtime
-
- - NEW: Generate stable ids for subflow instance internal nodes (#4093) @knolleary
- - NEW: Change default file name to flows.json in project feature (#4073) @kazuhitoyokoi
- - NEW: Deprecate synchronous access to jsonata (#4090) @knolleary
- - Add Node 18 to test matrix (#4084) @knolleary
- - Bump minimum nodejs version supported to match documented value (#4086) @knolleary
- - Update monaco docs link in settings.js (#4075) @Steve-Mcl
- - Remove duplicated messages in the message catalog (#4066) @kazuhitoyokoi
- - Ensure errors in preDeliver callback are handled (#3911) @knolleary
- - Fix "EADDRINUSE" error (#4046) @bggbr
-
-Nodes
-
- - Link Call: Clear link-call timeouts when node is closed (#4085) @knolleary
- - Join: ensure inflight status is cleared when in auto mode (#4083) @knolleary
- - File Out: Fix extra newline append for multipart file write (#3915) @dceejay
- - Add validators for complete and link call nodes (#4056) @kazuhitoyokoi
-
-##### 3.1.0-beta.1: Beta Release
-
-Editor
-
- - NEW: Locking Flows (#3938) @knolleary
- - NEW: Improve UX around hiding flows via context menu (#3930) @knolleary
- - NEW: Add support for inline image in markdown editor by drag and drop of an image file (#4006) @HiroyasuNishiyama
- - NEW: Add support for mermaid diagram to markdown editor (#4007) @HiroyasuNishiyama
- - NEW: Support uri fragments for nodes and groups including edit support (#3870) @knolleary
- - NEW: Add global environment variable feature (#3941) @HiroyasuNishiyama
-
- - Remember compact/pretty flow export user choice (#3974) @Steve-Mcl
- - fix .red-ui-notification class (#4035) @xiaobinqt
- - Fix border radius on Modules list header (#4038) @bonanitech
- - fix workspace reference error in case of empty tabs (#4029) @HiroyasuNishiyama
- - Disable delete tab menu when single tab exists (#4030) @HiroyasuNishiyama
- - Disable hide all menu if all tabs hidden (#4031) @HiroyasuNishiyama
- - fix hide subflow tooltip (#4033) @HiroyasuNishiyama
- - Fix disabled menu items in project feature (#4027) @kazuhitoyokoi
- - Let themes change radialMenu text colors (#3995) @bonanitech
- - Add Japanese translations for v3.0.3 (#4012) @kazuhitoyokoi
- - Add Japanese translation for v3.1.0-beta.0 (#3997) @kazuhitoyokoi
- - Add Japanese translation for v3.1.0-beta.0 (#3916) @kazuhitoyokoi
- - Hide subflow category after deleting subflow (#3980) @kazuhitoyokoi
- - Prevent dbl-click opening node edit dialog with text selected (#3970) @knolleary
- - Handle replacing unknown node inside group or subflow (#3921) @knolleary
- - Fix #3939, red border red-ui-typedInput-container (#3949) @Steveorevo
- - i18n item URL copy notification & add Japanese message (#3946) @HiroyasuNishiyama
- - add Japanese message for item url copy actions (#3947) @HiroyasuNishiyama
- - Fix autocomplete entry for responseUrl (#3884) @knolleary
- - Fix Japanese translation for JSONata editor (#3872) @HiroyasuNishiyama
- - Fix search type with spaces (#3841) @Steve-Mcl
- - Fix error hanndling of JSONata expression editor for extended functions (#3871) @HiroyasuNishiyama
- - Add button type to the adding SSH key button (#3866) @kazuhitoyokoi
- - Check radio button as default in project dialog (#3879) @kazuhitoyokoi
- - Add $clone as supported function (#3874) @HiroyasuNishiyama
- - Env var jsonata (#3807) @HiroyasuNishiyama
- - Add Japanese translation for v3.0.2 (#3852) @kazuhitoyokoi
-
-Runtime
-
- - Force IPv4 name resolution to have priority (#4019) @dceejay
- - Fix async loading of modules containing both nodes and plugins (#3999) @knolleary
- - Use main branch as default in project feature (#4036) @kazuhitoyokoi
- - Rename package var to avoid strict mode error (#4020) @knolleary
- - Fix typos in settings.js (#4013) @ypid
- - Ensure credentials object is removed before returning node in getFlow request (#3971) @knolleary
- - Ignore commit error in project feature (#3987) @kazuhitoyokoi
- - Update dependencies (#3969) @knolleary
- - Add check that node sends object rather than primitive type (#3909) @knolleary
- - Ensure key_path is quoted in GIT_SSH_COMMAND in case of spaces in pathname (#3912) @knolleary
- - Fix nodesDir scan when node package has js/html in sub dir to package.json (#3867) @Steve-Mcl
- - Fix file permissions (#3917) @kazuhitoyokoi
- - ci: add minimum GitHub token permissions for workflows (#3907) @boahc077
-
-Nodes
-
- - Catch: fix typo in catch.html (#3965) @we11adam
- - Change: Fix change node overwriting msg with itself (#3899) @dceejay
- - Comment node: Clarify where the text will appear (#4004) @dirkjanfaber
- - CSV: change replace to replaceAll (#3990) @dceejay
- - CSV node: check header properties for ' and " (#3920) @dceejay
- - CSV: Fix for CSV undefined property (#3906) @dceejay
- - Delay: let delay node handle both flush then reset (#3898) @dceejay
- - Function: Limit number of ports in function node (#3886) @kazuhitoyokoi
- - Function: Remove dot from variable name for external module in function node (#3880) @kazuhitoyokoi
- - Function: add function node monaco types util and promisify (#3868) @Steve-Mcl
- - HTTP In: Ensure msg.req.headers is enumerable (#3908) @knolleary
- - HTTP Request: Support form-data arrays (#3991) @hardillb
- - HTTP Request: Fix httprequest tests to be more lenient on error message (#3922) @knolleary
- - HTTP Request: Add missing property to node object HTTPRequest (#3842) @hardillb
- - HTTP Request/Response: Support sortable list on property UI of http request and http response nodes (#3857) @kazuhitoyokoi
- - HTTP Response: Ensure statusCode is a number (#3894) @hardillb
- - Inject: Allow Inject node to work with async context stores (#4021) @knolleary
- - Join/Batch: Add count to join and batch node labels (#4028) @dceejay
- - MQTT: Fix birth topic handling in MQTT node (#3905) @Steve-Mcl
- - MQTT: Fix pull-down menus of MQTT configuration node (#3890) @kazuhitoyokoi
- - MQTT: Prevent invalid mqtt birth topic crashing node-red (#3869) @Steve-Mcl
- - MQTT: ensure sessionExpiry(Interval) is applied (#3840) @Steve-Mcl
- - MQTT: Fix mqtt nodes not reconnecting on modified-flows deploy (#3992) @knolleary
- - MQTT: fix single subscription mqtt node status (#3966) @Steve-Mcl
- - Range: Add drop mode to range node (#3935) @dceejay
- - Remove done from describe (#3873) @HiroyasuNishiyama
- - Split node: avoid duplicate done call for buffer split (#4000) @knolleary
- - Status: Fix typo in 25-status.html (#3981) @kazuhitoyokoi
- - TCP Node: ensure newline substitution applies to whole message (#4009) @dceejay
- - Template: Add information about environment variable to template node (#3882) @kazuhitoyokoi
- - Trigger: Hide trigger node repeat send option if sending nothing (#4023) @dceejay
- - Watch: fix watch node test on MacOS/ARM (#3942) @HiroyasuNishiyama
-
-#### 3.0.2: Maintenance Release
-
-Editor
-
- - Fix workspace chart bottom property (#3812) @bonanitech
- - Update german translation (#3802) @Dennis14e
- - Support color reset to the default in subflow and group (#3801) @kazuhitoyokoi
- - Allow generateNodeNames to handle names containing regex control chars (#3817) @knolleary
- - Hide scrollbars until they're needed (#3808) @bonanitech
- - Include junctions/groups when exporting subflows plus related fixes (#3816) @knolleary
- - remove console.log (#3820) @Steve-Mcl
-
-Runtime
-
- - Register subflow module instance node with parent flow (#3818) @knolleary
-
-Nodes
-
- - HTTP Request: Allow HTTP Headers not in spec (#3776) @hardillb
-
-#### 3.0.1: Maintenance Release
-
-Editor
-
- - Allow codeEditor theme to be set even if `codeEditor` is not set in settings.js (#3794) @Steve-Mcl
- - Sys info (diagnostics report) amendments (#3793) @Steve-Mcl
- - Allow `mode` and `title` to be omitted in `options` argument for `createEditor` (#3791) @Steve-Mcl
- - Fix focus issues (#3789) @Steve-Mcl
- - Ensure all typedInput buttons have button type set (#3788) @knolleary
- - Do not flag hasUsers=false nodes as unused in search (#3787) @knolleary
- - Properly position quick-add dialog in all cases (#3786) @knolleary
- - Ensure quick-add dialog does not obscure ghost node when shifted (#3785) @knolleary
- - Remove use of Object.hasOwn (#3784) @knolleary
-
-#### 3.0.0: Milestone Release
-
-Editor
-
- - Use theme page and header values if settings.js values are not present (#3767) @Steve-Mcl
- - Focus editor for undo after some actions in menu (#3759) @kazuhitoyokoi
- - Ensure node icon shade has properly rounded corners (#3763) @knolleary
- - Fix storing subflow credential type when input has multiple types (#3762) @knolleary
- - Ensure global-config and flow-config have info in the hierarchy popover (#3752) @Steve-Mcl
- - Include dirty state in history event (#3748) @Steve-Mcl
- - Fix display direction of context sub-menu (#3746) @knolleary
- - Fix clear pinned paths of debug sidebar menu (#3745) @HiroyasuNishiyama
- - prevent exception generating tooltip for deleted nodes (#3742) @Steve-Mcl
- - Fix context menu issues ready for v3 beta.5 (#3741) @Steve-Mcl
- - Do not generate new node-ids when pasting a cut flow (#3729) @knolleary
- - Fix to prevent node from moving out of workspace (#3731) @HiroyasuNishiyama
- - Don't let themes change disabled config node background color (#3736) @bonanitech
- - Move colors left behind in #3692 to CSS variables (#3737) @bonanitech
- - Fix handling of global debug message (#3733) @HiroyasuNishiyama
- - Fix label overflow @ config-node palette (#3730) @ralphwetzel
- - Fix defaulting to monaco if settings does not contain codeEditor (#3732) @knolleary
- - Disable keyboard shortcut mapping when showing Edit[..]Dialog (#3700) @ralphwetzel
- - Update add-junction menu to work in more cases (#3727) @knolleary
- - Ensure importMap is not null when using import UI (#3723) @Steve-Mcl
- - Add Japanese translations for v3.0-beta.4 (#3724) @kazuhitoyokoi
- - Fix "split with" on virtual links (#3766) @Steve-Mcl
-
-Runtime
-
- - Do not remove unknown credentials of Subflow Modules (#3728) @knolleary
- - Add missing entries from beta.4 changelog (#3721) @knolleary
-
-Nodes
-
- - Change: Fix change node, not handling from field properly when using context (#3754) @Fadoli
- - Link Call: Fix linkcall registry bugs (#3751) @Steve-Mcl
- - WebSocket: Fix close timeout of websocket node (#3734) @HiroyasuNishiyama
-
-#### 3.0.0-beta.4: Beta Release
-
-Editor
-
- - Move all colours to CSS variables (#3692) @bonanitech
- - Fix clicking on node in workspace to hide context menu (#3696) @knolleary
- - Fix credential type input item of subflow template (#3703) @HiroyasuNishiyama
- - Add option flag `reimport` to `importNodes` (#3718) @Steve-Mcl
- - Update german translation (#3691) @Dennis14e
- - List welcome tours in help sidebar (#3717) @knolleary
- - Ensure 'hidden flow' count doesn't include subflows (#3715) @knolleary
- - Fix Chinese translate (#3706) @hotlong
- - Fix use default button for node icon (#3714) @kazuhitoyokoi
- - Fix select boxes vertical alignment (#3698) @bonanitech
- - Ensure workspace clean after undoing dropped node (#3708) @Steve-Mcl
- - Use solid colour as config node icon background to hide text overflow (#3710) @Steve-Mcl
- - Increase quick-add height to reveal 2 most recent entries (#3711) @Steve-Mcl
- - Set default editor to monaco in absence of user preference (#3702) @knolleary
- - Add Japanese translations for v3.0-beta.3 (#3688) @kazuhitoyokoi
- - Fix handling of spacebar inside JSON visual editor (#3687) @knolleary
- - Fix menu padding to handle both icons and submenus (#3686) @knolleary
- - Include scroll offset when positioning quick-add dialog (#3685) @knolleary
-
-Runtime
-
- - Allow flows to be stopped and started manually (#3719) @knolleary
- - Import default export if node is a transpiled es module (#3669) @dschmidt
- - Leave Monaco theme commented out by default (#3704) @bonanitech
-
-Nodes
-
- - CSV: Fix CSV node to handle when outputting text fields (#3716) @dceejay
- - Delay: Fix delay rate limit last timing when empty (#3709) @dceejay
- - Link: Ensure link-call cache is updated when link-in is modified (#3695) @Steve-Mcl
- - Join: Join node in reduce mode doesn't keep existing msg properties (#3670) @dceejay
- - Template: Add support for evalulating {{env.}} within a template node (#3690) @cow0w
-
-#### 3.0.0-beta.3: Beta Release
-
-Editor
-
- - Add Right-Click content menu (#3678) @knolleary
- - Fix disable junction (#3671) @HiroyasuNishiyama
- - Add Japanese translations for v2.2.3 (#3672) @kazuhitoyokoi
- - Reset mouse state when switching tabs (#3643) @knolleary
- - Fix uncorrect fix of junction to subflow conversion (#3666) @HiroyasuNishiyama
- - Fix undoing junction to subflow (#3653) @HiroyasuNishiyama
- - Fix conversion of junction to subflow (#3652) @HiroyasuNishiyama
- - Fix to include junction to exported nodes (#3650) @HiroyasuNishiyama
- - Fix z-index value for shade to cover nodes in palette (#3649) @kazuhitoyokoi
- - Fix to extend escaped subflow category characters (#3647) @HiroyasuNishiyama
- - Fix to sanitize tab name (#3646) @HiroyasuNishiyama
- - Fix selector placement (#3644) @bonanitech
- - Add Japanese translations for v3.0-beta.2 (#3622) @kazuhitoyokoi
- - Fix new folder menu of save to library dialog (#3633) @HiroyasuNishiyama
- - Fix layer of palette node (#3638) @HiroyasuNishiyama
- - Fix to place a node dragged from palette within the workspace (#3637) @HiroyasuNishiyama
- - Fix typo in CSS (#3628) @bonanitech
- - Use the correct variable for the gutter text color (#3615) @bonanitech
-
-
-Runtime
-
- - Support loading node modules from `nodesdir` (#3676) @Steve-Mcl
- - fix buffer parse error message of evaluateNodeProperty (#3624) @HiroyasuNishiyama
-
-Nodes
-
- - File: Further simplify file node filename entry UX (v3) (#3677) @Steve-Mcl
- - Function: Fix initial cursor position of init/finalize tab of function node (#3674) @HiroyasuNishiyama
- - Function: Fix ESM module loading in Function node (#3645) @knolleary
- - Inject: Fix JSONata evaluation of inject button (#3632) @HiroyasuNishiyama
- - TCP: Dont delete TCP socket twice (#3630) @Steve-Mcl
- - MQTT Node: define noproxy variable (#3626) @Steve-Mcl
- - Debug: i18n debug sidebar node label (#3623) @HiroyasuNishiyama
-
-#### 3.0.0-beta.2: Beta Release
-
-**Migration from 2.x**
-
- - The 'slice wires' action has changed from Ctrl-RightMouseButton to Alt-LeftMouseButton
-
-Editor
-
- - Rework Junctions to be more node like in their event handling (#3607) @knolleary
- - Change slicing / slice-junction operations over to mouse button 0 (Left Mouse Button) (#3609) @Steve-Mcl
- - Do not slice-junction link node wires (#3608) @knolleary
- - Handle many-to-one slicing of wires (#3604) @knolleary
- - Ensure ACE worker options are set (#3611) @Steve-Mcl
- - Remove duplicate history add of ungroup event (#3605) @knolleary
- - use text width instead of number of characters for deciding select fi… (#3603) @HiroyasuNishiyama
- - Update Japanese info of link call node reflecting update of English info (#3600) @HiroyasuNishiyama
- - Fix typedInput label not visible on themes (#3580) @bonanitech
- - Fix project switching when junctions are present (#3595) @Steve-Mcl
- - Fix junction: when wiring from a regular nodes INPUT, backwards to a junction (#3591) @Steve-Mcl
- - Fix error initialising flow tab editor (#3585) @Steve-Mcl
- - Add Japanese translations for v3.0-beta.1 (#3576) @kazuhitoyokoi
- - Fix image paths where `red/image/typedInput/XXXX.png` should be `red/image/typedInput/XXXX.svg` (#3592) @kazuhitoyokoi
- - Fix browser console error Uncaught TypeError when searching certain terms (#3584) @Steve-Mcl
-
-Runtime
-
- - fix error on system-info action (#3589) @HiroyasuNishiyama
-
-Nodes
-
- - I18n switch rule selector (#3602) @HiroyasuNishiyama
- - Handle removal of event handlers to allow mqtt client.end() to work (#3594) @PhilDay-CT
- - update link-call node info according to current behavior (#3597) @HiroyasuNishiyama
-
-
-#### 3.0.0-beta.1: Beta Release
-
-**Migration from 2.x**
-
- - Node-RED now requires Node.js 14.x or later.
- - New installs of Node-RED will default to the monaco editor.
-
-
-Editor
-
- - Add Junctions (#3462) @knolleary
- - Allow node name to be auto-generated when added (#3478, #3538) @knolleary
- - Set monaco as default code editor as of v3.x (#3543) @Steve-Mcl
- - Update Monaco to V0.33.0 (#3522) @Steve-Mcl
- - Auto-complete Improvements (#3521) @Steve-Mcl
- - Add a tooltip to debug sidebar messages to reveal full path to node (#3503) @knolleary
- - Fix down arrow triggering menu in search box (#3507) @Steve-Mcl
- - Add Japanese translations for v3.0 (#3512) @kazuhitoyokoi
- - Add feature: Continuous search tools (search previous, search next) (#3405) @Steve-Mcl
- - Add feature: split-wire-to-links (#3399, #3476) @Steve-Mcl
- - Add copy button to node properties tables (#3390) @knolleary
- - Add info-tab search options dropdown to the regular search (#3395) @Steve-Mcl
- - New Feature: Add ability to find modified nodes/flows. (#3392) @Steve-Mcl
- - Code editor ux improvements around remembering state of each code editor in a flow (#3553) @Steve-Mcl
- - Make it easier to apply themes on SVG icons (#3515) @bonanitech
- - Add support of property validation message (#3438) @HiroyasuNishiyama
- - Ensure node validation tooltip is closed when field becomes valid (#3570) @knolleary
- - Add "search for" buttons to notifications (#3567) @Steve-Mcl
- - Don't let themes change node config colors (#3564) @bonanitech
- - Fix gap between typedInput containers borders (#3560) @bonanitech
- - Fix recording removed links in edit history (#3547) @knolleary
- - Remove unused SASS vars (#3536) @bonanitech
- - Add custom style for jQuery widgets borders (#3537) @bonanitech
- - fix out of scope reference of hasUnusedConfig variable (#3535) @HiroyasuNishiyama
- - correct "non string" check parenthesis (#3524) @Steve-Mcl
- - Ensure i18n of scoped package name (#3516) @Steve-Mcl
- - Prevent shortcut deploy when deploy button shaded (#3517) @Steve-Mcl
- - Fix: Sidebar "Configuration" filter button tooltip (#3500) @ralphwetzel
- - Add the ability to customize diff colors even more (#3499) @bonanitech
- - Do JSON comparison of old value/new value in editor (#3481) @Steve-Mcl
- - Fix nodes losing their wires when in an iframe (#3484) @zettca
- - Improve scroll into view (#3468) @Steve-Mcl
- - Do not show 1st tab if hidden when loading (#3464) @Steve-Mcl
-
-Runtime
-
- - Fix importing external module from node-red module (#3541) @knolleary
- - Add support for multiple static paths with optional static root (#3542) @Steve-Mcl
- - Store external token when authenticating if provided (#3460) @ArFe
- - Support OAuth/OpenID logout (#3388) @mw75
- - Allow adminAuth to auto-login users when using passport strategy (#3519) @knolleary
- - Add runtime diagnostics admin endpoint (#3511) @Steve-Mcl
- - Don't start if user has no home directory (#3540) @hardillb
- - Error on invalid encrypted credentials (#3498) @sammachin
-
-Nodes
-
- - Debug: Add message count option to Debug status (#3544 #3551) @rafaelmuynarsk @knolleary
- - File: Change basic Filename field to a typedInput (#3533) @Steve-Mcl
- - HTTP Request: Add UI for Http Request node headers (#3488) @Steve-Mcl
- - Inject: let inject optionally fire at start in only at time mode. (#3385) @dceejay
- - Link Call: Dynamic link call (#3463) @Steve-Mcl
- - Link Call: Display link targets of nodes in a regular flow, for Link Call nodes inside a subflow (#3528) @Steve-Mcl
- - MQTT: MQTT payload auto parsing improvements (#3530) @Steve-Mcl
- - MQTT: Add client and Runtime MQTT topic validation (#3563) @Steve-Mcl [dev]
- - MQTT: save and restore v5 config user props (#3562) @Steve-Mcl
- - MQTT: Fix incorrect MQTT status (#3552) @Steve-Mcl
- - MQTT: fix reference error of msg.status in debug node (#3526) @HiroyasuNishiyama
- - MQTT: Add unit tests for MQTT nodes (#3497) @Steve-Mcl
- - MQTT: fix typo of will properties (#3502) @Steve-Mcl
- - MQTT: ensure mqtt v5 props can be set false (#3472) @Steve-Mcl
- - Switch: add check for NaN in is of type number to be false (#3409) @dceejay
- - TCP: TCP node better split (#3465) @dceejay
- - Watch: Update Watch node to use node-watch module (#3559 #3569) @knolleary
- - WebSocket: call done after ws disconnects (#3531) @Steve-Mcl
-
#### Older Releases
Change logs for older releases are available on GitHub: https://github.com/node-red/node-red/releases
diff --git a/package.json b/package.json
index 5d7922789..04eb74026 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "node-red",
- "version": "4.0.0-beta.3-1",
+ "version": "4.0.0",
"description": "Low-code programming for event-driven applications",
"homepage": "https://nodered.org",
"license": "Apache-2.0",
diff --git a/packages/node_modules/@node-red/editor-api/package.json b/packages/node_modules/@node-red/editor-api/package.json
index 3d11b487a..24e68f56d 100644
--- a/packages/node_modules/@node-red/editor-api/package.json
+++ b/packages/node_modules/@node-red/editor-api/package.json
@@ -1,6 +1,6 @@
{
"name": "@node-red/editor-api",
- "version": "4.0.0-beta.3-1",
+ "version": "4.0.0",
"license": "Apache-2.0",
"main": "./lib/index.js",
"repository": {
@@ -16,8 +16,8 @@
}
],
"dependencies": {
- "@node-red/util": "4.0.0-beta.3-1",
- "@node-red/editor-client": "4.0.0-beta.3-1",
+ "@node-red/util": "4.0.0",
+ "@node-red/editor-client": "4.0.0",
"bcryptjs": "2.4.3",
"body-parser": "1.20.2",
"clone": "2.1.2",
diff --git a/packages/node_modules/@node-red/editor-client/package.json b/packages/node_modules/@node-red/editor-client/package.json
index 1b9193f97..08e8227b1 100644
--- a/packages/node_modules/@node-red/editor-client/package.json
+++ b/packages/node_modules/@node-red/editor-client/package.json
@@ -1,6 +1,6 @@
{
"name": "@node-red/editor-client",
- "version": "4.0.0-beta.3-1",
+ "version": "4.0.0",
"license": "Apache-2.0",
"repository": {
"type": "git",
diff --git a/packages/node_modules/@node-red/editor-client/src/tours/welcome.js b/packages/node_modules/@node-red/editor-client/src/tours/welcome.js
index a77856946..40caffe42 100644
--- a/packages/node_modules/@node-red/editor-client/src/tours/welcome.js
+++ b/packages/node_modules/@node-red/editor-client/src/tours/welcome.js
@@ -1,12 +1,12 @@
export default {
- version: "4.0.0-beta.3",
+ version: "4.0.0",
steps: [
{
titleIcon: "fa fa-map-o",
title: {
- "en-US": "Welcome to Node-RED 4.0 Beta 3!",
- "ja": "Node-RED 4.0 Beta 3へようこそ!",
- "fr": "Bienvenue dans Node-RED 4.0 Beta 3!"
+ "en-US": "Welcome to Node-RED 4.0!",
+ "ja": "Node-RED 4.0 へようこそ!",
+ "fr": "Bienvenue dans Node-RED 4.0!"
},
description: {
"en-US": "Let's take a moment to discover the new features in this release.
",
@@ -22,15 +22,20 @@ export default {
},
image: 'images/nr4-multiplayer-location.png',
description: {
- "en-US": `Multiplayer mode was introduced in the previous beta. With this release it
- now shows where in the editor other users are.
- As with the last beta, check the release post for details on how to enable this feature in your settings file.
`,
- "ja": `複数ユーザ同時利用モードは、前のベータ版で導入されました。本リリースでは、他のユーザがエディタ上のどこにいるかを表示するようになりました。
- 直近のベータ版と同様、settingsファイルで本機能を有効にする方法の詳細については、リリースの投稿を確認してください。
`,
- "fr": `Le mode multi-utilisateur a été introduit dans la version bêta précédente. Avec cette nouvelle version, vous
- pourrez désormais savoir où ces utilisateurs se trouvent dans l'éditeur.
- Comme pour la dernière version bêta, consultez la note de publication pour plus de détails sur la façon d'activer
- cette fonctionnalité dans votre fichier de paramètres.
`
+ "en-US": `This release includes the first small steps towards making Node-RED easier
+ to work with when you have multiple people editing flows at the same time.
+ When this feature is enabled, you will now see who else has the editor open and some
+ basic information on where they are in the editor.
+ Check the release post for details on how to enable this feature in your settings file.
`,
+ "ja": `本リリースには、複数ユーザが同時にフローを編集する時に、Node-REDをより使いやすくするのための最初の微修正が入っています。
+ 本機能を有効にすると、誰がエディタを開いているか、その人がエディタ上のどこにいるかの基本的な情報が表示されます。
+ 設定ファイルで本機能を有効化する方法の詳細は、リリースの投稿を確認してください。
`,
+ "fr": `Cette version inclut les premières étapes visant à rendre Node-RED plus facile à utiliser
+ lorsque plusieurs personnes modifient des flux en même temps.
+ Lorsque cette fonctionnalité est activée, vous pourrez désormais voir si d’autres utilisateurs ont
+ ouvert l'éditeur. Vous pourrez également savoir où ces utilisateurs se trouvent dans l'éditeur.
+ Consultez la note de publication pour plus de détails sur la façon d'activer cette fonctionnalité
+ dans votre fichier de paramètres.
`
}
},
{
@@ -68,18 +73,6 @@ export default {
plus importants.
`
}
},
- {
- title: {
- "en-US": "That's it for Beta 3!",
- "ja": "ベータ3については以上です!",
- "fr": "C'est tout pour la bêta 3 !"
- },
- description: {
- "en-US": `Keep clicking through to see what was added in previous beta releases
`,
- "ja": `クリックを続けて、これまでのベータリリースで追加された内容を確認してください。
`,
- "fr": `Continuez à cliquer pour voir ce qui a été ajouté dans la version bêta 1
`
- }
- },
{
title: {
"en-US": "Better Configuration Node UX",
diff --git a/packages/node_modules/@node-red/nodes/package.json b/packages/node_modules/@node-red/nodes/package.json
index c3cbd3bbc..5fc9b46c9 100644
--- a/packages/node_modules/@node-red/nodes/package.json
+++ b/packages/node_modules/@node-red/nodes/package.json
@@ -1,6 +1,6 @@
{
"name": "@node-red/nodes",
- "version": "4.0.0-beta.3-1",
+ "version": "4.0.0",
"license": "Apache-2.0",
"repository": {
"type": "git",
diff --git a/packages/node_modules/@node-red/registry/package.json b/packages/node_modules/@node-red/registry/package.json
index 6b7c6cd5f..cd5a17b45 100644
--- a/packages/node_modules/@node-red/registry/package.json
+++ b/packages/node_modules/@node-red/registry/package.json
@@ -1,6 +1,6 @@
{
"name": "@node-red/registry",
- "version": "4.0.0-beta.3-1",
+ "version": "4.0.0",
"license": "Apache-2.0",
"main": "./lib/index.js",
"repository": {
@@ -16,7 +16,7 @@
}
],
"dependencies": {
- "@node-red/util": "4.0.0-beta.3-1",
+ "@node-red/util": "4.0.0",
"clone": "2.1.2",
"fs-extra": "11.1.1",
"semver": "7.5.4",
diff --git a/packages/node_modules/@node-red/runtime/package.json b/packages/node_modules/@node-red/runtime/package.json
index 2f947bddc..51bffcf5e 100644
--- a/packages/node_modules/@node-red/runtime/package.json
+++ b/packages/node_modules/@node-red/runtime/package.json
@@ -1,6 +1,6 @@
{
"name": "@node-red/runtime",
- "version": "4.0.0-beta.3-1",
+ "version": "4.0.0",
"license": "Apache-2.0",
"main": "./lib/index.js",
"repository": {
@@ -16,8 +16,8 @@
}
],
"dependencies": {
- "@node-red/registry": "4.0.0-beta.3-1",
- "@node-red/util": "4.0.0-beta.3-1",
+ "@node-red/registry": "4.0.0",
+ "@node-red/util": "4.0.0",
"async-mutex": "0.4.0",
"clone": "2.1.2",
"express": "4.19.2",
diff --git a/packages/node_modules/@node-red/util/package.json b/packages/node_modules/@node-red/util/package.json
index 618abf106..55e45b184 100644
--- a/packages/node_modules/@node-red/util/package.json
+++ b/packages/node_modules/@node-red/util/package.json
@@ -1,6 +1,6 @@
{
"name": "@node-red/util",
- "version": "4.0.0-beta.3-1",
+ "version": "4.0.0",
"license": "Apache-2.0",
"repository": {
"type": "git",
diff --git a/packages/node_modules/node-red/package.json b/packages/node_modules/node-red/package.json
index 8c25e4ab7..83788676c 100644
--- a/packages/node_modules/node-red/package.json
+++ b/packages/node_modules/node-red/package.json
@@ -1,6 +1,6 @@
{
"name": "node-red",
- "version": "4.0.0-beta.3-1",
+ "version": "4.0.0",
"description": "Low-code programming for event-driven applications",
"homepage": "https://nodered.org",
"license": "Apache-2.0",
@@ -31,10 +31,10 @@
"flow"
],
"dependencies": {
- "@node-red/editor-api": "4.0.0-beta.3-1",
- "@node-red/runtime": "4.0.0-beta.3-1",
- "@node-red/util": "4.0.0-beta.3-1",
- "@node-red/nodes": "4.0.0-beta.3-1",
+ "@node-red/editor-api": "4.0.0",
+ "@node-red/runtime": "4.0.0",
+ "@node-red/util": "4.0.0",
+ "@node-red/nodes": "4.0.0",
"basic-auth": "2.0.1",
"bcryptjs": "2.4.3",
"express": "4.19.2",