Commit Graph

4669 Commits

Author SHA1 Message Date
Charlie Kolb
e5f56a77bb
refactor(core): Move the response errors into @n8n/backend-services (no-changelog)
Move the generic ResponseError hierarchy (BadRequestError, NotFoundError,
ForbiddenError, ...) into @n8n/backend-services and point every cli
import at the package root. 29 backend modules import these classes.

Feature-specific response errors (MFA codes, license EULA, credential
and workflow transfer, webhook not found, workflow activation and
validation) stay in cli next to the code that throws them. They extend
the generic classes from the package. WorkflowPublishBlockedError moves
because three modules import it.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-16 10:25:06 +02:00
Charlie Kolb
1a77db5341
build(core): Add the @n8n/backend-services package (no-changelog)
Backend modules cannot move out of cli while they import cli-internal
paths. @n8n/backend-services is the package for the backend services
that many modules share. It sits above @n8n/db and below n8n. This
commit adds the empty package with its build, lint and test setup. The
next commits move the shared services into it one area at a time.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-16 10:24:43 +02:00
n8n-release-tag-merge[bot]
66a8f2046b Merge tag 'n8n@2.40.0' 2026-09-15 10:15:08 +00:00
n8n-assistant[bot]
caff5b7013
🚀 Release 2.40.0 (#38711)
Co-authored-by: Matsuuu <16068444+Matsuuu@users.noreply.github.com>
2026-09-15 13:02:15 +03:00
n8n-cat-bot[bot]
40dfde5b4c
chore: Replace corepack with npm i -g pnpm in benchmark Dockerfile (#38226)
Co-authored-by: n8n-cat-bot[bot] <n8n-cat-bot[bot]@users.noreply.github.com>
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
Co-authored-by: Charlie Kolb <charlie@n8n.io>
2026-09-15 09:32:33 +00:00
Raúl Gómez Morales
4e1fcf6eac
fix(core): Prefer native nodes over Code nodes in n8n Assistant workflow builds (#38598) 2026-09-15 08:27:22 +00:00
Eugene
7efefc7347
feat(editor): Show background tasks in the agent preview (#38360) 2026-09-15 07:35:56 +00:00
Riqwan Thamir
cb55ecce7f
feat(core): Add option to disable mid-run observation for Instance AI (no-changelog) (#38664)
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-15 07:32:34 +00:00
Charlie Kolb
7e1100d73f
ci: Run knip in the PR quality checks (no-changelog) (#38610)
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-15 07:20:10 +00:00
Arvin A
8bff5da5a2
feat: Add the AI preferences API and the Context settings UI (no-changelog) (#38213)
Co-authored-by: Svetoslav Dekov <svetoslav.dekov@n8n.io>
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-14 18:56:45 +00:00
Ricardo Espinoza
c7c179b818
fix(core): Correct the expression prefix warnings on fields that cannot hold an expression (#37791) 2026-09-14 18:49:35 +00:00
Pierantonio Cangianiello
bb9556b9d5
feat(engine): Add the data plane credentials helper that resolves credentials through the control plane (no-changelog) (#38443)
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-14 15:13:43 +00:00
Konstantin Tieber
c70e754d4c
feat(core): Include reportTime and lastSuccessfulReport of instance-reporting in module-settings endpoint (no-changelog) (#38458)
Co-authored-by: Sam Wooler <swooler592@gmail.com>
2026-09-14 14:29:30 +00:00
Sam Wooler
6307a5aaf1
refactor(API): Migrate DELETE /credentials/{credentialId} and PUT /credentials/{credentialId}/transfer to the decorator pattern (#38454)
Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-14 14:28:25 +00:00
Tuukka Kantola
c979296d6c
feat(editor): Add paginated AI Assistant chat history (#38467)
Co-authored-by: r00gm <raul00gm@gmail.com>
2026-09-14 14:01:07 +00:00
n8n-cat-bot[bot]
f886fff9fd
refactor(API): Migrate GET /tags/{id} to the decorator pattern (no-changelog) (#38468)
Co-authored-by: n8n-cat-bot[bot] <n8n-cat-bot[bot]@users.noreply.github.com>
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
Co-authored-by: Uddish Verma <uddish.verma@n8n.io>
2026-09-14 13:52:37 +00:00
Jaakko Husso
7b10a16ca4
feat(core): Tell Instance AI when a verified draft is not the live workflow (#38289)
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-14 13:47:19 +00:00
Charlie Kolb
737d66eeb3
build: Remove unused dependencies reported by knip (no-changelog) (#38591)
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-14 13:22:42 +00:00
Michael Drury
684b930fa6
feat(core): Improve Agent Builder evaluation and intent routing (#38329) 2026-09-14 13:13:51 +00:00
Svetoslav Dekov
28592bc7a9
feat(core): Inject AI preferences into the Instance AI opening turn (no-changelog) (#38206)
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-14 12:49:40 +00:00
Yen Su
7db4dcf130
feat(core): Append the MCP registry attribution to standalone agent replies (#38584)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-09-14 12:33:40 +00:00
n8n-cat-bot[bot]
d58c7db803
refactor(API): Migrate POST /tags to the decorator pattern (no-changelog) (#38472)
Co-authored-by: n8n-cat-bot[bot] <n8n-cat-bot[bot]@users.noreply.github.com>
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
Co-authored-by: Uddish Verma <uddish.verma@n8n.io>
2026-09-14 12:30:14 +00:00
Matsu
6ab84e8d7b
build: Migrate base eslint rules to oxlint (#38605) 2026-09-14 12:19:07 +00:00
Veljko Terzic
53cbe9700d
fix(core): Clear the scheduled task error message when a retried occurrence succeeds (no-changelog) (#38604) 2026-09-14 12:15:10 +00:00
Stephen Wright
59c7d15a60
feat(Azure Storage Node): Add Azure cloud selection and custom endpoints to the Shared Key credential (#38181) 2026-09-14 10:45:55 +00:00
Robin Braumann
2f55165c11
fix(core): Send a JSON Accept header in the Brave Search credential test (#38594)
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-14 10:25:54 +00:00
James Gee
82d284f547
feat(core): Add project promotion change preview (no-changelog) (#38361)
Co-authored-by: Jan K. <jan.kalkan@n8n.io>
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-14 10:13:36 +00:00
Andreas Fitzek
016ce8ba1b
feat(core): Add email change confirmation flow (no-changelog) (#37950)
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-09-14 10:10:00 +00:00
Markus Corazzione
0396ef8894
fix(Guardrails Node): Align threshold hint with behavior (#29018)
Co-authored-by: yehorkardash <yehor.kardash@n8n.io>
2026-09-14 09:01:39 +00:00
Sam Wooler
e9860b34e1
refactor(API): Migrate POST /credentials and PATCH /credentials/{id} to the decorator pattern (no-changelog) (#37985) 2026-09-14 08:42:00 +00:00
Danny Martini
3d23aaddcd
feat(core): Generalize QuickJS Intl host delegation (no-changelog) (#37213)
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-authored-by: Luigi Gubello <luigi.gubello@n8n.io>
Co-authored-by: Luigi Gubello <27034386+luigigubello@users.noreply.github.com>
2026-09-14 08:08:17 +00:00
Matsu
4cda10ebc6
build: Initialize n8n-oxlint config (#38565)
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
2026-09-14 07:55:26 +00:00
Miguel Ángel Moreno
8b6885433e
feat(core): Refuse an ungrouped Instance AI build over the top-level ceiling (no-changelog) (#38235)
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-14 07:33:55 +00:00
Guillaume Jacquart
1020dfd188
feat(core): Add node type policy telemetry events (no-changelog) (#38331)
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-14 07:26:52 +00:00
Danny Martini
ac3e312fa0
refactor(core): Extract shared host functions from the expression bridges (no-changelog) (#37158)
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-authored-by: Luigi Gubello <luigi.gubello@n8n.io>
2026-09-14 06:58:45 +00:00
Alex Grozav
9da3b7479f
refactor(editor): Add defineFrontendModule() and make it the canonical descriptor form (no-changelog) (#38464)
Some checks are pending
CI: Master (Build, Test, Lint) / Build for Github Cache (push) Waiting to run
CI: Master (Build, Test, Lint) / Unit tests (24.18.1) (push) Waiting to run
CI: Master (Build, Test, Lint) / Unit tests (26.5.1) (push) Waiting to run
CI: Master (Build, Test, Lint) / Lint (push) Waiting to run
CI: Master (Build, Test, Lint) / Performance (push) Waiting to run
CI: Master (Build, Test, Lint) / Verify single-instance deps (npm-install) (push) Waiting to run
CI: Master (Build, Test, Lint) / Notify Slack on failure (push) Blocked by required conditions
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
2026-09-12 16:34:08 +00:00
Robin Braumann
072f4960f0
feat(core): Share integration threads across participants (#38461)
Some checks are pending
CI: Master (Build, Test, Lint) / Build for Github Cache (push) Waiting to run
CI: Master (Build, Test, Lint) / Unit tests (24.18.1) (push) Waiting to run
CI: Master (Build, Test, Lint) / Unit tests (26.5.1) (push) Waiting to run
CI: Master (Build, Test, Lint) / Lint (push) Waiting to run
CI: Master (Build, Test, Lint) / Performance (push) Waiting to run
CI: Master (Build, Test, Lint) / Verify single-instance deps (npm-install) (push) Waiting to run
CI: Master (Build, Test, Lint) / Notify Slack on failure (push) Blocked by required conditions
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-12 05:14:33 +00:00
Rúben Castro
f7f92c7107
feat(API): Add node type policy instance and project endpoints (no-changelog) (#38239)
Some checks failed
CI: Master (Build, Test, Lint) / Build for Github Cache (push) Waiting to run
CI: Master (Build, Test, Lint) / Unit tests (24.18.1) (push) Waiting to run
CI: Master (Build, Test, Lint) / Unit tests (26.5.1) (push) Waiting to run
CI: Master (Build, Test, Lint) / Lint (push) Waiting to run
CI: Master (Build, Test, Lint) / Performance (push) Waiting to run
CI: Master (Build, Test, Lint) / Verify single-instance deps (npm-install) (push) Waiting to run
CI: Master (Build, Test, Lint) / Notify Slack on failure (push) Blocked by required conditions
Util: Publish API Schema / Cloudflare Pages (push) Has been cancelled
Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-11 16:57:33 +00:00
Roman Makowiak
4579e78071
fix(core): Read the Instance AI folder-exploration flag as a variant, not a boolean (#38479)
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-11 16:23:35 +00:00
n8n-cat-bot[bot]
d1ea14cea6
chore: Move the triplicated defineField into the extensions utils.ts (#38485)
Co-authored-by: n8n-cat-bot[bot] <n8n-cat-bot[bot]@users.noreply.github.com>
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
2026-09-11 15:11:18 +00:00
Luka Zivkovic
70e5a2bf16
feat: Export structured agent artifacts in eval results (#38394) 2026-09-11 15:11:02 +00:00
Yen Su
13b8f22fd0
feat(Databricks Node): Append a per-row MCP registry attribution to the agent reply (#38306)
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-11 14:46:48 +00:00
n8n-cat-bot[bot]
ce58a153c8
refactor(API): Migrate the variables write routes to @PublicApiController (#38313)
Co-authored-by: n8n-cat-bot[bot] <n8n-cat-bot[bot]@users.noreply.github.com>
Co-authored-by: Uddish Verma <uddish.verma@n8n.io>
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
2026-09-11 14:26:49 +00:00
Mutasem Aldmour
3bd0e699bf
fix(core): Redact opaque field values in confirmed secret containers (#38067)
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-11 13:15:19 +00:00
Uddish Verma
697b538c95
refactor(API): Migrate the project member routes to the decorator pattern (no-changelog) (#37979)
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-11 13:01:51 +00:00
Mike Repeć
357b2a03d9
feat(core): Acquire expression isolates lazily on first engine evaluation (no-changelog) (#37614)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-09-11 12:02:19 +00:00
Miguel Ángel Moreno
f8876ae2ff
feat(core): Improve node grouping instructions for AI Assistant and MCP (no-changelog) (#37729)
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-11 11:53:43 +00:00
Raúl Gómez Morales
e44fbd358a
fix(core): Return Instance AI node output grouped per output branch (#38414) 2026-09-11 11:51:35 +00:00
Andreas Fitzek
840aef623e
fix(core): Redact execution data on partial private-credential runs (#38364) 2026-09-11 11:24:54 +00:00
Chisa Kotegawa
a48373d9c0
fix(core): Select the OpenAI API for custom endpoints (no-changelog) (#38012) 2026-09-11 11:02:03 +00:00