Commit Graph

1692 Commits

Author SHA1 Message Date
Ben Hardill
22a3f47060 Speed up split node
fixes #5251

The code changed from 4.0.x to 4.1.x

This change to to prevent making changes to the orginial input `msg`
object incase any values were stored in context (pass by refernce).

The change meant that for every output message the whole original
input `msg` was being cloned, which could be huge, causing a big
performance regresion.

This fix ensures the clone of the orginial `msg` is only done once
and the much smaller output message is then cloned again to update
`msg.parts` object for each output. This results in lots of small
clones rather than lots of very large clones.
2025-08-20 18:40:19 +01:00
Nick O'Leary
ab1f1a284e Update for 4.1.0 release 2025-07-29 15:55:04 +01:00
Debadutta Panda
f57d7d9382 Improve raw body parser to handle skipped parsing and ended streams 2025-07-26 02:44:31 +05:30
Nick O'Leary
b4ff0c7824 Bump dependencies 2025-07-22 10:04:03 +01:00
Nick O'Leary
412f4465c7 Merge branch 'master' into dev 2025-07-21 16:29:52 +01:00
Nick O'Leary
0845811671 Merge pull request #5207 from node-red/node24-support
Updates for Node 24
2025-07-21 15:14:24 +01:00
Nick O'Leary
a3563026a5 Merge pull request #5210 from kazuhitoyokoi/master-fixrbe
Update help document of filter node
2025-07-10 10:04:20 +01:00
ZJ van de Weg
1eb6056843 Fix inject node validation to support binary and hexadecimal numbers
The inject node was using a restrictive regex that only accepted decimal
numbers, while the switch node properly supported binary (0b) and
hexadecimal (0x) formats. This inconsistency caused the inject node to
show validation errors for valid number formats.

Updated the inject node to use the same validateTypedProperty utility
function as the switch node, ensuring consistent number validation
across both nodes.

Fixes #5208
2025-07-07 16:19:34 +02:00
Kazuhito Yokoi
1f48dd5c0a Update help document of filter node 2025-07-07 00:19:06 +09:00
Nick O'Leary
b364f8f9b6 Handle deprecated calls to child_process with args 2025-07-04 14:59:58 +01:00
Kazuhito Yokoi
49b4c2bfee Add Japanese translations for 4.1.0-beta.2 2025-06-29 23:46:40 +09:00
Nick O'Leary
2c63d2fe4c Bump for 4.1.0-beta.2 2025-06-26 15:14:34 +01:00
Nick O'Leary
9bf9b7a635 Update context on autoComplete api 2025-06-26 14:30:13 +01:00
Nick O'Leary
0ae9f3dd8a Add support for plugin sources of autoComplete fields 2025-06-26 14:21:21 +01:00
Nick O'Leary
176ab9c554 Merge branch 'master' into dev 2025-06-26 11:01:07 +01:00
Nick O'Leary
d505b2171f Merge pull request #5168 from GogoVega/truncate-topic-debug
Truncate topic of debug message and add tooltip
2025-06-25 17:03:04 +01:00
Nick O'Leary
03cd5f8588 Merge branch 'dev' into truncate-topic-debug 2025-06-25 16:30:41 +01:00
Nick O'Leary
7c9e2c41ba Update packages/node_modules/@node-red/nodes/core/common/lib/debug/debug-utils.js 2025-06-25 16:30:33 +01:00
Nick O'Leary
b428e24ea5 Update skip http body parser 2025-06-25 16:28:30 +01:00
Debadutta Panda
af1f8bd112 Merge branch 'dev' into @feature/issue-5029 2025-06-21 19:41:03 +05:30
Nick O'Leary
71e7b821a2 Merge pull request #5173 from kazuhitoyokoi/dev-addjpn
Add Japanese translations for 4.1.0-beta.1
2025-06-16 14:14:19 +01:00
Nick O'Leary
3222efb5d0 Merge pull request #5172 from hardillb/http-request-rejectunauthorized-string
Allow limited Strings for msg.rejectUnauthorized
2025-06-16 14:04:43 +01:00
Kazuhito Yokoi
630d057c4c Update Japanese translations of mqtt-in node for 4.0.9 2025-06-15 14:02:58 +09:00
Kazuhito Yokoi
2886fc326c Add Japanese translations for 4.1.0-beta.1 2025-06-15 01:01:55 +09:00
Ben Hardill
410e5b8faf Allow limited Strings for msg.rejectUnauthorized
fixes #5171

