Nick O'Leary
6b69500a5c
Merge pull request #5461 from Dennis-SEG/fix/node-close-double-resolve
...
fix: prevent double resolve in node close callback
2026-01-26 10:19:13 +00:00
Nick O'Leary
89b10a0a9d
Merge pull request #5457 from Dennis-SEG/fix/delay-node-race-condition
...
fix: prevent incorrect array modification in delay node
2026-01-26 09:50:18 +00:00
Dennis-SEG
97e70a225b
fix: prevent double resolve in node close callback
2026-01-24 23:20:52 +01:00
Dennis-SEG
d0cabaf740
fix: prevent race condition in delay node idList splice
...
Check indexOf result before splicing to prevent removing wrong element
when clearDelayList() runs between timeout registration and execution.
If indexOf returns -1 (id already removed), splice(-1, 1) would incorrectly
remove the last element. Now we skip the splice if id is not found.
Fixes : Dennis-SEG/node-red#3
2026-01-24 23:00:46 +01:00
Dennis-SEG
fa5943b235
style: fix indentation in tcpin.js try-catch block
2026-01-18 15:51:44 +01:00
Dennis Bosmans
96bef841a0
fix: prevent uncaught exceptions in core node event handlers
...
Added try-catch blocks and null checks to event handlers in core nodes
to prevent uncaught exceptions from crashing the Node-RED runtime.
Changes per node:
**TCP (31-tcpin.js)**
- Wrapped all `on('data')` handlers in try-catch (TcpIn client/server, TcpGet)
**UDP (32-udp.js)**
- Wrapped `on('message')` handler in try-catch
**Exec (90-exec.js)**
- Wrapped stdout/stderr `on('data')` handlers in try-catch
**WebSocket (22-websocket.js)**
- Wrapped send() loop in handleEvent() with try-catch
**MQTT (10-mqtt.js)**
- Added null check for packet parameter in subscriptionHandler()
- Wrapped subscription handler callback in try-catch
- Added null check for mpacket.properties
Without these protections, malformed data or unexpected errors in async
event handlers could cause uncaught exceptions that crash the entire
Node-RED process.
2026-01-16 22:22:11 +01:00
Nick O'Leary
b3f5cc457e
Bump for 4.1.3
2026-01-07 16:17:17 +00:00
Nick O'Leary
40655a59ad
Merge pull request #5406 from piotrbogun/5343/Editor/node-help-tab-arrow-key-navigation
...
5343/Editor/Bug: Node help tab resets focus when arrow keys are used to switch between nodes
2026-01-07 16:04:40 +00:00
Nick O'Leary
cfe809e76a
Merge pull request #5427 from node-red/5405-quick-add-filter-fix
...
Ensure quick-add filter is applied properly when retriggering add
2026-01-07 15:57:25 +00:00
Nick O'Leary
0738754d40
Merge pull request #5421 from piotrbogun/5420/TreeList/scroll-on-overflow-navigation
...
TreeList: Fix widget treeList keyboard navigation scroll behavior
2026-01-07 15:52:39 +00:00
Nick O'Leary
d6f6d9e9a3
Ensure quick-add filter is applied properly when retriggering add
2026-01-07 15:45:39 +00:00
Nick O'Leary
721bdbc9aa
Merge pull request #5392 from Dennis-SEG/fix/http-request-uncaught-exceptions
...
fix(http-request): prevent uncaught exceptions in async hooks
2026-01-07 15:37:36 +00:00
Nick O'Leary
bc4f5feede
Merge pull request #5382 from node-red/fix-delay-node-variable-mode-error
...
Fix flushing when in variable delay mode
2026-01-07 15:16:04 +00:00
Nick O'Leary
e7cd488409
Merge pull request #5425 from node-red/file-node-fix
...
File node TypedInput width fix
2026-01-07 15:15:37 +00:00
Nick O'Leary
60b3569edd
Apply suggestions from code review
2026-01-07 15:07:54 +00:00
Dave Conway-Jones
82a1f12179
Just fix file nodes for now
2026-01-07 15:07:54 +00:00
Dave Conway-Jones
26573c1b3c
Let TypedInput width be calculated - but forced
2026-01-07 15:07:54 +00:00
Piotr Bogun
cdc83afdee
Call reveal on a treelist target when it gets focused
2026-01-05 22:54:47 -06:00
Noley Holland
58b7fc745b
Merge branch 'master' into 5348/preserve-search-dialog-casing
2026-01-05 11:03:07 -08:00
Nick O'Leary
92ca0eea83
Merge pull request #5355 from GogoVega/improve-next-previous-tab-action
...
Allow actions show-next-tab and previous to loop
2026-01-05 17:38:32 +00:00
Nick O'Leary
bd92ee12fa
Merge pull request #5418 from node-red/update-deps
...
Update body-parser
2026-01-05 17:35:26 +00:00
Nick O'Leary
626be956d1
Merge pull request #5416 from kazuhitoyokoi/master-fixgarbledtext
...
Use TextDecoder() to decode UTF-8 characters
2026-01-05 17:35:12 +00:00
Nick O'Leary
bd2c4d83a9
Merge pull request #5414 from kazuhitoyokoi/master-fixcompletenode
...
Support source information in complete node
2026-01-05 17:29:13 +00:00
Nick O'Leary
8287a0aaab
Merge pull request #5412 from kazuhitoyokoi/master-fixstatusnode
...
Fix status node to retrieve status from all nodes
2026-01-05 17:28:24 +00:00
Nick O'Leary
4028ecdb78
Merge pull request #5407 from piotrbogun/5404/Editor/quick-add-dialog-junction-error
...
5404/Editor/Bug: Junction error in Quick Add dialog
2026-01-05 17:27:05 +00:00
Nick O'Leary
27ce7cd84d
Merge pull request #5410 from kazuhitoyokoi/master-fixtooltip
...
Add tooltip to delete button in node property UI
2026-01-05 17:21:26 +00:00
Nick O'Leary
f4d713f8fe
Merge pull request #5409 from kazuhitoyokoi/master-fixhttprequest
...
Decrement count of http requests after error
2026-01-05 17:20:39 +00:00
Nick O'Leary
f4b8af9c29
Update body-parser
2026-01-05 17:14:49 +00:00
Nick O'Leary
7bf72090a3
Merge pull request #5403 from kazuhitoyokoi/master-fixquickadddialog
...
Fix invalid node size in quick add dialog
2026-01-05 17:05:26 +00:00
Nick O'Leary
c73a66afbe
Merge pull request #5400 from kazuhitoyokoi/master-fixdebugtab
...
Fix debug tab to copy displayed value
2026-01-05 16:56:00 +00:00
Nick O'Leary
a7e3809e21
Merge pull request #5399 from kazuhitoyokoi/master-fixlibrary
...
Expand folder to avoid error in library
2026-01-05 16:51:42 +00:00
Nick O'Leary
839c17a08c
Merge pull request #5398 from kazuhitoyokoi/master-addval
...
Stricter validator for flow file name in project feature
2026-01-05 16:50:40 +00:00
Kazuhito Yokoi
4bc6d0a9bd
Use TextDecoder() to decode UTF-8 characters
2026-01-04 19:17:28 +09:00
Kazuhito Yokoi
e108554ea0
Support source information in complete node
2026-01-04 17:56:32 +09:00
Kazuhito Yokoi
cc1662ab5c
Fix status node to retrieve status from all nodes
2026-01-04 16:17:16 +09:00
Kazuhito Yokoi
bcbd364ddd
Add tooltip to delete button
2026-01-03 17:04:01 +09:00
Kazuhito Yokoi
8c594ac627
Decrement count of http requests after error
2026-01-03 14:31:46 +09:00
Piotr Bogun
d8f9139d2e
Add check for junction node type in the quick add menu
2026-01-02 16:15:40 -06:00
Piotr Bogun
957f701035
Add focus class to new selected label after removing focus class from previously selected label
2026-01-02 15:19:04 -06:00
Kazuhito Yokoi
187ce3bea4
Fix invalid node size in quick add dialog
2026-01-02 14:37:30 +09:00
Noley Holland
0689306569
Add new line at end of file
2025-12-30 11:13:44 -08:00
Noley Holland
a55aa17939
Fix search dialog to preserve flow/subflow name casing & add unit tests
2025-12-30 11:13:10 -08:00
Kazuhito Yokoi
01ae461911
Expand folder to avoid error in library
2025-12-30 01:01:51 +09:00
Kazuhito Yokoi
a401ea9216
Stricter validator for flow file name in project feature
2025-12-30 00:47:11 +09:00
Kazuhito Yokoi
a2fdb198d6
Fix list size in Git config UI
2025-12-29 23:30:02 +09:00
Kazuhito Yokoi
811aaa9df4
Fix scrolling issue in Git config UI
2025-12-29 22:25:57 +09:00
Dennis-SEG
f1b56dc6fa
refactor: remove unused getHeaderValue() function
2025-12-24 00:46:07 +01:00
Dennis-SEG
2355709040
fix(http-request): prevent uncaught exceptions in async hooks
...
This PR fixes several issues that can cause uncaught exceptions and crash Node-RED:
1. Fixed typo: `toLowercase()` -> `toLowerCase()` in getHeaderValue()
2. Added try-catch to beforeRequest hook
3. Added try-catch to beforeRedirect hook
4. Added try-catch to afterResponse hook (digest auth)
5. Added input validation to extractCookies() with array check
6. Added input validation to buildDigestHeader() for nonce/realm
These changes ensure that malformed responses or invalid data from servers
don't crash the entire Node-RED runtime.
Fixes: Uncaught exceptions in HTTP request node
2025-12-23 21:32:49 +01:00
Dave Conway-Jones
636089b586
Fix flushing when in variable delay mode
...
to close #5381
2025-12-12 22:42:46 +00:00
GogoVega
2c7a15ecb2
Move the logic to the right place
2025-12-07 12:04:59 +01:00