Commit Graph
36 Commits
Author SHA1 Message Date
Tomi Turtiainen 8e15e092e3 refactor(core): Move Result and ensureError into @n8n/utils (no-changelog) (#33375) 2026-07-02 07:46:18 +00:00
Matsu df189711ee test: Migrate nodes-base from Jest to Vitest (#31564) 2026-06-16 08:57:00 +00:00
Andreas Fitzek e721119034 feat(core): Add inbound secret module with runtime credential accessor (no-changelog) (#30326) 2026-05-20 16:21:55 +00:00
d832ffe763 refactor(core): Remove TaskRunnersConfig.enabled since runners are always on (#25834)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Danny Martini <danny@n8n.io>
2026-03-04 09:55:08 +00:00
Tomi Turtiainen 974426263b refactor(core): Use task runner for sort operations (#24910) 2026-02-02 10:26:57 +00:00
Iván Ovejero f72fdc0b14 fix(core): Route both Python options to the native Python runner (#24511) 2026-01-19 09:23:36 +00:00
Declan Carroll 71a6bd2311 fix: Unfork @n8n/vm2 (#24509) 2026-01-19 09:11:24 +00:00
Iván Ovejero c7fed98563 fix(core): Validate missing code param in Code node (#23405) 2025-12-22 17:29:52 +01:00
Iván Ovejero 763b858548 feat(core): Introduce native Python code tool for AI agent (#22595) 2025-12-03 10:34:30 +01:00
Iván Ovejero 2224647fa6 fix(core): Fix normalization in per-item mode in native Python runner (#20750) 2025-10-14 14:23:21 +02: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 4cf9399432 refactor(core): Move ApplicationError to @n8n/errors (#17667) 2025-07-28 17:48:56 +02:00
Michael Kret 8f9ce72dc4 fix(Code Node): Error formatting fix (#16719) 2025-06-27 12:18:26 +03:00
Eugene a0a4476175 chore: Rename Test workflow -> Execute workflow (#15112) 2025-05-13 09:35:41 +02:00
कारतोफ्फेलस्क्रिप्ट™ 979f9e6327 refactor: Overhaul nodes-testing setup - Part 3 (no-changelog) (#14967) 2025-04-29 17:42:21 +02:00
कारतोफ्फेलस्क्रिप्ट™ 91069f057e refactor: Overhaul nodes-testing setup - Part 2 (no-changelog) (#14873) 2025-04-24 17:37:26 +02:00
कारतोफ्फेलस्क्रिप्ट™ dbb9475b7b refactor(core): Remove NodeExecutionOutput. Add execution hints directly to the context (#13111) 2025-02-10 16:51:01 +01:00
Ricardo Espinoza cdfa22593b fix(Code Node): Do not validate code within comments (#12938) 2025-01-30 09:44:35 -05: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
कारतोफ्फेलस्क्रिप्ट™ bafac73eb5 refactor: Impose import/order linting rule across nodes packages (no-changelog) (#12314) 2024-12-19 18:46:14 +01:00
Michael KretandShireen Missi 3a5bd12945 feat(Code Node): Warning if pairedItem absent or could not be auto mapped (#11737)
Co-authored-by: Shireen Missi <shireen@n8n.io>
2024-11-27 16:31:36 +00:00
Tomi TurtiainenandIván Ovejero 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
कारतोफ्फेलस्क्रिप्ट™ 7e95f9e2e4 fix(core): VM2 sandbox should not throw on new Promise (#10298) 2024-08-06 15:16:33 +02:00
Michael Kret e2dd000d13 fix: Prevent errors processed by n8n to be flagged as internal (no-changelog) (#10023) 2024-07-12 11:13:17 +03:00
कारतोफ्फेलस्क्रिप्ट™ 2bdc459bb2 refactor(core): Fix type errors in workflow, core, nodes-langchain, and nodes-base (no-changelog) (#9450) 2024-05-22 17:40:52 +02:00
Iván OvejeroandMichael Kret e77fd5d286 refactor: Switch plain errors in nodes-base to ApplicationError (no-changelog) (#7914)
Ensure all errors in `nodes-base` are `ApplicationError` or children of
it and contain no variables in the message, to continue normalizing all
the backend errors we report to Sentry. Also, skip reporting to Sentry
errors from user input and from external APIs. In future we should
refine `ApplicationError` to more specific errors.

Follow-up to: [#7877](https://github.com/n8n-io/n8n/pull/7877)

- [x] Test workflows:
https://github.com/n8n-io/n8n/actions/runs/7084627970
- [x] e2e: https://github.com/n8n-io/n8n/actions/runs/7084936861

---------

Co-authored-by: Michael Kret <michael.k@radency.com>
2023-12-05 11:17:08 +01:00
Iván Ovejero 62c096710f refactor: Run lintfix (no-changelog) (#7537)
- Fix autofixable violations
- Remove unused directives
- Allow for PascalCased variables - needed for dynamically imported or
assigned classes, decorators, routers, etc.
2023-10-27 14:15:02 +02:00
Iván Ovejeroandकारतोफ्फेलस्क्रिप्ट™ 6d6e2488c6 refactor(core): Generalize binary data manager interface (no-changelog) (#7164)
Depends on: #7092 | Story:
[PAY-768](https://linear.app/n8n/issue/PAY-768)

This PR: 
- Generalizes the `IBinaryDataManager` interface.
- Adjusts `Filesystem.ts` to satisfy the interface.
- Sets up an S3 client stub to be filled in in the next PR.
- Turns `BinaryDataManager` into an injectable service.
- Adjusts the config schema and adds new validators.

Note that the PR looks large but all the main changes are in
`packages/core/src/binaryData`.

Out of scope:
- `BinaryDataManager` (now `BinaryDataService`) and `Filesystem.ts` (now
`fs.client.ts`) were slightly refactored for maintainability, but fully
overhauling them is **not** the focus of this PR, which is meant to
clear the way for the S3 implementation. Future improvements for these
two should include setting up a backwards-compatible dir structure that
makes it easier to locate binary data files to delete, removing
duplication, simplifying cloning methods, using integers for binary data
size instead of `prettyBytes()`, writing tests for existing binary data
logic, etc.

---------

Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2023-09-22 17:22:12 +02:00
कारतोफ्फेलस्क्रिप्ट™ dfe0fa65f8 fix(Code Node): Switch over to vm2 fork (#7018)
[Fork is here](https://github.com/n8n-io/vm2). Currently there are no
modifications in it.
2023-08-30 11:17:04 +02:00
कारतोफ्फेलस्क्रिप्ट™andMarcus f718c2291f fix(Code Node): Consistent redirection of stdout for JS and Python sandboxes (#6818)
Co-authored-by: Marcus <marcus@n8n.io>
2023-08-01 17:47:43 +02:00
कारतोफ्फेलस्क्रिप्ट™ e57e85edf7 refactor: Delete unnecessary interface re-exports from core, and delete unused code in nodes-base (no-changelog) (#6631) 2023-07-12 11:15:38 +02:00
कारतोफ्फेलस्क्रिप्ट™ 54e3838dae fix(Code Node): Fix item and items alias regression (#6331) 2023-05-30 12:56:55 +02:00
Jan Oberhauser 35c8510ab6 feat(Code Node): Add Python support (#4295) 2023-05-04 20:00:00 +02:00
कारतोफ्फेलस्क्रिप्ट™ f9b3aeac44 refactor(Code Node): Constently handle various kinds of data returned by user code (#6002) 2023-04-19 13:09:46 +02:00
Marcus 3e2d76ec79 test(Code Node): Unit tests (no-changelog) (#5373)
* ⚡ test setup

* ⚡️basic test with run once for all and each items

* 🎨 fix linting error

* ⚡️update to new Helper.setup(tests)

* ⚡ migrate tests to pin data approach
2023-02-09 13:56:39 +01:00