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.7.2
Release notes
Read the full release notes: https://trigger.dev/changelog/v4-7-2
What's changed
Improvements
- Use the current Node.js LTS for deployments whose
runtimeis unset or set to"node". Set a versioned runtime such as"node-24"to keep deployments pinned to that Node.js major. (9ecdf735e) chat.agentnow sends parallel tool results to the model in the order the tools were called, the same order the next turn's history uses. Models that bind their thinking to the exact conversation (Claude Sonnet 5.5, Claude Opus 5.5, Claude Fable 5.1) no longer lose a turn's reasoning, or fail the request on accounts that enforce the check, when its tools finish out of order. (760737258)- Recovering a long unfinished
chat.agentresponse on a continuation run no longer blocks the worker. Rebuilding the response from its streamed chunks now takes time linear in its length and yields to the event loop as it goes, so heartbeats keep firing and the run is not killed mid-replay. Capturing the response at the end of a long turn gets the same speedup. (93c63c685)
Server changes
These changes affect the self-hosted Docker image and Trigger.dev Cloud:
- Fix the "Download payload" and "Download output" buttons for large payloads and outputs, which downloaded an error file instead of the data.
All packages: v4.7.2
@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
Eric Allam, Chris Arderne, github-actions[bot], @Mariefay
Full changelog: v4.7.1...v4.7.2