Packages

@trigger.dev/sdk

4.8.8 · 20 Nov 2026MIT1.7M / weekRepositoryHomepagenpmAtom feed

Your version

4.6.3

17 Sep 2026Where it was published

4.8.8 is the newest release of 4.x.

npm marks 4.6.3 as deprecated: This version can delay warm starts by approximately five minutes when using npm with Zod 3 pinned in package.json. Upgrade to 4.6.4 or later and redeploy your tasks. Details: trigger.dev/changelog/v4-6-4

In short

3 new

Release note

trigger.dev v4.6.3

Warning

A Zod import bug in versions 4.6.0 through 4.6.3 can cause warm starts to fail and delay runs by approximately five minutes when using npm with Zod 3 pinned in package.json. Cold starts are unaffected by this bug. No data has been lost.

Redeploy with npx trigger.dev@latest deploy, or update your pinned CLI version to 4.6.4 or later and redeploy. Read about the fix.

Upgrade

npx trigger.dev@latest update  # npm
pnpm dlx trigger.dev@latest update  # pnpm
yarn dlx trigger.dev@latest update  # yarn
bunx trigger.dev@latest update  # bun

Self-hosted Docker image: ghcr.io/triggerdotdev/trigger.dev:v4.6.3

Release notes

Read the full release notes: trigger.dev/changelog/v4-6-3

Improvements

  • Show how to override the default cron window in schedule policy warnings.

  • Thrown error cause chains are now captured and shown. When a task throws an error that wraps another one, the run's error in the dashboard, the CLI dev output, and failure alerts all carry the chain instead of only the outermost message.

    throw new Error("Could not sync the customer", { cause: originalError });

    The chain is flattened outermost first, capped at five causes, and cycle safe. It also rides on the error of API and realtime run records as a causes array, and triggerAndWait and triggerAndSubscribe rebuild it as a native cause on the error they hand back, so err.cause works in your own catch blocks.

  • Keep summarized assistant steps and tool results out of future chat.agent() model context after inner compaction, while preserving the full visible conversation.

All packages: v4.6.3

@trigger.dev/build, @trigger.dev/core, @trigger.dev/python, @trigger.dev/react-hooks, @trigger.dev/redis-worker, @trigger.dev/rsc, @trigger.dev/schema-to-json, @trigger.dev/sdk, trigger.dev

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.