Commit Graph

747 Commits

Author SHA1 Message Date
Robin Braumann
04805d2203
feat(core): Add agent session lease table (no-changelog)
Add the agent_session_lease table with one row for each agent session.
A turn will take the lease in the transaction that records its execution,
so that only one turn runs on a session at a time.

The row keeps its epoch after release and after session deletion, so the
epoch of a thread ID only increases.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-23 11:56:07 +02:00
Kai
8012f017bc
feat(API): Create projects with source IDs and package metadata (#39218) 2026-09-22 16:41:52 +00:00
ocdejong
5131af5ab7
feat(core): Report crashed executions to OTel through an execution-crashed event (#38853)
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-22 15:36:32 +00:00
Matsu
196ed7f450
refactor(core): Enforce persistence boundaries in code (no-changelog) (#39170) 2026-09-22 13:14:00 +03:00
Robin Braumann
5ba266db25
feat(core): Scope agent preview sessions to their owner (#39100) 2026-09-22 09:22:44 +00:00
n8n-assistant[bot]
669a65ade5
🚀 Release 2.41.0 (#39228)
Co-authored-by: n8n-release-helper[bot] <265227495+n8n-release-helper[bot]@users.noreply.github.com>
2026-09-22 07:18:44 +00:00
Andreas Fitzek
32aa4629de
refactor: Add DB error predicates and drop TypeORM imports from execution and credential services (#38940) 2026-09-22 05:30:05 +00:00
Guillaume Jacquart
b35d946929
feat(core): Add the credentialSave policy enforcement point (no-changelog) (#39099)
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-21 19:44:58 +00:00
Konstantin Tieber
4faeb001ba
feat(core): Support disabling certain permission scopes in personal space for canvas only (no-changelog) (#38858)
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-21 16:07:42 +00:00
Veljko Terzic
40ec259ccd
feat(core): Lock insights compaction batches across instances (no-changelog) (#39186) 2026-09-21 14:16:38 +00:00
Arvin A
bd454d403d
fix(core): Correct the instance-context read surface (no-changelog) (#38815) 2026-09-21 14:15:43 +00:00
Robin Braumann
40ed55b37f
fix(core): Shorten checkpoint migration index name (no-changelog) (#39184) 2026-09-21 13:51:14 +00:00
Savelii
f0325776c1
feat(core): Add view and delete permissions for executions to project roles (#38698)
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-21 13:21:59 +00:00
Robin Braumann
82b40c3218
refactor(core): Centralize agent conversation state checks (no-changelog) (#39038) 2026-09-21 10:55:17 +00:00
Dimitri Lavrenük
2d56eee224
feat: Add standalone node execution as a Workflow Builder and AI Assistant tool (#37512)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Co-authored-by: Jaakko Husso <jaakko@n8n.io>
2026-09-18 12:46:14 +00:00
Andreas Fitzek
b3b5939ef9
perf(core): Stop loading project members when listing credentials (#39068) 2026-09-18 12:30:06 +00:00
Kai
85b3be3526
feat(API): Allow credential creation with source IDs (#38791) 2026-09-18 11:08:47 +00:00
Arvin A
33def0e800
feat(core): Add a description field to credentials (no-changelog) (#38839) 2026-09-17 13:16:34 +00:00
Arvin A
ba16e4f08d
feat(core): Give MCP clients the opening instance context (no-changelog) (#38292) 2026-09-17 13:16:10 +00:00
Roman Makowiak
fe1012d75f
feat(core): Add the foundations for assistant-written preferences (no-changelog) (#38829)
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-17 11:53:09 +00:00
Arvin A
1d029046f8
feat(core): Add the instance-context read tools to the MCP server (no-changelog) (#38241)
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-16 15:15:20 +00:00
n8n-cat-bot[bot]
7867844fbb
chore: Migrate GET /api/v1/folders to @PublicApiController + Zod (#38620)
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: Ali Elkhateeb <ali.elkhateeb@n8n.io>
2026-09-16 13:42:04 +00:00
Tomi Turtiainen
9b66a2bbfa
feat(engine): Read executions from the data plane and merge with the DB (#38110) 2026-09-16 10:45:58 +00:00
Kai
62ff356566
feat(core): Add promotion binding preflight with creation context (#38657) 2026-09-16 09:42:20 +00:00
Charlie Kolb
d3c8eee07e
fix(core): Include sub-workflow tool calls in the workflow dependency index (#38062)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-09-16 07:34:49 +00:00
Tomi Turtiainen
415fbdef9d
refactor(core): Connect cursor pagination end-to-end and drop unused range fields (#38070) 2026-09-16 07:13:29 +00:00
Veljko Terzic
e56b2a7654
feat(core): Skip an in-memory system task run when its durable job is provisioned (no-changelog) (#38459)
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-15 14:03:34 +00:00
Veljko Terzic
37176addee
feat(core): Deprovision stale durable system task jobs at boot (no-changelog) (#38445) 2026-09-15 13:29:51 +00:00
Anne Aguirre
48445f5b9e
fix(core): Sweep parents parked on a finished sub-execution (#37553)
Co-authored-by: Emilia <100027345+sovietspaceship@users.noreply.github.com>
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
2026-09-15 12:17:14 +00:00
Veljko Terzic
2fb19eb06a
feat(core): Provision durable jobs for system tasks (no-changelog) (#37759) 2026-09-15 12:11:25 +00:00
Rúben Castro
d61003c395
feat(API): Add node type policy document and attachment endpoints (no-changelog) (#38229)
Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-15 10:44:03 +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
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
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
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
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
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
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
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
Andreas Fitzek
840aef623e
fix(core): Redact execution data on partial private-credential runs (#38364) 2026-09-11 11:24:54 +00:00
Matsu
3454df1c1b
chore: Remove dead ESLint config and add lint parity tooling (no-changelog) (#38343)
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
2026-09-11 13:33:07 +03:00
Robin Braumann
5de6a4071a
feat(core): Add agent-directed episodic memory capture (#38134)
Co-authored-by: Michael Drury <michael.drury@n8n.io>
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-11 05:03:28 +00:00
Charlie Kolb
9648611b47
test(core): Assert the Postgres teardown timeout path without a long wait (#38369)
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-10 16:03:01 +00:00
Pierantonio Cangianiello
25d5fd974c
refactor(core): Expose the credential access check by id and narrow the global credential query (no-changelog) (#38251) 2026-09-10 15:27:28 +00:00
Matsu
7be94a1184
chore: Update eslint configuration (#38307)
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-10 14:40:35 +03:00
Svetoslav Dekov
1cfd0959e3
feat(core): Add the shared AI preference repository and resolver service (no-changelog) (#38174)
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
Co-authored-by: Roman Makowiak <roman.makowiak@n8n.io>
2026-09-10 09:59:30 +00:00
Svetoslav Dekov
cf8df4fa6c
feat(core): Add ai_preference table for AI preferences (#38131)
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-10 05:22:31 +00:00
Eugene
404d5870dd
feat(core): Schedule agent tasks via the durable scheduler behind a flag (no-changelog) (#37849)
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
Co-authored-by: Robin Braumann <robin.braumann@n8n.io>
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-09 12:29:02 +00:00
Kai
179dbb35b6
feat(core): Move promotions services and API to the new model (#37965) 2026-09-09 11:19:56 +00:00
Kai
e77b7bb12f
feat(core): Add promotion schema entities and DTOs (#37939) 2026-09-09 07:17:09 +00:00