Trigger.dev v4.5.16

Deploy warnings for createRequire packages that won't bundle, faster builds on large dependency trees, and a server-side reliability guard for triggerAndWait.

1 improvement, 1 bug fix, and 1 server change.

Improvements

  • trigger.dev deploy and trigger.dev dev now warn (with a suggested fix) when your code loads a package via createRequire() that won't be available in the deployed image. Previously this would fail silently at runtime in production. Deploys also now surface bundler warnings for your code instead of discarding them. (#4851)

Bug fixes

  • Fixes a performance regression introduced in 4.5.11 that made deploy image builds noticeably slower for projects with large dependency trees. (#4878)

Server changes

These changes are included in the v4.5.16 Docker image and are already live on Trigger.dev Cloud:

  • A durable guard improves reliability for runs waiting on triggerAndWait or batchTriggerAndWait when a database error interrupts a child run from finishing. (#4849)

How to upgrade

Update the trigger.dev/* packages to v4.5.16 using your package manager:


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 users: update your Docker image to ghcr.io/triggerdotdev/trigger.dev:v4.5.16.

Ready to start building?

Build and deploy your first task in 3 minutes.

Get started now