Commit graph

3292 commits

Author SHA1 Message Date
Ricardo Espinoza b78210c58a
refactor(core): Add tests to workflowPostExecute in TelemetryEventRelay (#12437) 2025-01-03 06:21:25 -05:00
कारतोफ्फेलस्क्रिप्ट™ 1d3cb9f5ac
refactor(core): Extract Worfklow import request payload into a DTO (#12441) 2025-01-03 12:19:09 +01:00
कारतोफ्फेलस्क्रिप्ट™ 552cff1860
refactor(core): Extract SAML requests payloads into DTOs (#12435) 2025-01-03 11:05:30 +01:00
Iván Ovejero 9432aa0b00
feat(core): Offload manual executions to workers (#11284) 2025-01-03 10:43:05 +01:00
Iván Ovejero 3ff902feb9
refactor(core): Hide stack trace for warning-level errors (#12411)
Some checks are pending
Test Master / install-and-build (push) Waiting to run
Test Master / Unit tests (18.x) (push) Blocked by required conditions
Test Master / Unit tests (20.x) (push) Blocked by required conditions
Test Master / Unit tests (22.4) (push) Blocked by required conditions
Test Master / Lint (push) Blocked by required conditions
Test Master / Notify Slack on failure (push) Blocked by required conditions
2025-01-02 17:48:39 +01:00
Danny Martini f56ad8cf49
feat(core): Add includeData parameter to GET /credentials (#12220)
Co-authored-by: r00gm <raul00gm@gmail.com>
2024-12-31 13:04:37 +01:00
Iván Ovejero 096329db51
refactor(core): Rename some runners files and classes for clarity (#12410) 2024-12-31 12:21:04 +01:00
कारतोफ्फेलस्क्रिप्ट™ 1674dd0f88
refactor(core): Update dynamic node parameter endpoints to use DTOs (#12379) 2024-12-30 15:48:44 +01:00
Iván Ovejero 072664b40e
fix(core): Prevent __default__ jobs in scaling mode (#12402) 2024-12-30 14:31:13 +01:00
Iván Ovejero e26b406665
fix(core): Fix execution cancellation issues in scaling mode (#12343) 2024-12-30 13:17:55 +01:00
Milorad FIlipović 9117718cc9
feat(editor): Add support for project icons (#12349) 2024-12-27 19:00:40 +01:00
Ricardo Espinoza 7ea6c8b144
feat: Expose license feature flags for free AI credits feature to frontend (no-changelog) (#12363) 2024-12-27 10:23:20 -05:00
Ricardo Espinoza ac4e042231
feat(core): Add endpoint to create free AI credits (#12362) 2024-12-27 09:46:57 -05:00
Ricardo Espinoza 66f8c9e249
refactor(core): Encapsulate logic to create new credential into its own method (#12361)
Some checks are pending
Test Master / install-and-build (push) Waiting to run
Test Master / Unit tests (18.x) (push) Blocked by required conditions
Test Master / Unit tests (20.x) (push) Blocked by required conditions
Test Master / Unit tests (22.4) (push) Blocked by required conditions
Test Master / Lint (push) Blocked by required conditions
Test Master / Notify Slack on failure (push) Blocked by required conditions
2024-12-27 08:26:36 -05:00
कारतोफ्फेलस्क्रिप्ट™ 7b2630d1a0
refactor(core): Update invitation endpoints to use DTOs (#12377)
Some checks are pending
Test Master / install-and-build (push) Waiting to run
Test Master / Unit tests (18.x) (push) Blocked by required conditions
Test Master / Unit tests (20.x) (push) Blocked by required conditions
Test Master / Unit tests (22.4) (push) Blocked by required conditions
Test Master / Lint (push) Blocked by required conditions
Test Master / Notify Slack on failure (push) Blocked by required conditions
2024-12-26 18:24:14 +01:00
कारतोफ्फेलस्क्रिप्ट™ 371a09de96
refactor(core): Port 3 more controllers to use DTOs (no-changelog) (#12375) 2024-12-26 16:09:42 +01:00
कारतोफ्फेलस्क्रिप्ट™ 1d5e891a0d
refactor(core): Update AI-Assistant backend code to use DTOs and injectable config (no-changelog) (#12373) 2024-12-26 15:31:19 +01:00
Iván Ovejero f754b22a3f
refactor(core): Mark all backend Enterprise Edition files and dirs (#12350)
Some checks failed
Test Master / install-and-build (push) Has been cancelled
Test Master / Unit tests (18.x) (push) Has been cancelled
Test Master / Unit tests (20.x) (push) Has been cancelled
Test Master / Unit tests (22.4) (push) Has been cancelled
Test Master / Lint (push) Has been cancelled
Test Master / Notify Slack on failure (push) Has been cancelled
2024-12-24 13:02:05 +01:00
कारतोफ्फेलस्क्रिप्ट™ 471d7b9420
refactor(core): Move Logger to core (no-changelog) (#12310)
Some checks failed
Test Master / install-and-build (push) Waiting to run
Test Master / Unit tests (18.x) (push) Blocked by required conditions
Test Master / Unit tests (20.x) (push) Blocked by required conditions
Test Master / Unit tests (22.4) (push) Blocked by required conditions
Test Master / Lint (push) Blocked by required conditions
Test Master / Notify Slack on failure (push) Blocked by required conditions
Benchmark Docker Image CI / build (push) Has been cancelled
2024-12-23 13:46:13 +01:00
Iván Ovejero fe7fb41ad8
refactor(core): Fix push message type inference (#12331)
Some checks failed
Test Master / install-and-build (push) Has been cancelled
Test Master / Unit tests (18.x) (push) Has been cancelled
Test Master / Unit tests (20.x) (push) Has been cancelled
Test Master / Unit tests (22.4) (push) Has been cancelled
Test Master / Lint (push) Has been cancelled
Test Master / Notify Slack on failure (push) Has been cancelled
2024-12-20 19:45:04 +01:00
कारतोफ्फेलस्क्रिप्ट™ 724e08562f
refactor(core): Deduplicate isObjectLiteral, add docs and tests (#12332)
Some checks failed
Test Master / install-and-build (push) Waiting to run
Test Master / Unit tests (18.x) (push) Blocked by required conditions
Test Master / Unit tests (20.x) (push) Blocked by required conditions
Test Master / Unit tests (22.4) (push) Blocked by required conditions
Test Master / Lint (push) Blocked by required conditions
Test Master / Notify Slack on failure (push) Blocked by required conditions
Benchmark Docker Image CI / build (push) Has been cancelled
2024-12-20 18:41:05 +01:00
Ivan Atanasov d4116630a6
feat: (Execute Workflow Node): Inputs for Sub-workflows (#11830) (#11837)
Co-authored-by: Charlie Kolb <charlie@n8n.io>
Co-authored-by: Milorad FIlipović <milorad@n8n.io>
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2024-12-20 17:01:22 +01:00
Eugene 2f21404987
chore: Fix DB migration for older versions of MySQL (#12328) 2024-12-20 12:38:09 +01:00
Iván Ovejero 95db031aa4
refactor: Introduce explicit-member-accessibility lint rule (#12325) 2024-12-20 11:44:01 +01:00
Ricardo Espinoza 3cb7081446
feat: Add migration to add managed column to credentials table (#12275)
Some checks are pending
Test Master / install-and-build (push) Waiting to run
Test Master / Unit tests (18.x) (push) Blocked by required conditions
Test Master / Unit tests (20.x) (push) Blocked by required conditions
Test Master / Unit tests (22.4) (push) Blocked by required conditions
Test Master / Lint (push) Blocked by required conditions
Test Master / Notify Slack on failure (push) Blocked by required conditions
Co-authored-by: Tomi Turtiainen <10324676+tomi@users.noreply.github.com>
2024-12-19 14:35:18 -05:00
Tomi Turtiainen 0ba4c6e942
test: Get rid of a warning log in tests (#12289) 2024-12-19 14:19:06 +02:00
github-actions[bot] 441d71e35d
🚀 Release 1.73.0 (#12302)
Co-authored-by: r00gm <22072110+r00gm@users.noreply.github.com>
2024-12-19 11:19:39 +01:00
Tomi Turtiainen a99d726f42
fix(core): Fix serialization of circular json with task runner (#12288) 2024-12-19 09:55:50 +01:00
Marc Littlemore e0dc385f8b
feat(API): Exclude pinned data from workflows (#12261) 2024-12-19 08:13:17 +00:00
Iván Ovejero dc7864a86d
docs(core): Update pruning service docline (#12282) 2024-12-18 20:05:00 +01:00
Tomi Turtiainen 0f1461f2d5
fix(core): Fix binary data helpers (like prepareBinaryData) with task runner (#12259)
Some checks are pending
Test Master / install-and-build (push) Waiting to run
Test Master / Unit tests (18.x) (push) Blocked by required conditions
Test Master / Unit tests (20.x) (push) Blocked by required conditions
Test Master / Unit tests (22.4) (push) Blocked by required conditions
Test Master / Lint (push) Blocked by required conditions
Test Master / Notify Slack on failure (push) Blocked by required conditions
Benchmark Docker Image CI / build (push) Waiting to run
2024-12-18 18:45:05 +02:00
Eugene 9d50dade3d
test: Fix Test Runner failing test (no-changelog) (#12260) 2024-12-17 14:02:28 +01:00
Eugene 2b267b1c05
chore: Switch to the new partial execution logic in test runner (no-changelog) (#12140) 2024-12-17 09:44:20 +01:00
Michael Kret e98c7f160b
feat: Send and wait operation - freeText and customForm response types (#12106) 2024-12-16 15:30:11 +00:00
Iván Ovejero 120499291d
refactor(core): Unify error reporters in core and task runners (#12168)
Co-authored-by: Tomi Turtiainen <10324676+tomi@users.noreply.github.com>
2024-12-13 17:34:37 +01:00
कारतोफ्फेलस्क्रिप्ट™ 73a2aa0c00
feat(core): Add is_docker info to telemetry payload on server-started (no-changelog) (#12187) 2024-12-13 16:07:32 +01:00
कारतोफ्फेलस्क्रिप्ट™ 785549cbec
refactor(core): Add support for memoized evaluation on getters (no-changelog) (#12185)
Co-authored-by: Tomi Turtiainen <10324676+tomi@users.noreply.github.com>
2024-12-13 12:52:36 +01:00
Eugene 70b0d81604
chore: Add node mocking logic to the Test Runner (no-changelog) (#12009) 2024-12-13 12:40:04 +01:00
Raúl Gómez Morales 6a5830959f
perf(editor): SchemaView performance improvement by ≈90% 🚀 (#12180)
Some checks are pending
Test Master / install-and-build (push) Waiting to run
Test Master / Unit tests (18.x) (push) Blocked by required conditions
Test Master / Unit tests (20.x) (push) Blocked by required conditions
Test Master / Unit tests (22.4) (push) Blocked by required conditions
Test Master / Lint (push) Blocked by required conditions
Test Master / Notify Slack on failure (push) Blocked by required conditions
2024-12-12 14:03:59 +01:00
कारतोफ्फेलस्क्रिप्ट™ 5a055ed526
refactor(core): Move execution engine code out of n8n-workflow (no-changelog) (#12147) 2024-12-12 13:54:44 +01:00
Iván Ovejero 454b022305
refactor(core): Enrich relay-execution-lifecycle-event logs (#12165) 2024-12-12 12:58:05 +01:00
Iván Ovejero b479f14ef5
fix(core): Fix $getWorkflowStaticData on task runners (#12153)
Some checks failed
Test Master / install-and-build (push) Waiting to run
Test Master / Unit tests (18.x) (push) Blocked by required conditions
Test Master / Unit tests (20.x) (push) Blocked by required conditions
Test Master / Unit tests (22.4) (push) Blocked by required conditions
Test Master / Lint (push) Blocked by required conditions
Test Master / Notify Slack on failure (push) Blocked by required conditions
Benchmark Docker Image CI / build (push) Has been cancelled
Co-authored-by: Tomi Turtiainen <10324676+tomi@users.noreply.github.com>
2024-12-11 20:48:36 +02:00
Iván Ovejero 28f1f6b561
refactor(core): Move multi-main state to InstanceSettings (#12144) 2024-12-11 18:25:22 +01:00
Iván Ovejero 77e2c75ca6
refactor(core): Introduce ManualExecutionService (#12156)
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2024-12-11 16:29:57 +01:00
कारतोफ्फेलस्क्रिप्ट™ 7f3bcb964e
Merge tag 'n8n@1.72.0' 2024-12-11 15:49:25 +01:00
कारतोफ्फेलस्क्रिप्ट™ 73145b70b8
chore: Convert ErrorReporting to a Service to use DI. Add some tests (no-changelog) (#11279) 2024-12-11 15:36:17 +01:00
github-actions[bot] c9d4de11ab
🚀 Release 1.72.0 (#12158)
Co-authored-by: dana-gill <152518854+dana-gill@users.noreply.github.com>
2024-12-11 14:47:47 +01:00
Michael Kret f4c2523419
fix(n8n Form Node): Completion page display if EXECUTIONS_DATA_SAVE_ON_SUCCESS=none (#11869) 2024-12-11 13:52:40 +02:00
कारतोफ्फेलस्क्रिप्ट™ ec54333f78
refactor(core): Refactor execution contexts to reduce code duplication, and improve type-safety (no-changelog) (#12138) 2024-12-11 11:26:27 +01:00
Iván Ovejero b37e5142b2
refactor(core): Encapsulate manual execution flow in WorkflowRunner (#12135) 2024-12-10 16:38:24 +01:00
कारतोफ्फेलस्क्रिप्ट™ 2d36b42798
fix(core): Fix supportedNodes for non-lazy loaded community packages (no-changelog) (#11329) 2024-12-10 14:48:39 +01:00
Tomi Turtiainen db09d0e77e
chore(core): Upgrade backend @sentry packages to 8.42.0 (#12061) 2024-12-10 14:13:11 +02:00
Iván Ovejero addb4fa352
feat(core): Cancel runner task on timeout in external mode (#12101) 2024-12-10 12:50:22 +01:00
Danny Martini a63f0e878e
feat(core): Add option to filter for empty variables (#12112) 2024-12-10 12:46:57 +01:00
Tomi Turtiainen 516f3b7b4b
feat(core): Detect restart loop in a task runner process (no-changelog) (#12003)
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
2024-12-09 13:11:29 +02:00
Eugene 00897f6634
chore: Add mockedNodes property to TestDefinition (no-changelog) (#12001)
Co-authored-by: Tomi Turtiainen <10324676+tomi@users.noreply.github.com>
2024-12-09 11:39:13 +01:00
Danny Martini efafeed334
fix(core): Return homeProject when filtering workflows by project id (#12077)
Some checks are pending
Test Master / install-and-build (push) Waiting to run
Test Master / Unit tests (18.x) (push) Blocked by required conditions
Test Master / Unit tests (20.x) (push) Blocked by required conditions
Test Master / Unit tests (22.4) (push) Blocked by required conditions
Test Master / Lint (push) Blocked by required conditions
Test Master / Notify Slack on failure (push) Blocked by required conditions
2024-12-08 19:45:41 +01:00
Milorad FIlipović 67ed1d2c3c
feat(editor): Implementing the Easy AI Workflow experiment (#12043) 2024-12-06 14:23:39 +01:00
कारतोफ्फेलस्क्रिप्ट™ 60b3dccf93
feat(core): Parent workflows should wait for sub-workflows to finish (#11985) 2024-12-06 12:20:34 +01:00
Tomi Turtiainen 2e979547a4
refactor: Unify task runner env vars (#12040)
Some checks are pending
Test Master / install-and-build (push) Waiting to run
Test Master / Unit tests (18.x) (push) Blocked by required conditions
Test Master / Unit tests (20.x) (push) Blocked by required conditions
Test Master / Unit tests (22.4) (push) Blocked by required conditions
Test Master / Lint (push) Blocked by required conditions
Test Master / Notify Slack on failure (push) Blocked by required conditions
2024-12-05 12:36:43 +02:00
Ricardo Espinoza 95d56fee8d
fix: Allow disabling MFA with recovery codes (#12014)
Co-authored-by: Tomi Turtiainen <10324676+tomi@users.noreply.github.com>
2024-12-04 10:02:06 -05:00
Danny Martini 2b6a72f128
fix: Chat triggers don't work with the new partial execution flow (#11952) 2024-12-04 15:33:46 +01:00
github-actions[bot] 0e26f58ae6
🚀 Release 1.71.0 (#12037)
Co-authored-by: mutdmour <4711238+mutdmour@users.noreply.github.com>
2024-12-04 14:14:45 +01:00
Mutasem Aldmour abc851c0cf
fix: Load workflows with unconnected Switch outputs (#12020) 2024-12-04 13:44:25 +01:00
Tomi Turtiainen 2e6845afcb
fix(core): Use the configured timezone in task runner (#12032) 2024-12-04 13:32:44 +02:00
Ricardo Espinoza 70706d81e1
refactor: Standardize MFA code and recovery code naming across code base (#12011) 2024-12-03 07:15:29 -05:00
Mutasem Aldmour 9f78b16efc
chore: Clean up welcome sticky feature (no-changelog) (#11987) 2024-12-02 19:35:54 +01:00
Mutasem Aldmour fb5cf4beea
fix: Remove duplicate error reporting for endpoints (no-changelog) (#11959)
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2024-12-02 19:34:42 +01:00
Eugene 80a2093388
feat(core): Collect and aggregate metrics from the evaluation workflow execution (no-changelog) (#11945)
Co-authored-by: Tomi Turtiainen <10324676+tomi@users.noreply.github.com>
2024-12-02 15:26:27 +01:00
Eugene 43dd2a06c9
feat(core): API endpoints for Test Runs (no-changelog) (#11882) 2024-12-02 13:52:40 +01:00
Eugene b0e9085ffc
chore: Get past execution's start and destination nodes while running tests (no-changelog) (#11983) 2024-12-02 13:52:09 +01:00
Iván Ovejero e68c9da30c
fix(core): Validate node name when creating NodeOperationErrror (#11999) 2024-12-02 12:43:25 +01:00
कारतोफ्फेलस्क्रिप्ट™ 8d71307da0
fix(core): Fix push for waiting executions (#11984)
Some checks failed
Test Master / install-and-build (push) Has been cancelled
Benchmark Docker Image CI / build (push) Has been cancelled
Test Master / Unit tests (18.x) (push) Has been cancelled
Test Master / Unit tests (20.x) (push) Has been cancelled
Test Master / Unit tests (22.4) (push) Has been cancelled
Test Master / Lint (push) Has been cancelled
Test Master / Notify Slack on failure (push) Has been cancelled
2024-11-29 16:14:05 +01:00
कारतोफ्फेलस्क्रिप्ट™ fcbf0ea771
ci: Report test-workflows errors to Sentry (no-changelog) (#11944) 2024-11-28 17:33:25 +01:00
कारतोफ्फेलस्क्रिप्ट™ eccd924f5e
fix(n8n Form Node): Use https to load google fonts (#11948) 2024-11-28 14:14:00 +01:00
Raúl Gómez Morales b8da4ff9ed
fix(editor): Implement dirty nodes for partial executions (#11739)
Co-authored-by: Danny Martini <danny@n8n.io>
2024-11-28 14:04:55 +01:00
Raúl Gómez Morales 9c6def9197
perf(editor): Virtualize SchemaView (#11694) 2024-11-28 11:04:24 +01:00
कारतोफ्फेलस्क्रिप्ट™ 683ee42d3b
Merge tag 'n8n@1.70.0' 2024-11-27 15:02:22 +01:00
github-actions[bot] 2d89f5cb64
🚀 Release 1.70.0 (#11927)
Co-authored-by: netroy <196144+netroy@users.noreply.github.com>
2024-11-27 14:36:59 +01:00
Eugene 11f9212eda
chore: Add test run entity (no-changelog) (#11832) 2024-11-27 14:33:28 +01:00
Tomi Turtiainen 9669380097
feat(core): Add health endpoint for task broker server (no-changelog) (#11920) 2024-11-27 14:50:41 +02:00
Eugene f91fecfe0d
feat(core): Add internal API to manage metrics of a test definition (no-changelog) (#11851) 2024-11-27 13:00:33 +01:00
Eugene 80c5242e16
feat(core): Run evaluation workflow per each test case (no-changelog) (#11757) 2024-11-27 11:19:22 +01:00
Iván Ovejero 1d80225d26
fix(core): Correct invalid WS status code on removing connection (#11901) 2024-11-26 17:22:41 +01:00
Eugene 845ba6c917
feat(core): Initial TestRunner service with basic test execution (no-changelog) (#11735) 2024-11-26 16:04:24 +01:00
Eugene 6b23ad0c12
feat(core): Add workflowId filter to the test-definitions endpoint (no-changelog) (#11831)
Some checks are pending
Test Master / install-and-build (push) Waiting to run
Test Master / Unit tests (18.x) (push) Blocked by required conditions
Test Master / Unit tests (20.x) (push) Blocked by required conditions
Test Master / Unit tests (22.4) (push) Blocked by required conditions
Test Master / Lint (push) Blocked by required conditions
Test Master / Notify Slack on failure (push) Blocked by required conditions
Benchmark Docker Image CI / build (push) Waiting to run
2024-11-26 15:01:00 +01:00
Danny Martini 3320436a6f
fix: Retain execution data between partial executions (new flow) (#11828) 2024-11-26 13:32:39 +01:00
कारतोफ्फेलस्क्रिप्ट™ 75e2b6fd9e
refactor(core): Extract ExecuteContext out of NodeExecutionFunctions (no-changelog) (#11853) 2024-11-26 12:10:42 +01:00
Tomi Turtiainen e22d0f3877
perf(core): Batch items sent in runonceforeachitem mode (no-changelog) (#11870)
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
2024-11-26 12:21:51 +02:00
Iván Ovejero 1adb730599
test(core): Expand coverage for execution filters (#11890) 2024-11-26 10:27:01 +01:00
Eugene 459e6aa9bc
chore: Add new table for test metrics (no-changelog) (#11848) 2024-11-25 10:38:51 +01:00
Marc Littlemore a061dbca07
fix(core): Fix broken execution query when using projectId (#11852) 2024-11-25 09:48:45 +01:00
कारतोफ्फेलस्क्रिप्ट™ 03135702f1
fix(core): Bring back execution data on the executionFinished push message (#11821)
Some checks failed
Test Master / install-and-build (push) Has been cancelled
Test Master / Unit tests (18.x) (push) Has been cancelled
Test Master / Unit tests (20.x) (push) Has been cancelled
Test Master / Unit tests (22.4) (push) Has been cancelled
Test Master / Lint (push) Has been cancelled
Test Master / Notify Slack on failure (push) Has been cancelled
2024-11-22 19:09:48 +01:00
कारतोफ्फेलस्क्रिप्ट™ 13cc5abb7f
fix(core): Keep in-memory execution status in-sync with the DB (no-changelog) (#11843) 2024-11-22 16:06:36 +01:00
Iván Ovejero bce2366947
refactor(core): Mark deprecations for v2 (#11817) 2024-11-22 13:49:00 +01:00
Bin Chang adf026c201
fix: Fix some comments (no-changelog) (#11816)
Signed-off-by: binchengqu <bincheng@before.tech>
2024-11-22 13:31:52 +01:00
Iván Ovejero 0cbb46c8b9
feat(core): Shut down runner on idle timeout (no-changelog) (#11820) 2024-11-22 11:17:00 +01:00
Tomi Turtiainen ececdb09e4
fix(core): Make runner disconnected error more user-friendly (no-changelog) (#11829)
Some checks are pending
Test Master / install-and-build (push) Waiting to run
Test Master / Unit tests (18.x) (push) Blocked by required conditions
Test Master / Unit tests (20.x) (push) Blocked by required conditions
Test Master / Unit tests (22.4) (push) Blocked by required conditions
Test Master / Lint (push) Blocked by required conditions
Test Master / Notify Slack on failure (push) Blocked by required conditions
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
2024-11-21 17:26:08 +01:00
github-actions[bot] 4435b14424
🚀 Release 1.69.0 (#11812)
Co-authored-by: netroy <196144+netroy@users.noreply.github.com>
2024-11-20 16:22:11 +01:00
Iván Ovejero 7d3ad669e2
feat(core): Defer task on launcher handshake (no-changelog) (#11786) 2024-11-20 12:38:29 +01:00