trigger.dev v4.6.3
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 # bunSelf-hosted Docker image: ghcr.io/triggerdotdev/trigger.dev:v4.6.3
Release notes
Read the full release notes: https://trigger.dev/changelog/v4-6-3
What's changed
Improvements
-
Show how to override the default cron window in schedule policy warnings. (
630eb75d1) -
Thrown error
causechains 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. (4f36f614b)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
errorof API and realtime run records as acausesarray, andtriggerAndWaitandtriggerAndSubscriberebuild it as a nativecauseon the error they hand back, soerr.causeworks 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. (fc77bfc9a)
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
Contributors
Chris Arderne, Wes Mason, Eric Allam, github-actions[bot], @Mariefay, Matt Aitken, @d-cs
Full changelog: v4.6.2...v4.6.3