If `msg.rejectUnauthorized` is a string allow "true", "false"
(and upper case versions) otherwise show a warning and use default
behaviour.

Boolean values used as is, any other types also ignored.
2025-06-13 13:33:42 +01:00
GogoVega
8449ba9a3c Truncate topic of debug message and add tooltip 2025-06-11 15:48:03 +02:00
Nick O'Leary
6717cce644 Merge pull request #5163 from node-red/rel410b1-prep
Initial prep for 4.1.0-beta.1 release
2025-06-10 16:29:56 +01:00
Nick O'Leary
1b1bcfe6a8 Merge branch 'rel410b1-prep' into fix-http-digest-query 2025-06-10 16:23:15 +01:00
Nick O'Leary
7f1eede6f8 Update dependencies 2025-06-10 10:41:21 +01:00
Ben Hardill
05b15e4d1a Include URL query params in HTTP Digest
fixes #3616
2025-06-10 10:10:46 +01:00
Debadutta Panda
f9241de213 Merge branch 'dev' into @feature/issue-5029 2025-06-10 13:06:13 +05:30
GogoVega
c32e8875ef Add French translation for 4.1 2025-06-09 13:19:57 +02:00
Nick O'Leary
6f34696687 Initial prep for 4.1.0-beta.1 release 2025-06-09 11:47:18 +01:00
Nick O'Leary
5511b27855 Merge branch 'master' into dev 2025-06-09 10:51:35 +01:00
Debadutta Panda
9b3246075d Update 21-httpin.js
- change the function name
- remove and change some functions description
2025-06-07 11:30:02 +05:30
Debadutta Panda
7d16feff24 Merge branch 'dev' into @feature/issue-5029 2025-06-07 10:47:20 +05:30
Nick O'Leary
be4de3b404 Fix typo is de/httprequest.html 2025-06-06 16:30:07 +01:00
Nick O'Leary
56df614b38 Merge pull request #5159 from node-red/4927-function-globals
Add URL/URLSearchParams to Function sandbox
2025-06-06 16:27:51 +01:00
Nick O'Leary
d5c7514668 Add URL/URLSearchParams to Function sandbox
Closes #4927
2025-06-06 16:21:04 +01:00
Nick O'Leary
37bcd743b8 Exec: Make encoding handling consistent between stdout and err 2025-06-06 16:08:45 +01:00
Nick O'Leary
1dbce32ab5 Merge pull request #5156 from node-red/pr_4989
Ensure generated mqtt clientId uses only valid chars
2025-06-06 11:50:57 +01:00
Nick O'Leary
f9de98d88a Merge pull request #5114 from node-red/fix-complete-node-to-filter-simple-feedback
Fix complete node to not feedback immediately connected nodes
2025-06-06 11:48:12 +01:00
Nick O'Leary
cbf00ca93e Merge pull request #4985 from vasuvanka/dev
Add globalFunctionTimeout
2025-06-06 11:40:19 +01:00
Nick O'Leary
9e79fc8a09 Apply suggestions from code review 2025-06-06 11:30:34 +01:00
Nick O'Leary
16ee42a43f Merge pull request #5113 from node-red/Let-split-report-original-msg-on-complete
Let split node send original msg to complete node
2025-06-06 11:03:28 +01:00
Nick O'Leary
3f3450ce3e Apply suggestions from code review 2025-06-06 11:00:13 +01:00
Nick O'Leary
aaa4e60d58 Apply suggestions from code review 2025-06-06 10:58:30 +01:00
Nick O'Leary
843313185a Apply suggestions from code review 2025-06-06 10:15:53 +01:00
Nick O'Leary
332fbae39e Merge branch 'dev' into feature/export-module-info-2 2025-06-06 10:07:32 +01:00
Ben Hardill
b0ac6f48a1 Bump Multer to 2.0.1 2025-06-04 11:19:30 +01:00