Skip to content

Commit 9780982

Browse files
authored
Merge pull request #26 from rafieekhah/updated
Initial
2 parents dcf3cb9 + e93b6e7 commit 9780982

1,576 files changed

Lines changed: 358791 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

API.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
Node-RED consists of 6 node modules under the `@node-red` scope, which are pulled together
2+
by the top-level `node-red` module. The typical scenario is where you are embedding Node-RED into your
3+
own application, in which case you would use the `node-red` module rather than any of the
4+
internal modules directly.
5+
6+
```javascript
7+
let RED = require("node-red");
8+
```
9+
10+
11+
Module | Description
12+
-------|-------
13+
[node-red](node-red.html) | the main module that pulls together all of the internal modules and provides the executable version of Node-RED
14+
[@node-red/editor-api](@node-red_editor-api.html) | an Express application that serves the Node-RED editor and provides the Admin HTTP API
15+
[@node-red/runtime](@node-red_runtime.html) | the core runtime of Node-RED
16+
[@node-red/util](@node-red_util.html) | common utilities for the Node-RED runtime and editor modules
17+
[@node-red/registry](@node-red_registry.html) | the internal node registry
18+
@node-red/nodes | the default set of core nodes. This module only contains the Node-RED nodes - it does not expose any APIs.
19+
@node-red/editor-client | the client-side resources of the Node-RED editor application

CHANGELOG.md

