Repository navigation
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.9.3
Release notes
Read the full release notes: https://trigger.dev/changelog/v4-9-3
What's changed
Improvements
- Add
trigger.dev dev listto list your active dev branches, with when each was last used and whether a dev CLI is connected. Use--jsonto script cleanup withtrigger.dev dev archive --branch <name>.GET /api/v1/projects/{ref}/branches?env=developmentreturns the same list. (81c363441148d3cef53d47a9287a5adf2c030780) - MCP server: tool descriptions no longer point to a tool that does not exist. (
cb60133e6b584ddc7f3ea4c31ea04661e1f40175) - With
processKeepAliveon, a new process that replaces one that suspended now imports the init file and the last run's task file while the machine waits, so the next run of that task starts without the import. SetTRIGGER_PRELOAD_DISABLED=1in your environment to turn it off. (c906338f0fe8a0c38d194ba9d011ea110454bb22) metadata.parentandmetadata.rootnow update the parent and root runs when a task file was imported before its run started, as happens when a task is preloaded. (c906338f0fe8a0c38d194ba9d011ea110454bb22)
Bug fixes
- Fix runs on a preloaded task process exporting their spans and logs without the environment, project and machine, so their traces showed only the root span and no logs. (
aacf1c8e01b5cc5f554fa99ce608c58240e05e64)
Server changes
These changes affect the self-hosted Docker image and Trigger.dev Cloud:
- Scheduled task fires read their environment from the cached control-plane lookup instead of loading the environment, project, organization and member rows from the primary database each time.
- Each member's development environment now stores new offloaded payloads, outputs and chat snapshots under its own path, so another member's dev credentials can't read them, and restricted dev keys and run tokens can use the packet routes.
- MCP server: tool descriptions no longer point to a tool that does not exist.
All packages: v4.9.3
@trigger.dev/build, @trigger.dev/convex, @trigger.dev/core, @trigger.dev/linear, @trigger.dev/python, @trigger.dev/react-hooks, @trigger.dev/redis-worker, @trigger.dev/rsc, @trigger.dev/schema-to-json, @trigger.dev/sdk, @trigger.dev/slack, trigger.dev
Contributors
Eric Allam, Chris Arderne, Adrien de Peretti, João Dias, Katia Bulatova, Paul Cioanca, @d-cs, github-actions[bot]
Full changelog: v4.9.2...v4.9.3