Commit Graph

72 Commits

Author SHA1 Message Date
mfsiega
9319139a08
feat(core): Switch to structured destination node (no-changelog) (#22143)
Co-authored-by: Danny Martini <danny@n8n.io>
Co-authored-by: Claude <noreply@anthropic.com>
2025-11-24 16:13:37 +01:00
Iván Ovejero
b3ceeafb96
fix(core): Restore moment to regular runners image (#22212) 2025-11-24 10:21:16 +01:00
Tomi Turtiainen
6f2709608f
test: Fix flaky js task runner test (#22146)
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2025-11-24 10:01:28 +02:00
Tomi Turtiainen
d6f5c64c58
refactor(core): Add factory functions to create instances of IRunExecutionData (#21554)
Co-authored-by: Danny Martini <danny@n8n.io>
2025-11-17 20:19:50 +02:00
Iván Ovejero
f193b7a619
fix(core): Prevent binary payload duplication in JS runner (#20753) 2025-10-15 13:47:48 +02:00
Iván Ovejero
b0de49cfbf Merge commit from fork 2025-10-06 13:56:15 +03:00
yehorkardash
a910604822
refactor(Code Tool Node): Replace vm2 with taskrunner for js (#19247) 2025-09-09 14:15:31 +03:00
Iván Ovejero
fbaee9ac02
refactor(core): Consolidate task result validation in Code node (#18928) 2025-09-02 16:05:10 +02:00
Iván Ovejero
04738d442d
fix(core): Fix error message parsing for disallowed modules (#18216) 2025-08-11 16:25:09 +02:00
Iván Ovejero
09caa05726
fix(core): Fix disallowed module error in task runner (#18190) 2025-08-11 10:46:38 +02:00
Iván Ovejero
4cf9399432
refactor(core): Move ApplicationError to @n8n/errors (#17667) 2025-07-28 17:48:56 +02:00
Iván Ovejero
7d06a89d4d
chore(core): Lintfix modern packages (#17046) 2025-07-07 14:30:57 +02:00
Iván Ovejero
7317f67797
feat(core)!: Introduce insecure mode in task runner (#16911) 2025-07-04 08:32:49 +02:00
Iván Ovejero
8aecd327c6
refactor(core): Improve top-level key validation in task runner (#16882) 2025-07-03 08:58:58 +02:00
Iván Ovejero
af52a0d1ed
fix(core): Apply same VM wrapper to both modes in task runner (#16872) 2025-07-01 15:18:30 +02:00
कारतोफ्फेलस्क्रिप्ट™
2945bbdd1a
ci: Handle new built-in node:* modules in the task-runner tests on node.js 24 (#16026) 2025-06-05 11:53:07 +02:00
कारतोफ्फेलस्क्रिप्ट™
7c806ff532
refactor(core): Refactor some imports to reduce baseline memory usage (#15916) 2025-06-03 11:23:44 +02:00
Iván Ovejero
75c1a4c5b3
fix(core): Fix task runner validation error on array of arrays (#15106) 2025-05-06 11:23:45 +02:00
Iván Ovejero
e86edf536f
fix(core): Fix task runner logging to browser console (#15111) 2025-05-06 09:42:46 +02:00
Iván Ovejero
ff47279b25
perf(core): Reuse context in runOnceForEachItem mode in task runner (#14682) 2025-04-16 16:19:47 +02:00
Iván Ovejero
7c1be05845
fix(core): Allow $evaluateExpression to resolve in task runners (#14641) 2025-04-15 20:27:26 +02:00
Mutasem Aldmour
faecb47f15
test: Add $agentInfo to known task runner parsers (no-changelog) (#14525) 2025-04-10 15:13:04 +02:00
Iván Ovejero
d6ae3889ca
feat(core): Make runtime prototype mutation protection configurable for task runner (#14515) 2025-04-10 14:12:25 +02:00
कारतोफ्फेलस्क्रिप्ट™
9ba58ca80b
refactor(core): Persist node execution order, and forward it to the frontend (#14455) 2025-04-09 10:19:58 +02:00
Alex Grozav
8215e0b59f
refactor: Migrate NodeConnectionType to const object type (no-changelog) (#14078)
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2025-03-21 14:01:26 +02:00
Iván Ovejero
9bedd87744
fix(core): Fix task runner error report from user-defined function (#13706) 2025-03-05 16:04:09 +01:00
Tomi Turtiainen
87b3c508b3
fix(Code Node): Fix $items in Code node when using task runner (#13368) 2025-02-19 17:33:26 +02:00
Tomi Turtiainen
2774f35969
test: Add missing $rawParameter to list of known built-ins (#12976) 2025-01-31 14:42:38 +02:00
Tomi Turtiainen
3fa0714c22
test(core): Fix task runner test (#12801) 2025-01-23 13:03:01 +01:00
Tomi Turtiainen
3d9d5bf9d5
fix(core): Fix usage of external libs in task runner (#12788)
Co-authored-by: Cornelius Suermann <cornelius@n8n.io>
2025-01-23 10:18:00 +02:00
Tomi Turtiainen
eceee7f3f8
fix(core): Prevent prototype pollution of internal classes in task runner (#12610) 2025-01-15 14:27:23 +02:00
Iván Ovejero
bdf266cf55
fix(core): Prevent prototype pollution in task runner (#12588) 2025-01-15 10:51:42 +02:00
Tomi Turtiainen
35b618098b
fix(core): Disallow code generation in task runner (#12522) 2025-01-09 12:27:17 +01:00
Iván Ovejero
88c0838dd7
fix(core): Fix Sentry error reporting on task runners (#12495) 2025-01-08 17:47:40 +01:00
Iván Ovejero
1b9100032f
fix(core): Allow index as top-level item key for Code node (#12469) 2025-01-06 15:03:36 +01:00
Tomi Turtiainen
b1940268e6
fix(core): Ensure tasks timeout even if they don't receive settings (#12431) 2025-01-03 12:27:47 +02:00
Tomi Turtiainen
4498e35192
fix(core): Fix task runner sending too many offers (#12415) 2025-01-02 10:16:28 +02:00
Tomi Turtiainen
0860fbe971
fix(core): Don't fail task runner task if logging fails (#12401) 2024-12-31 09:19:36 +02:00
Tomi Turtiainen
f08db47077
chore: Clean up some code (#12287) 2024-12-30 16:32:09 +02:00
Iván Ovejero
95db031aa4
refactor: Introduce explicit-member-accessibility lint rule (#12325) 2024-12-20 11:44:01 +01:00
कारतोफ्फेलस्क्रिप्ट™
7ce4e8d169
fix(core): Switch from lodash.set to lodash to address CVE-2020-8203 (no-changelog) (#12286) 2024-12-18 20:05:41 +01:00
Tomi Turtiainen
0f1461f2d5
fix(core): Fix binary data helpers (like prepareBinaryData) with task runner (#12259) 2024-12-18 18:45:05 +02:00
Tomi Turtiainen
271401d882
test: Fix task runner tests on node 18 and 22 (#12243) 2024-12-16 14:37:24 +01:00
Tomi Turtiainen
889b15d33e
test: Add tests for $getWorkflowStaticData (#12203) 2024-12-13 11:30:32 +02:00
Iván Ovejero
b479f14ef5
fix(core): Fix $getWorkflowStaticData on task runners (#12153)
Co-authored-by: Tomi Turtiainen <10324676+tomi@users.noreply.github.com>
2024-12-11 20:48:36 +02:00
Iván Ovejero
57c6a6167d
fix(core): Ensure runners do not throw on unsupported console methods (#12167) 2024-12-11 18:37:07 +01:00
Iván Ovejero
8bf6cce000
test: Allow runner tests to exit cleanly (#12127) 2024-12-10 13:09:36 +01:00
Iván Ovejero
addb4fa352
feat(core): Cancel runner task on timeout in external mode (#12101) 2024-12-10 12:50:22 +01:00
Tomi Turtiainen
2e979547a4
refactor: Unify task runner env vars (#12040) 2024-12-05 12:36:43 +02:00
Tomi Turtiainen
872535a40c
fix(core): Opt-out from optimizations if $item is used (#12036) 2024-12-04 14:32:28 +02:00