Automation
n8n 3.4.1 & 3.5.0: Breaking Changes, Docker Rules & Production Upgrade Guide
With n8n 3.5.0 entering pre-release on December 1, 2026 alongside 3.4.1 stable, self-hosted automation teams face a one-way database migration. n8n 3.x drops npm/npx hosting, cuts task runner timeouts from 300s to 60s, and removes over 20 legacy nodes. Here is what changed, what breaks, and how to upgrade safely.
8 min read
n8n 3.4.1 & 3.5.0: Breaking Changes, Docker Rules & Production Upgrade Guide
Executive Summary
- Release status (November–December 2026): n8n 3.4.1 is the current
stablerelease (November 26, 2026), building on n8n 3.4 (November 24, 2026), whilen8n@3.5.0entered pre-release on December 1, 2026 alongside2.xmaintenance builds (2.49.9and2.50.5on November 30, 2026). - Mandatory runtime & deployment shift: Self-hosted n8n 3.x requires Docker-based deployment—
npmandnpx n8ninstallations are no longer supported or published, and database migrations are one-way. - Stricter security & execution defaults: Task runner timeouts drop from
300seconds to60seconds, unverified community npm packages default to disabled (false), Slack triggers require a signing secret, and SSRF protection blocks four additional IP ranges. - High-impact node removals & upgrades: Over
20legacy nodes (Function,Function Item,Item Lists,Cron,Interval,Read PDF,AI Transform,LangChain Code) and$getPairedItemare removed, while PostgresCOPYbulk inserts and keyset pagination land in3.4.
What Changed / Core Mechanism
Moving from the 2.x branch to 3.x is not an in-place minor bump. As documented in the n8n v3.0 Breaking Changes specification and tracked in AyAutomate's n8n 3.0 Upgrade Guide, n8n 3.x strips legacy execution engines, enforces container isolation, and tightens default resource bounds before workflows can activate.
Upgrade & Runtime Decision Flow
flowchart TD
A[Existing n8n 2.x Instance] --> B[Update to Latest 2.x & Open Migration Report]
B --> C{npm or Docker?}
C -->|npm / npx| D[Migrate to Docker Compose + Postgres]
C -->|Docker| E[Check Volume: ~/.n8n/binaryData -> ~/.n8n/storage]
D --> F[Resolve Removed Nodes, $getPairedItem & Slack Secrets]
E --> F
F --> G[Verify Timeout: N8N_RUNNERS_TASK_TIMEOUT >= needed]
G --> H[Full DB Backup + Test Staging Upgrade]
H --> I[Deploy n8n 3.4.1 Stable / 3.5.0]1. Docker-Only Self-Hosting & Storage Path Migration
Self-hosted n8n 3.x no longer publishes a runnable n8n package to npm. Community node development via n8n-node dev also switches from npx n8n@latest to running the official container image (docker.n8n.io/n8nio/n8n:<version>) with per-image volumes (n8n-node-cli-data-<image>).
On first boot, n8n 3.x automatically renames ~/.n8n/binaryData to ~/.n8n/storage and removes N8N_MIGRATE_FS_STORAGE_PATH. Startup fails with an error if both directories exist—a safeguard against silent data split. Additionally, N8N_DEFAULT_BINARY_DATA_MODE=default (in-memory binary mode) is removed; instances still using it switch to filesystem automatically.
2. Removed Nodes, Legacy AI Modes & Expression Helpers
Workflows containing removed nodes fail at runtime, and published workflows using them refuse to activate on startup:
- Core logic & scheduling:
FunctionandFunction Item(replace withCodenode),Item Lists(replace withSplit Out,Aggregate,Sort,Limit,Remove Duplicates, orSummarize),CronandInterval(replace withSchedule Trigger), andWorkflow Trigger(replace withn8n Trigger). - Files & extraction:
HTML Extract,iCalendar,Convert to/from binary data,Read Binary File/Read Binary Files/Write Binary File, andRead PDF(replaced byHTML,Convert to File,Extract from File, andRead/Write Files from Disk). - Legacy AI & vector nodes:
AI Transform(must be migrated toCodevia Migration Report before upgrading),LangChain Code(no direct replacement),OpenAIlegacy /OpenAI Assistant/OpenAI Model,HTTP Request Toollegacy,Motorhead,Zep,SerpApi, and split Insert/Load vector store nodes. Version 1 of theAI Agentnode (includingSQL Agent,Conversational Agent,Plan and Execute, andReAct Agentmodes) is also removed in favor ofTools Agent. - Expressions:
$getPairedItemis removed ($('node').item,.itemMatching(i), or.pairedItem(i)replace it), and$evaluateExpression()is removed from theCodenode.
3. New Capabilities in n8n 3.4 & 3.5.0
Alongside breaking removals, n8n 3.4 and 3.5.0 (GitHub Releases) ship substantial workflow performance and enterprise features:
- Postgres
COPYbulk insert: The Postgres node'sInsertoperation adds a"Load Rows With COPY"mode that streams batches atomically (all-or-nothing) and outputs a single summary row count instead of one item per row. - Keyset pagination (
Start After): BothPostgres(v2.7+) andMySQLSelectoperations add keyset paging on a unique,NOT NULLcolumn, avoidingOFFSETscans on large tables. - GitHub Organization Webhooks & 21 New Events: The
GitHub Triggernode adds organization-wide webhooks and21new events (workflow_run,workflow_job,dependabot_alert,code_scanning_alert,secret_scanning_alert), verified viaX-Hub-Signature-256. - SCIM GA & WebDAV
SEARCH: SCIM provisioning exits Preview (feat:scim), andHTTP Requestadds RFC 5323SEARCHsupport. - MCP &
2.50.5/3.4.1hardening:n8n@3.4.1caches MCP tool schemas instead of rebuilding them per request (#44702) and stops awaited sub-workflows when parents stop (#44755), whilen8n@2.50.5(November 30, 2026) enables workflow suggestions and self-healing by default (#45796).
Hardened Docker Compose Baseline for n8n 3.x
services:
n8n:
image: docker.n8n.io/n8nio/n8n:3.4.1
environment:
- N8N_DEFAULT_BINARY_DATA_MODE=filesystem
- N8N_RUNNERS_TASK_TIMEOUT=120 # Raised from 3.0 default (60s) if Code nodes need 2m
- N8N_UNVERIFIED_PACKAGES_ENABLED=false
- N8N_SSRF_PROTECTION_ENABLED=true
- N8N_SSRF_BLOCKED_IP_RANGES=default
- N8N_COMPRESSION_NODE_MAX_DECOMPRESSED_SIZE_BYTES=268435456 # 256 MiB default
volumes:
- n8n_storage:/home/node/.n8n/storage
Reliability, Cost & Performance Analysis
n8n 3.x tightens operational guardrails to prevent runaway memory consumption, SSRF lateral movement, and unauthenticated webhook triggers. Teams upgrading from 2.x must audit these concrete numeric limit changes:
| Setting / Behavior | n8n 2.x Default | n8n 3.x Default | Operational Impact |
|---|---|---|---|
N8N_RUNNERS_TASK_TIMEOUT |
300 seconds (5 min) |
60 seconds (1 min) |
Long-running Code node scripts time out unless raised explicitly |
N8N_COMPRESSION_NODE_MAX_DECOMPRESSED_SIZE_BYTES |
2 GiB (2147483648 B) |
256 MiB |
Archives > 256 MiB fail unless limit is overridden |
N8N_COMPRESSION_NODE_MAX_ZIP_ENTRIES |
5,000 entries |
1,000 entries |
Large zip bundles fail unless overridden |
N8N_UNVERIFIED_PACKAGES_ENABLED |
true |
false |
Unverified npm community nodes stop loading unless re-enabled |
| Manual Executions (Queue Mode) | Configurable (OFFLOAD_MANUAL_EXECUTIONS_TO_WORKERS) |
Always on workers | Variable removed; worker RAM must cover manual test runs |
| SSRF Default Blocklist | Localhost, private nets, cloud metadata | Adds ::/128, 100.64.0.0/10, 2002::/16, 64:ff9b::/96 |
CGNAT (100.64.0.0/10, e.g., Tailscale) requests fail unless allowlisted |
| Encryption Key Rotation | Opt-in (formerly permanent) | Enabled by default | Keys rotate via Settings; reversible since 2.40.3 |
Key Scaling & Lock-In Considerations
- Tailscale & CGNAT gotcha: Because
100.64.0.0/10(carrier-grade NAT / shared address space) is now blocked by default whenN8N_SSRF_PROTECTION_ENABLED=true, workflows calling internal services over Tailscale or similar overlay networks will fail until explicitly added toN8N_SSRF_ALLOWED_IP_RANGESorN8N_SSRF_ALLOWED_HOSTNAMES. - One-way database migrations: As both n8n's docs and AyAutomate emphasize, database schema migrations in n8n only move forward. Rolling back from
3.4.1or3.5.0to2.49.xrequires restoring a pre-upgrade database backup. - Slack Trigger activation lock: Any workflow using a
Slack Triggernode without a configuredSignature Secretin its Slack API credential will fail to publish and fail to activate on n8n 3.x startup. - Chat Hub deprecation path: Chat Hub is disabled by default in
3.x(re-enable temporarily withN8N_ENABLED_MODULES=agents,chat-hub) and is scheduled for full removal inn8n 4.0.
Practical Implementation & Trade-Offs
Should You Upgrade to 3.4.1 Now or Stay on 2.49.9?
- Stay on
2.49.9(2.xLTS-style maintenance) temporarily if you still runnpm/npxinstalls, rely onAI Transformor legacyLangChain Codenodes, or have not yet cleared every blocker in Settings > Migration Report. - Upgrade to
3.4.1(stable) once your instance runs on Docker + Postgres, your Migration Report is clean, and you wantPostgres COPYbulk inserts, keyset paging, GitHub org webhooks, or hardened SSRF/encryption defaults. - Reserve
3.5.0(Pre-release) for staging and test environments; do not point production webhooks at pre-release tags.
Pre-Upgrade Migration Checklist
- Patch to the latest
2.xrelease (2.49.9) first so the built-in Migration Report reflects all3.xrules, including impact categories (Upgrade blocked,Executions fail,Behavior changes,Capability removed). - Audit
Settings > Migration Reportand resolve everyUpgrade blockedandExecutions failitem—paying special attention toSlack Triggersigning secrets,Execute Sub-workflowLocal File/URLsources, andEdit Imagev1/v1.1 nodes. - Check
If/Switchnodes withAlways Output Data: In3.x, multi-output nodes only emit an empty item when every output is empty, whereas2.xemitted one per empty branch. - Update custom WebSocket chat clients: If you connect directly to the
Chat TriggerWebSocket inUsing Response Nodesmode, parse JSON frames (type:heartbeat,continue,error,message,with-buttons) or upgrade@n8n/chatto1.31.0+. - Back up Postgres and
~/.n8n, test the upgrade on a cloned staging container, and verifyN8N_RUNNERS_TASK_TIMEOUTandN8N_SSRF_ALLOWED_IP_RANGESbefore cutting over production.
Frequently Asked Questions (FAQ)
Is n8n 3.x stable released yet?
Yes. On GitHub Releases, n8n@3.4.1 (released November 26, 2026) is tagged stable and Latest, while n8n@3.5.0 was published as a pre-release on December 1, 2026. The 2.x line also continues receiving patches such as 2.49.9 (November 30, 2026).
Can I still run self-hosted n8n with npm or npx?
No. Starting with n8n 3.0, runnable n8n packages are no longer published to npm, and npm / npx n8n deployments are unsupported. Self-hosted instances must migrate to Docker or Docker Compose.
Why did my Code node start timing out after upgrading to n8n 3.x?
n8n 3.0 reduced the default N8N_RUNNERS_TASK_TIMEOUT from 300 seconds (5 minutes) to 60 seconds (1 minute). If your Code node scripts legitimately run longer than a minute, set N8N_RUNNERS_TASK_TIMEOUT explicitly in your container environment.
How do I keep using unverified community nodes in n8n 3.x?
In n8n 3.0, N8N_UNVERIFIED_PACKAGES_ENABLED changed from true to false by default. Set N8N_UNVERIFIED_PACKAGES_ENABLED=true in your Docker environment if you still depend on unverified npm community packages, or migrate to verified community nodes.
Why does n8n 3.x refuse to start with both binaryData and storage folders?
n8n 3.0 renames ~/.n8n/binaryData to ~/.n8n/storage on first boot. If both directories already exist (for example, due to a volume mount mismatch), n8n halts startup rather than guessing which directory holds active files. Merge the contents into ~/.n8n/storage and remove ~/.n8n/binaryData, or set N8N_STORAGE_PATH explicitly.
Sources
- n8n GitHub Releases (Updated December 1, 2026): Releases · n8n-io/n8n (
3.5.0,3.4.1,2.50.5,2.49.9) - n8n Official Changelog (Updated November 24, 2026): Release notes | Changelog | n8n Docs
- n8n Official Breaking Changes Docs (Updated November 2026): v3.0 Breaking changes | Changelog | n8n Docs
- AyAutomate (Published November 10, 2026): n8n 3.0 Upgrade Guide: Breaking Changes and Checklist