Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: node-red/node-red
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 1019d52
Choose a base ref
...
head repository: node-red/node-red
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 56c641f
Choose a head ref
  • 17 commits
  • 21 files changed
  • 3 contributors

Commits on Jan 16, 2026

  1. 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.
    Dennis-SEG committed Jan 16, 2026
    Configuration menu
    Copy the full SHA
    96bef84 View commit details
    Browse the repository at this point in the history

Commits on Jan 18, 2026

  1. Configuration menu
    Copy the full SHA
    fa5943b View commit details
    Browse the repository at this point in the history

Commits on Jan 24, 2026

  1. 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#3
    Dennis-SEG committed Jan 24, 2026
    Configuration menu
    Copy the full SHA
    d0cabaf View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    97e70a2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ca01aa9 View commit details
    Browse the repository at this point in the history

Commits on Jan 25, 2026

  1. Configuration menu
    Copy the full SHA
    39e4d85 View commit details
    Browse the repository at this point in the history

Commits on Jan 26, 2026

  1. Merge pull request #5438 from Dennis-SEG/fix/harden-nodes-against-unc…

    …aught-exceptions
    
    fix: prevent uncaught exceptions in core node event handlers
    knolleary authored Jan 26, 2026
    Configuration menu
    Copy the full SHA
    620da24 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #5457 from Dennis-SEG/fix/delay-node-race-condition

    fix: prevent incorrect array modification in delay node
    knolleary authored Jan 26, 2026
    Configuration menu
    Copy the full SHA
    89b10a0 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #5461 from Dennis-SEG/fix/node-close-double-resolve

    fix: prevent double resolve in node close callback
    knolleary authored Jan 26, 2026
    Configuration menu
    Copy the full SHA
    6b69500 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #5462 from Dennis-SEG/fix/localfilesystem-race-con…

    …dition-clean
    
    fix: prevent race condition in localfilesystem context store during shutdown
    knolleary authored Jan 26, 2026
    Configuration menu
    Copy the full SHA
    89db8f0 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b8d0233 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    1d5557b View commit details
    Browse the repository at this point in the history
  7. Merge pull request #5465 from yuan-cloud/fix/registry-import-exports-…

    …subpath
    
    registry: fix importModule base dir for exports subpaths
    knolleary authored Jan 26, 2026
    Configuration menu
    Copy the full SHA
    bf1f753 View commit details
    Browse the repository at this point in the history
  8. Merge pull request #5467 from node-red/5463-fix-editablelist-overflow

    Revert overflow fix in editableList
    knolleary authored Jan 26, 2026
    Configuration menu
    Copy the full SHA
    2151592 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    12c575b View commit details
    Browse the repository at this point in the history
  10. Update changelog

    knolleary committed Jan 26, 2026
    Configuration menu
    Copy the full SHA
    866d2b0 View commit details
    Browse the repository at this point in the history
  11. Merge pull request #5468 from node-red/rel414

    Bump for 4.1.4 release
    knolleary authored Jan 26, 2026
    Configuration menu
    Copy the full SHA
    56c641f View commit details
    Browse the repository at this point in the history
Loading