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.

By 0xScorPionSon

8 min read

n8n 3.4.1 & 3.5.0: Breaking Changes, Docker Rules & Production Upgrade Guide

n8n 3.4.1 and 3.5.0 workflow upgrade architecture and breaking changes infographic

Executive Summary

  • Release status (November–December 2026): n8n 3.4.1 is the current stable release (November 26, 2026), building on n8n 3.4 (November 24, 2026), while n8n@3.5.0 entered pre-release on December 1, 2026 alongside 2.x maintenance builds (2.49.9 and 2.50.5 on November 30, 2026).
  • Mandatory runtime & deployment shift: Self-hosted n8n 3.x requires Docker-based deployment—npm and npx n8n installations are no longer supported or published, and database migrations are one-way.
  • Stricter security & execution defaults: Task runner timeouts drop from 300 seconds to 60 seconds, 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 20 legacy nodes (Function, Function Item, Item Lists, Cron, Interval, Read PDF, AI Transform, LangChain Code) and $getPairedItem are removed, while Postgres COPY bulk inserts and keyset pagination land in 3.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: Function and Function Item (replace with Code node), Item Lists (replace with Split Out, Aggregate, Sort, Limit, Remove Duplicates, or Summarize), Cron and Interval (replace with Schedule Trigger), and Workflow Trigger (replace with n8n Trigger).
  • Files & extraction: HTML Extract, iCalendar, Convert to/from binary data, Read Binary File / Read Binary Files / Write Binary File, and Read PDF (replaced by HTML, Convert to File, Extract from File, and Read/Write Files from Disk).
  • Legacy AI & vector nodes: AI Transform (must be migrated to Code via Migration Report before upgrading), LangChain Code (no direct replacement), OpenAI legacy / OpenAI Assistant / OpenAI Model, HTTP Request Tool legacy, Motorhead, Zep, SerpApi, and split Insert/Load vector store nodes. Version 1 of the AI Agent node (including SQL Agent, Conversational Agent, Plan and Execute, and ReAct Agent modes) is also removed in favor of Tools Agent.
  • Expressions: $getPairedItem is removed ($('node').item, .itemMatching(i), or .pairedItem(i) replace it), and $evaluateExpression() is removed from the Code node.

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 COPY bulk insert: The Postgres node's Insert operation 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): Both Postgres (v2.7+) and MySQL Select operations add keyset paging on a unique, NOT NULL column, avoiding OFFSET scans on large tables.
  • GitHub Organization Webhooks & 21 New Events: The GitHub Trigger node adds organization-wide webhooks and 21 new events (workflow_run, workflow_job, dependabot_alert, code_scanning_alert, secret_scanning_alert), verified via X-Hub-Signature-256.
  • SCIM GA & WebDAV SEARCH: SCIM provisioning exits Preview (feat:scim), and HTTP Request adds RFC 5323 SEARCH support.
  • MCP & 2.50.5 / 3.4.1 hardening: n8n@3.4.1 caches MCP tool schemas instead of rebuilding them per request (#44702) and stops awaited sub-workflows when parents stop (#44755), while n8n@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 when N8N_SSRF_PROTECTION_ENABLED=true, workflows calling internal services over Tailscale or similar overlay networks will fail until explicitly added to N8N_SSRF_ALLOWED_IP_RANGES or N8N_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.1 or 3.5.0 to 2.49.x requires restoring a pre-upgrade database backup.
  • Slack Trigger activation lock: Any workflow using a Slack Trigger node without a configured Signature Secret in 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 with N8N_ENABLED_MODULES=agents,chat-hub) and is scheduled for full removal in n8n 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.x LTS-style maintenance) temporarily if you still run npm / npx installs, rely on AI Transform or legacy LangChain Code nodes, 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 want Postgres COPY bulk 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

  1. Patch to the latest 2.x release (2.49.9) first so the built-in Migration Report reflects all 3.x rules, including impact categories (Upgrade blocked, Executions fail, Behavior changes, Capability removed).
  2. Audit Settings > Migration Report and resolve every Upgrade blocked and Executions fail item—paying special attention to Slack Trigger signing secrets, Execute Sub-workflow Local File/URL sources, and Edit Image v1/v1.1 nodes.
  3. Check If / Switch nodes with Always Output Data: In 3.x, multi-output nodes only emit an empty item when every output is empty, whereas 2.x emitted one per empty branch.
  4. Update custom WebSocket chat clients: If you connect directly to the Chat Trigger WebSocket in Using Response Nodes mode, parse JSON frames (type: heartbeat, continue, error, message, with-buttons) or upgrade @n8n/chat to 1.31.0+.
  5. Back up Postgres and ~/.n8n, test the upgrade on a cloned staging container, and verify N8N_RUNNERS_TASK_TIMEOUT and N8N_SSRF_ALLOWED_IP_RANGES before 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

  1. n8n GitHub Releases (Updated December 1, 2026): Releases · n8n-io/n8n (3.5.0, 3.4.1, 2.50.5, 2.49.9)
  2. n8n Official Changelog (Updated November 24, 2026): Release notes | Changelog | n8n Docs
  3. n8n Official Breaking Changes Docs (Updated November 2026): v3.0 Breaking changes | Changelog | n8n Docs
  4. AyAutomate (Published November 10, 2026): n8n 3.0 Upgrade Guide: Breaking Changes and Checklist

More on Automation

Automation

GitHub Actions Blocks pull_request_target by Default on December 2, 2026: How to Fix Affected CI Workflows

Starting December 2, 2026, GitHub Actions enforces a default event policy blocking pull_request_target in public repositories on Free, Team, and Enterprise Cloud unless an Actions event policy explicitly allows it. Blocked workflows fail immediately with startup_failure and zero executed jobs, silently halting auto-labelers, welcome bots, and required fork-PR status checks. Here is how policy layering works, why misconfigured allowlists can accidentally block your pull_request test suite, and how to migrate or scope workflow_path rules safely.

10 min read

Automation

Docker VMM GA in Docker Desktop 4.101: Bind-Mount Benchmarks, Memory Reclamation, and WSL 2 Trade-Offs

On December 1, 2026, Docker promoted its first-party virtualization layer, Docker VMM, to general availability in Docker Desktop 4.101 across macOS, Windows (x86), and Linux. Built to power both local containers and Docker Sandboxes for AI agents, Docker VMM delivers up to 19.5x faster monorepo searches on Windows, 2.3x faster small-file installs on Mac, and automatic host memory reclamation.

8 min read

Automation

Prefect Acquires ThruWire: Directed Agentic Graphs, Verification Checkpoints, and Foreman Limits

Prefect announced its acquisition of ThruWire on November 30, 2026, bringing co-founders Seth and Josh Rosen into Prefect to unify Dagster, FastMCP, and Prefect around directed agentic graphs. While financial terms and integration dates remain undisclosed, ThruWire's open-source Foreman supervisor stays MIT-licensed—offering a testable, single-worker coding agent gate with clear operational limits.

8 min read

Tell us what is not working

A thirty-minute call, no deck and no obligation. You will leave with a straight answer about whether this is worth building - including if that answer is no.

Start a project

Direct line

hello@codebumble.net
Dhaka, Bangladesh  :   local timeCalls in English or Bangla