Commit graph

3198 commits

Author SHA1 Message Date
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
Iván Ovejero 2632b1fb7f
fix(core): Ensure task runner module and server shut down (no-changelog) (#11801)
Co-authored-by: Tomi Turtiainen <10324676+tomi@users.noreply.github.com>
2024-11-20 10:55:19 +01:00
Iván Ovejero d15b8d0509
fix(core): Restore old names for pruning config keys (#11782) 2024-11-20 09:56:37 +01:00
कारतोफ्फेलस्क्रिप्ट™ e1dacb4d57
ci: Fix mysql tests (no-changelog) (#11799) 2024-11-20 09:56:14 +01:00
Tomi Turtiainen 43aa389ea7
refactor(core): Bundle the go based launcher to the n8n docker image (no-changelog) (#11792)
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: Iván Ovejero <ivov.src@gmail.com>
2024-11-19 23:16:57 +02:00
Iván Ovejero b8c7075545
refactor(core): Add low concurrency warning to worker (#11762)
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2024-11-19 16:22:07 +01:00
कारतोफ्फेलस्क्रिप्ट™ 274fcf45d3
fix(core): Improve the security on OAuth callback endpoints (#11593) 2024-11-19 16:17:20 +01:00
कारतोफ्फेलस्क्रिप्ट™ 1d8fd13d84
fix(core): Unload any existing version of a community nodes package before upgrading it (#11727) 2024-11-19 15:36:33 +01:00
Iván Ovejero 4880d1a92a
refactor(core): Make launcher auth easier to debug (#11768)
Co-authored-by: Tomi Turtiainen <10324676+tomi@users.noreply.github.com>
2024-11-19 09:32:19 +01:00
Iván Ovejero a544b74d87
refactor(core): Port diagnostics config (#11761) 2024-11-18 14:08:45 +01:00
कारतोफ्फेलस्क्रिप्ट™ 61696c3db3
feat(core): Improve handling of manual executions with wait nodes (#11750)
Co-authored-by: Michael Kret <michael.k@radency.com>
2024-11-18 12:58:26 +01:00
Iván Ovejero 124ac26e43
feat(core): Implement task timeouts and heartbeats for runners (no-changelog) (#11690)
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: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2024-11-17 16:21:28 +02:00
Tomi Turtiainen f1ca8c128b
feat(core): Add sentry for task runner (no-changelog) (#11683)
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
2024-11-15 10:35:02 +01:00
Iván Ovejero f4f0b5110c
refactor(core): Remove deprecated TIME constant (#11740) 2024-11-15 10:28:21 +01:00
कारतोफ्फेलस्क्रिप्ट™ fb123b44af
ci: Hide the github button in e2e tests (no-changelog) (#11747)
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-11-15 08:33:46 +01:00
Mutasem Aldmour fd3254d587
feat(core): Improve debugging of sub-workflows (#11602)
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-14 23:04:43 +01:00
Eugene 76262ef899
chore: Migrate test definition PK to string nanoid (no-changelog) (#11742) 2024-11-14 18:47:57 +01:00
कारतोफ्फेलस्क्रिप्ट™ 15ca2c4e45
refactor(editor): Stop cloning and serializing full execution data for executionFinished push message (#11703) 2024-11-14 17:39:46 +01:00
Eugene d9259a2d93
chore: Add description field to test definition (no-changelog) (#11691) 2024-11-14 14:45:02 +01:00
Danny Martini 3b62bd58c2
fix(core): Allow Azure's SAML metadata XML containing WS-Federation nodes to pass validation (#11724)
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <netroy@users.noreply.github.com>
2024-11-14 14:33:37 +01:00
github-actions[bot] a91abeeff5
🚀 Release 1.68.0 (#11725)
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
Co-authored-by: ShireenMissi <94372015+ShireenMissi@users.noreply.github.com>
2024-11-13 19:06:31 +01:00
Justin Ellingwood e28ec6ec01
docs: Update npm package README.md to put minimum version to v18 (no-changelog) (#11726) 2024-11-13 17:43:26 +00:00
Michael Kret ed3ad6d684
fix(n8n Form Node): Find completion page (#11674) 2024-11-13 13:44:44 +02:00
Michael Kret 94b5873248
fix(n8n Form Node): Trigger page stack in waiting if error in workflow (#11671) 2024-11-13 11:08:56 +00:00
Eugene e875bc5592
feat(core): Add internal API for test definitions (no-changelog) (#11591)
Co-authored-by: Tomi Turtiainen <10324676+tomi@users.noreply.github.com>
2024-11-12 10:28:32 +01:00
Michael Kret c08d23c00f
fix(n8n Form Trigger Node): Checkboxes different sizes (#11677)
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-11-11 17:37:21 +00:00
Iván Ovejero 4c41575098
refactor(core): Mark finished as deprecated (#11682) 2024-11-11 18:12:41 +01:00
कारतोफ्फेलस्क्रिप्ट™ 600479bf36
fix(core): Make push work for waiting webhooks (#11678) 2024-11-11 17:15:27 +01:00
Tomi Turtiainen 0fdb79a270
fix(core): Make task runner oom error message more user friendly (no-changelog) (#11646)
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-08 20:27:37 +02:00
कारतोफ्फेलस्क्रिप्ट™ fb06b55211
fix(core): Fix hot-reload that broke after chokidar upgrade (no-changelog) (#11658) 2024-11-08 16:54:06 +01:00
Iván Ovejero b496bf3147
fix(core): Ensure task runner server closes websocket connection correctly (#11633) 2024-11-08 10:09:24 +01:00
Tomi Turtiainen 0db658c6d0
perf(core): Remove unneeded execution data from runner data response (no-changelog) (#11627) 2024-11-08 09:35:18 +02:00
Danny Martini 6439291738
fix(core): Set the authentication methad to email during startup if the SAML configuration in the database has been corrupted (#11600)
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
2024-11-07 14:16:47 +01:00
Iván Ovejero 04029d82a1
fix(core): Use cached value in retrieval of personal project owner (#11533)
Co-authored-by: Danny Martini <danny@n8n.io>
2024-11-07 13:30:10 +01:00
Tomi Turtiainen d25ae8e0d9
refactor: Rename disabled to enabled in runner config (#11621) 2024-11-07 14:22:43 +02:00
Tomi Turtiainen 3111dece72
perf(core): Deduplicate task runner data request response (no-changelog) (#11583)
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
2024-11-07 11:24:00 +02:00
github-actions[bot] 3dc0904a6c
🚀 Release 1.67.0 (#11599)
Co-authored-by: RicardoE105 <16496553+RicardoE105@users.noreply.github.com>
2024-11-06 11:09:56 -05:00
Eugene 5c69ba2c44
chore: Create table and typeorm entity for test definitions (no-changelog) (#11505)
Co-authored-by: Tomi Turtiainen <10324676+tomi@users.noreply.github.com>
2024-11-06 14:35:45 +01:00
Iván Ovejero a6070afdda
fix(core): Include projectId in range query middleware (#11590) 2024-11-06 13:50:41 +01:00
Iván Ovejero ca75020821
perf(core): Load node types on demand on runners (no-changelog) (#11559) 2024-11-06 13:39:31 +01:00
Iván Ovejero befa26f89a
refactor(core): Minor improvements to pruning service (#11578)
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-11-06 13:16:23 +01:00
Iván Ovejero 19d55da4ad
test(core): Expand test coverage for pruning (#11567) 2024-11-05 18:21:56 +01:00
Tomi Turtiainen 3edecffd71
refactor: Move runner types to runner package (#11552) 2024-11-05 10:32:15 +01:00
कारतोफ्फेलस्क्रिप्ट™ 6b9353c80f
fix(core): Save exeution progress for waiting executions, even when progress saving is disabled (#11535)
Co-authored-by: Michael Kret <michael.k@radency.com>
2024-11-04 17:12:22 +01:00
Tomi Turtiainen 9355fc3578
refactor: Encapsulate task runner startup to module (#11531) 2024-11-04 16:12:29 +02:00
कारतोफ्फेलस्क्रिप्ट™ e8757e58f6
fix(core): Do not delete waiting executions when saving of successful executions is disabled (#11458) 2024-11-04 14:45:41 +01:00
Danny Martini d1153f51e8
fix(core): Don't send a executionFinished event to the browser with no run data if the execution has already been cleaned up (#11502)
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2024-11-04 13:04:22 +01:00
कारतोफ्फेलस्क्रिप्ट™ da18e1ad29
refactor(core): Extract load-options context out of NodeExecutionFunctions (no-changelog) (#11461) 2024-11-04 12:35:07 +01:00
कारतोफ्फेलस्क्रिप्ट™ 1be7de6180
refactor(core): Extract trigger context out of NodeExecutionFunctions (no-changelog) (#11453) 2024-11-04 11:13:44 +01:00
Tomi Turtiainen e4aa1d01f3
feat: Only send needed data to task runner (no-changelog) (#11487) 2024-11-04 11:13:09 +02:00
कारतोफ्फेलस्क्रिप्ट™ 2104fa1733
refactor(core): Extract poll context out of NodeExecutionFunctions (no-changelog) (#11449) 2024-11-04 09:49:52 +01:00
Iván Ovejero ce963e8824
refactor(core): Port pruning config (#11507) 2024-11-04 09:09:12 +01:00
Iván Ovejero c5191e697a
fix(core): Account for double quotes in instance base URL (#11495) 2024-11-01 15:06:25 +01:00
github-actions[bot] dd7d374185
🚀 Release 1.66.0 (#11488)
Co-authored-by: tomi <10324676+tomi@users.noreply.github.com>
2024-10-31 17:07:37 +02:00
Iván Ovejero 529d4fc3ef
fix(core): Ensure remove-triggers-and-pollers command is not debounced (#11486) 2024-10-31 15:27:15 +02:00
Tomi Turtiainen d7ba206b30
feat: Make runner concurrency configurable (no-changelog) (#11448)
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-10-29 21:08:50 +02:00
कारतोफ्फेलस्क्रिप्ट™ 60cdf0ba44
feat(editor): Allow enabling canvas v2 via instance settings (no-changelog) (#11447) 2024-10-29 14:41:10 +01:00
Tomi Turtiainen 4e3681b905
fix: Provide a better error message when task runner disconnects (no-changelog) (#11442) 2024-10-29 12:39:31 +02:00
Csaba Tuncsik 7a8dafe990
fix(core): Add 'user_id' to license-community-plus-registered telemetry event (#11430) 2024-10-29 10:45:03 +01:00
Iván Ovejero 097f93564c
refactor(core): Port security config (#11440)
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-10-29 08:52:07 +01:00
Iván Ovejero c152a3ac56
fix(core): Ensure job processor does not reprocess amended executions (#11438) 2024-10-29 08:51:55 +01:00
Tomi Turtiainen d4c4db823e
feat: Forward logs from task runner to logger (no-changelog) (#11422) 2024-10-28 15:44:03 +01:00
Tomi Turtiainen c56f30ce15
feat: N8N_RUNNERS_MAX_OLD_SPACE_SIZE configuration (no-changelog) (#11419) 2024-10-28 16:14:38 +02:00
Iván Ovejero 12d218ea38
refactor(core): Port license config (#11428) 2024-10-28 10:52:31 +01:00
Tomi Turtiainen d6aaeea2ab
fix: Load sentry for task runner server only if configured (no-changelog) (#11420) 2024-10-25 17:52:39 +03:00
Michael Kret 151f4dd7b8
fix(n8n Form Node): Form Trigger does not wait in multi-form mode (#11404) 2024-10-25 11:49:36 +01:00
Danny Martini 7fc3b25d21
fix(core): Fix Message Event Bus Metrics not counting up for labeled metrics (#11396) 2024-10-25 10:24:39 +02:00
कारतोफ्फेलस्क्रिप्ट™ 8608baeb7e
fix(core): On unhandled rejections, extract the original exception correctly (#11389) 2024-10-24 20:02:05 +02:00
Marc Littlemore 8201d322dd
feat: Add active workflow triggers metric (no-changelog) (#11398) 2024-10-24 17:27:56 +01:00
कारतोफ्फेलस्क्रिप्ट™ ed30d43236
fix(core): Make execution and its data creation atomic (#11392)
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-10-24 16:07:26 +02:00
Iván Ovejero 656439e871
fix(core): Add safeguard for command publishing (#11337) 2024-10-24 13:22:28 +02:00
Iván Ovejero f4ea943c9c
fix(core): Ensure LoggerProxy is not scoped (#11379) 2024-10-24 12:53:34 +02:00
github-actions[bot] 247bcc16c8
🚀 Release 1.65.0 (#11386)
Co-authored-by: cstuncsik <5410822+cstuncsik@users.noreply.github.com>
2024-10-24 12:29:51 +02:00
Iván Ovejero 88c1c4ad7b
refactor(core): Add external secrets log scope (#11224) 2024-10-24 11:37:19 +02:00
Shireen Missi 7a71cff4d7
fix(core): Change dedupe value column type from varchar(255) to text (#11357)
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-10-23 14:16:48 +01:00
कारतोफ्फेलस्क्रिप्ट™ 96219486dc
ci: Use tsc-watch across all backend packages (no-changelog) (#11364) 2024-10-23 14:39:44 +02:00
Danny Martini e6b2f8e7e6
fix(API): PUT /credentials/:id should move the specified credential, not the first one in the database (#11365) 2024-10-23 14:21:11 +02:00
Tomi Turtiainen f414e90993
refactor: Clean task runner code (#11368) 2024-10-23 14:34:08 +03:00
Val 74fc3889b9
fix(core): Sanitise IdP provided information in SAML test pages (#11171)
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2024-10-23 13:22:15 +02:00
Val 5390061f49
fix: Add config for max task runners payload size (no-changelog) (#11366) 2024-10-23 11:53:21 +01:00
Iván Ovejero 4f1816e03d
fix(core): Fix race condition when resolving post-execute promise (#11360) 2024-10-23 11:56:22 +02:00
Tomi Turtiainen c078a516be
feat(core): Enforce config file permissions on startup (#11328)
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <netroy@users.noreply.github.com>
2024-10-23 12:54:53 +03:00
Ricardo Espinoza e4218debd1
fix: Resend invite operation on users list (#11351)
Co-authored-by: Danny Martini <danny@n8n.io>
2024-10-23 10:23:28 +02:00
Iván Ovejero f4958756b4
fix(API): Correct credential schema for response in POST /credentials (#11340) 2024-10-23 09:18:50 +02:00
Iván Ovejero fb3518fcb8
chore(core): Stop reporting to Sentry execution cancellations (#11347) 2024-10-22 17:27:07 +02:00
Iván Ovejero 43f31b86aa
refactor(core): Support multiple log scopes (#11318) 2024-10-22 17:20:14 +02:00
Iván Ovejero c863abd083
fix(core): Account for waiting jobs during shutdown (#11338) 2024-10-22 17:11:53 +02:00
Val cade9b2d91
feat: Add proper INodeTypes polyfill for Task Runner (no-changelog) (#11333) 2024-10-22 15:19:32 +01:00
Tomi Turtiainen 8404282046
feat: Enable running task runners externally (no-changelog) (#11319) 2024-10-22 16:23:59 +03:00
कारतोफ्फेलस्क्रिप्ट™ 0fa2e8ca85
fix(core): Enforce nodejs version consistently (#11323)
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-10-21 17:41:56 +02:00
Iván Ovejero 3c93ec88cd
refactor(core): Port generic config (#11316) 2024-10-21 12:57:37 +02:00
Csaba Tuncsik 76724c3be6
fix(editor): Open Community+ enrollment modal only for the instance owner (#11292) 2024-10-21 10:02:18 +02:00
Eugene b4b543d41d
fix(core): Add missing primary key to execution annotation tags table (#11168) 2024-10-18 15:06:15 +02:00
Iván Ovejero 64bddf8653
fix(core): Do not debounce webhooks, triggers and pollers activation (#11306) 2024-10-18 12:24:32 +02:00
Ricardo Espinoza 679fa4a10a
feat(core): introduce JWT API keys for the public API (#11005) 2024-10-18 12:06:44 +02:00