Commit Graph

12 Commits

Author SHA1 Message Date
Iván Ovejero
c229e915ea refactor(core): Move Logger to @n8n/backend-common (#15721) 2025-05-30 12:57:47 +02:00
Jaakko Husso
3a13139f78 feat(core): Change workflow deletions to soft deletes (#14894)
Adds soft‑deletion support for workflows through a new boolean column `isArchived`.

When a workflow is archived we now set `isArchived` flag to true and the workflows
stays in the database and is omitted from the default workflow listing query.

Archived workflows can be viewed in read-only mode, but they cannot be activated.

Archived workflows are still available by ID and can be invoked as sub-executions,
so existing Execute Workflow nodes continue to work. Execution engine doesn't
care about isArchived flag.

Users can restore workflows via Unarchive action at the UI.
2025-05-06 17:48:24 +03:00
Iván Ovejero
ade546fb48 refactor(core): Move first batch of repositories to @n8n/db (#15130) 2025-05-06 11:22:43 +02:00
Iván Ovejero
20834abb56 refactor(core): Move interrelated entities to @n8n/db (#15050) 2025-05-02 12:19:32 +02:00
कारतोफ्फेलस्क्रिप्ट™
2ca742cb15 refactor(core): Migrate binary-data config to a decorated config class (#14616) 2025-04-15 10:32:38 +02:00
कारतोफ्फेलस्क्रिप्ट™
9ba58ca80b refactor(core): Persist node execution order, and forward it to the frontend (#14455) 2025-04-09 10:19:58 +02:00
कारतोफ्फेलस्क्रिप्ट™
f41e353887 fix(core): Ensure that 'workflow-post-execute' event has userId whenever it's available (#13326) 2025-02-18 10:23:57 +01:00
कारतोफ्फेलस्क्रिप्ट™
d41ca832dc refactor(core): Move ExecutionLifecycleHooks to core (#13042) 2025-02-07 18:16:37 +01:00
कारतोफ्फेलस्क्रिप्ट™
1593b6cb41 fix(core): Do not emit workflow-post-execute event for waiting executions (#13065) 2025-02-06 13:37:13 +01:00
कारतोफ्फेलस्क्रिप्ट™
65ec6ae0c8 refactor(core): Consolidate execution lifecycle hooks even more + additional tests (#12898) 2025-02-04 10:17:44 +01:00
कारतोफ्फेलस्क्रिप्ट™
69a97bd32d refactor(core): Move all execution lifecycle telemetry events to lifecycle hooks (no-changelog) (#12816) 2025-01-28 13:45:30 +01:00
कारतोफ्फेलस्क्रिप्ट™
ee08e9e1fe refactor(core): Extract hooks out of workflow-execute-additional-data (no-changelog) (#12749) 2025-01-21 14:47:02 +01:00