Lines changed: 307 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,307 @@
1+
#### 4.0.9: Maintenance Release
2+
3+
Editor
4+
5+
- Add details for the dynamic subscription to match the English docs (#5050) @aikitori
6+
- Fix tooltip snapping based on `typedInput` type (#5051) @GogoVega
7+
- Prevent symbol usage warning in monaco (#5049) @Steve-Mcl
8+
- Show subflow flow context under node section of sidebar (#5025) @knolleary
9+
- feat: Add custom label for default deploy button in settings.editorTheme (#5030) @matiseni51
10+
- Handle long auto-complete suggests (#5042) @knolleary
11+
- Handle undefined username when generating user icon (#5043) @knolleary
12+
- Handle dragging node into group and splicing link at same time (#5027) @knolleary
13+
- Remember context sidebar tree state when refreshing (#5021) @knolleary
14+
- Update sf instance env vars when removed from template (#5023) @knolleary
15+
- Do not select group when triggering quick-add within it (#5022) @knolleary
16+
- Fix library icon handling within library browser component (#5017) @knolleary
17+
18+
Runtime
19+
- Allow env var access to context (#5016) @knolleary
20+
- fix debug status reporting if null (#5018) @dceejay
21+
- Fix grunt dev via better ndoemon ignore rules (#5015) @knolleary
22+
- Fix typo in CHANGELOG (4.0.7-->4.0.8) (#5007) @natcl
23+
24+
Nodes
25+
- Switch: Avoid exceeding call stack when draining message group in Switch (#5014) @knolleary
26+
27+
#### 4.0.8: Maintenance Release
28+
29+
Editor
30+
31+
- Fix config node sort order when importing (#5000) @knolleary
32+
33+
#### 4.0.7: Maintenance Release
34+
35+
Editor
36+
37+
- Fix def can be undefined if the type is missing (#4997) @GogoVega
38+
- Fix the user list of nested config node (#4995) @GogoVega
39+
- Support custom login message and button (#4993) @knolleary
40+
41+
#### 4.0.6: Maintenance Release
42+
43+
Editor
44+
45+
- Roll up various fixes on config node change history (#4975) @knolleary
46+
- Add quotes when installing local tgz to fix spacing in the file path (#4949) @AGhorab-upland
47+
- Validate json dropped into editor to avoid unhelpful error messages (#4964) @knolleary
48+
- Fix junction insert position via context menu (#4974) @knolleary
49+
- Apply zoom scale when calculating annotation positions (#4981) @knolleary
50+
- Handle the import of an incomplete Subflow (#4811) @GogoVega
51+
- Fix updating the Subflow name during a copy (#4809) @GogoVega
52+
- Rename variable to avoid confusion in view.js (#4963) @knolleary
53+
- Change groups.length to groups.size (#4959) @hungtcs
54+
- Remove disabled node types from QuickAddDialog list (#4946) @GogoVega
55+
- Fix `setModulePendingUpdated` with plugins (#4939) @GogoVega
56+
- Missing getSubscriptions in the docs while its implemented (#4934) @ersinpw
57+
- Apply `envVarExcludes` setting to `util.getSetting` into the function node (#4925) @GogoVega
58+
- Fix `envVar` editable list should be sortable (#4932) @GogoVega
59+
- Improve the node name auto-generated with the first available number (#4912) @GogoVega
60+
61+
Runtime
62+
63+
- Get the env config node from the parent subflow (#4960) @GogoVega
64+
- Update dependencies (#4987) @knolleary
65+
66+
Nodes
67+
68+
- Performance : make reading single buffer / string file faster by not re-allocating and handling huge buffers (#4980) @Fadoli
69+
- Make delay node rate limit reset consistent - not send on reset. (#4940) @dceejay
70+
- Fix trigger node date handling for latest time type input (#4915) @dceejay
71+
- Fix delay node not dropping when nodeMessageBufferMaxLength is set (#4973)
72+
- Ensure node.sep is honoured when generating CSV (#4982) @knolleary
73+
74+
#### 4.0.5: Maintenance Release
75+
76+
Editor
77+
78+
- Refix link call node can call out of a subflow (#4908) @GogoVega
79+
80+
#### 4.0.4: Maintenance Release
81+
82+
Editor
83+
84+
- Fix `link call` node can call out of a subflow (#4892) @GogoVega
85+
- Fix wrong unlock state when event is triggered after deployment (#4889) @GogoVega
86+
- i18n(App) update with latest language file changes (#4903) @joebordes
87+
- fix typo: depreciated (#4895) @dxdc
88+
89+
Runtime
90+
91+
- Update dev dependencies (#4893) @knolleary
92+
93+
Nodes
94+
95+
- MQTT: Allow msg.userProperties to have number values (#4900) @hardillb
96+
97+
#### 4.0.3: Maintenance Release
98+
99+
Editor
100+
101+
- Refresh page title after changing tab name (#4850) @kazuhitoyokoi
102+
- Add Japanese translations for v4.0.2 (again) (#4853) @kazuhitoyokoi
103+
- Stay in quick-add mode following context menu insert (#4883) @knolleary
104+
- Do not include Junction type in quick-add for virtual links (#4879) @knolleary
105+
- Multiplayer cursor tracking (#4845) @knolleary
106+
- Hide add-flow options when disabled via editorTheme (#4869) @knolleary
107+
- Fix env-var config select when multiple defined (#4872) @knolleary
108+
- Fix subflow outbound-link filter (#4857) @GogoVega
109+
- Add French translations for v4.0.2 (#4856) @GogoVega
110+
- Fix moving link wires (#4851) @knolleary
111+
- Adjust type search dialog position to prevent x-overflow (#4844) @Steve-Mcl
112+
- fix: modulesInUse might be undefined (#4838) @lorenz-maurer
113+
- Add Japanese translations for v4.0.2 (#4849) @kazuhitoyokoi
114+
- Fix menu to enable/disable selection when it's a group (#4828) @GogoVega
115+
116+
Runtime
117+
118+
- Update dependencies (#4874) @knolleary
119+
- GitHub: Add citation file to enable "Cite this repository" feature (#4861) @lobis
120+
- Remove use of util.log (#4875) @knolleary
121+
122+
Nodes
123+
124+
- Fix invalid property error in range node example (#4855)
125+
- Fix typo in flow example name (#4854) @kazuhitoyokoi
126+
- Move SNI, ALPN and Verify Server cert out of check (#4882) @hardillb
127+
- Set status of mqtt nodes to "disconnected" when deregistered from broker (#4878) @Steve-Mcl
128+
- MQTT: Ensure will payload is a string (#4873) @knolleary
129+
- Let batch node terminate "early" if msg.parts set to end of sequence (#4829) @dceejay
130+
- Fix unintentional Capitalisation in Split node name (#4835) @dceejay
131+
132+
#### 4.0.2: Maintenance Release
133+
134+
Editor
135+
136+
- Use a more subtle border on the header (#4818) @bonanitech
137+
- Improve the editor's French translations (#4824) @GogoVega
138+
- Clean up orphaned editors (#4821) @Steve-Mcl
139+
- Fix node validation if the property is not required (#4812) @GogoVega
140+
- Ensure mermaid.min.js is cached properly between loads of the editor (#4817) @knolleary
141+
142+
Runtime
143+
144+
- Allow auth cookie name to be customised (#4815) @knolleary
145+
- Guard against undefined sessions in multiplayer (#4816) @knolleary
146+
147+
#### 4.0.1: Maintenance Release
148+
149+
Editor
150+
151+
- Ensure subflow instance credential property values are extracted (#4802) @knolleary
152+
- Use `_ADD_` value for both `add new...` and `none` options (#4800) @GogoVega
153+
- Fix the config node select value assignment (#4788) @GogoVega
154+
- Add tooltip for number of subflow instance on info tab (#4786) @kazuhitoyokoi
155+
- Add Japanese translations for v4.0.0 (#4785) @kazuhitoyokoi
156+
157+
Runtime
158+
159+
- Ensure group nodes are properly exported in /flow api (#4803) @knolleary
160+
161+
Nodes
162+
163+
- Joins: make using msg.parts optional in join node (#4796) @dceejay
164+
- HTTP Request: UI proxy should setup agents for both http_proxy and https_proxy (#4794) @Steve-Mcl
165+
- HTTP Request: Remove default user agent (#4791) @Steve-Mcl
166+
167+
#### 4.0.0: Milestone Release
168+
169+
This marks the next major release of Node-RED. The following changes represent
170+
those added since the last beta. Check the beta release details below for the complete
171+
list.
172+
173+
Breaking Changes
174+
175+
- Node-RED now requires Node 18.x or later. At the time of release, we recommend
176+
using Node 20.
177+
178+
Editor
179+
180+
- Add `httpStaticCors` (#4761) @knolleary
181+
- Update dependencies (#4763) @knolleary
182+
- Sync master to dev (#4756) @knolleary
183+
- Add tooltip and message validation to `typedInput` (#4747) @GogoVega
184+
- Replace bcrypt with @node-rs/bcrypt (#4744) @knolleary
185+
- Export Nodes dialog refinement (#4746) @Steve-Mcl
186+
187+
#### 4.0.0-beta.4: Beta Release
188+
189+
Editor
190+
191+
- Fix the Sidebar Config is not refreshed after a deploy (#4734) @GogoVega
192+
- Fix checkboxes are not updated when calling `typedInput("value", "")` (#4729) @GogoVega
193+
- Fix panning with middle mouse button on windows 10/11 (#4716) @corentin-sodebo-voile
194+
- Add Japanese translation for sidebar tooltip (#4727) @kazuhitoyokoi
195+
- Translate the number of items selected in the options list (#4730) @GogoVega
196+
- Fix a checkbox should return a Boolean value and not the string `on` (#4715) @GogoVega
197+
- Deleting a grouped node should update the group (#4714) @GogoVega
198+
- Change the Config Node cursor to `pointer` (#4711) @GogoVega
199+
- Add missing tooltips to Sidebar (#4713) @GogoVega
200+
- Allow nodes to return additional history entries in onEditSave (#4710) @knolleary
201+
- Update to Monaco 0.49.0 (#4725) @Steve-Mcl
202+
- Add Japanese translations for 4.0.0-beta.3 (#4726) @kazuhitoyokoi
203+
- Show lock on deploy if user is read-only (#4706) @knolleary
204+
205+
Runtime
206+
207+
- Ensure all CSS variables are in the output file (#3743) @bonanitech
208+
- Add httpAdminCookieOptions (#4718) @knolleary
209+
- chore: migrate deprecated `util.isArray` (#4724) @Rotzbua
210+
- Add --version cli args (#4707) @knolleary
211+
- feat(grunt): fail if files are missing (#4739) @Rotzbua
212+
- fix(node-red-pi): node-red not started by path (#4736) @Rotzbua
213+
- fix(editor): remove trailing slash (#4735) @Rotzbua
214+
- fix: remove deprecated mqtt.js (#4733) @Rotzbua
215+
216+
Nodes
217+
218+
- Perform Proxy logic more like cURL (#4616) @Steve-Mcl
219+
220+
#### 4.0.0-beta.3: Beta Release
221+
222+
Editor
223+
224+
- Improve background-deploy notification handling (#4692) @knolleary
225+
- Hide workspace tab on middle mouse click (#4657) @Steve-Mcl
226+
- multiplayer: Add user presence indicators (#4666) @knolleary
227+
- Enable updating dependency node of package.json in project feature (#4676) @kazuhitoyokoi
228+
- Add French translations for 4.0.0-beta.2 (#4681) @GogoVega
229+
- Add Japanese translations for 4.0.0-beta.2 (#4674) @kazuhitoyokoi
230+
- Fix saving of conf-type properties in module packaged subflows (#4658) @knolleary
231+
- Add npm install timeout notification (#4662) @hardillb
232+
- Fix undo of subflow env property edits (#4667) @knolleary
233+
- Fix three error typos in monaco.js (#4660) @JoshuaCWebDeveloper
234+
- docs: Add closing paragraph tag (#4664) @ZJvandeWeg
235+
- Avoid login loops when autoLogin enabled but login fails (#4684) @knolleary
236+
237+
Runtime
238+
239+
- Allow blank strings to be used for env var property substitutions (#4672) @knolleary
240+
- Use rfdc for cloning pure JSON values (#4679) @knolleary
241+
- fix: remove outdated Node 11+ check (#4314) @Rotzbua
242+
- feat(ci): add new nodejs v22 (#4694) @Rotzbua
243+
- fix(node): increase required node >=18.5 (#4690) @Rotzbua
244+
- fix(dns): remove outdated node check (#4689) @Rotzbua
245+
- fix(polyfill): remove import module polyfill (#4688) @Rotzbua
246+
- Fix typo (#4686) @Rotzbua
247+
248+
Nodes
249+
250+
- Pass full error object in Function node and copy over cause property (#4685) @knolleary
251+
- Replacing vm.createScript in favour of vm.Script (#4534) @patlux
252+
253+
#### 4.0.0-beta.2: Beta Release
254+
255+
Editor
256+
257+
- Introduce multiplayer feature (#4629) @knolleary
258+
- Separate the "add new config-node" option into a new (+) button (#4627) @GogoVega
259+
- Retain Palette categories collapsed and filter to localStorage (#4634) @knolleary
260+
- Ensure palette filter reapplies and clear up unknown categories (#4637) @knolleary
261+
- Add support for plugin (only) modules to the palette manager (#4620) @knolleary
262+
- Update monaco to latest and node types to 18 LTS (#4615) @Steve-Mcl
263+
264+
Runtime
265+
266+
- Fix handling of subflow config-node select type in sf module (#4643) @knolleary
267+
- Comms API updates (#4628) @knolleary
268+
- Add French translations for 4.0.0-beta.1 (#4621) @GogoVega
269+
- Add Japanese translations for 4.0.0-beta.1 (#4612) @kazuhitoyokoi
270+
271+
Nodes
272+
- Fix change node handling of replacing with boolean (#4639) @knolleary
273+
274+
#### 4.0.0-beta.1: Beta Release
275+
276+
Editor
277+
278+
- Click on id in debug panel highlights node or flow (#4439) @ralphwetzel
279+
- Support config selection in a subflow env var (#4587) @Steve-Mcl
280+
- Add timestamp formatting options to TypedInput (#4468) @knolleary
281+
- Allow RED.view.select to select links (#4553) @lgrkvst
282+
- Add auto-complete to flow/global/env typedInput types (#4480) @knolleary
283+
- Improve the appearance of the Node-RED primary header (#4598) @joepavitt
284+
285+
Runtime
286+
287+
- let settings.httpNodeAuth accept single middleware or array of middlewares (#4572) @kevinGodell
288+
- Upgrade to JSONata 2.x (#4590) @knolleary
289+
- Bump minimum version to node 18 (#4571) @knolleary
290+
- npm: Remove production flag on npm invocation (#4347) @ZJvandeWeg
291+
- Timer testing fix (#4367) @hlovdal
292+
- Bump to 4.0.0-dev (#4322) @knolleary
293+
294+
Nodes
295+
296+
- TCP node - when resetting, if no payload, stay disconnected @dceejay
297+
- HTML node: add option for collecting attributes and content (#4513) @gorenje
298+
- let split node specify property to split on, and join auto join correctly (#4386) @dceejay
299+
- Add RFC4180 compliant mode to CSV node (#4540) @Steve-Mcl
300+
- Fix change node to return boolean if asked (#4525) @dceejay
301+
- Let msg.reset reset Tcp request node connection when in stay connected mode (#4406) @dceejay
302+
- Let debug node status msg length be settable via settings (#4402) @dceejay
303+
- Feat: Add ability to set headers for WebSocket client (#4436) @marcus-j-davies
304+
305+
#### Older Releases
306+
307+
Change logs for older releases are available on GitHub: https://github.com/node-red/node-red/releases

CITATION.cff

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
cff-version: 1.2.0
2+
message: "If you use this software, please cite it as below."
3+
title: "Node-RED"
4+
authors:
5+
- family-names: "OpenJS Foundation"
6+
- family-names: "Contributors"
7+
url: "https://nodered.org"

0 commit comments

Comments
 (0)