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.5.0-rc.3
Release notes
Read the full release notes: https://trigger.dev/changelog/v4-5-0-rc-3
What's changed
Improvements
- Retry
TASK_MIDDLEWARE_ERRORunder the task's retry policy instead of failing the run on the first attempt. The error was already classified as retryable byshouldRetryError, butshouldLookupRetrySettingsdid not include it, so the retry flow fell through tofail_run. Fixes #3231. (#3676)
Bug fixes
- Fix
TypeErrorinunflattenAttributeswhen the input attribute map contains conflicting dotted key paths (e.g. botha.bset to a scalar anda.b.cset to a value). The path-walk loop now applies last-write-wins when a prior key wrote a primitive, null, or array at an intermediate slot, matching the existing precedent inAttributeFlattener.addAttribute. Callers no longer crash when handed malformed external attribute inputs. (#3762) - Fix external trace context leaking across runs on warm-started workers with
processKeepAliveenabled. Every subsequent run's attempt span was being exported with the first run'straceIdandparentSpanId, breaking causal-chain navigation in external APM tools. Runs without an external trace context are unaffected. (#3768)
All packages: v4.5.0-rc.3
@trigger.dev/build, @trigger.dev/core, @trigger.dev/plugins, @trigger.dev/python, @trigger.dev/react-hooks, @trigger.dev/redis-worker, @trigger.dev/rsc, @trigger.dev/schema-to-json, @trigger.dev/sdk, trigger.dev
Full changelog: https://github.com/triggerdotdev/trigger.dev/compare/v4.4.0.3...v4.5.0-rc.3
Fetched June 1, 2026
