Skip to content

trigger.dev v4.9.3

Latest

Choose a tag to compare

@github-actions github-actions released this 04 Dec 16:36
8270e56

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.9.3

Release notes

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

What's changed

Improvements

  • Add trigger.dev dev list to list your active dev branches, with when each was last used and whether a dev CLI is connected. Use --json to script cleanup with trigger.dev dev archive --branch <name>. GET /api/v1/projects/{ref}/branches?env=development returns the same list. (81c363441148d3cef53d47a9287a5adf2c030780)
  • MCP server: tool descriptions no longer point to a tool that does not exist. (cb60133e6b584ddc7f3ea4c31ea04661e1f40175)
  • With processKeepAlive on, 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. Set TRIGGER_PRELOAD_DISABLED=1 in your environment to turn it off. (c906338f0fe8a0c38d194ba9d011ea110454bb22)
  • metadata.parent and metadata.root now 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