Trigger.dev v4.5.3

Fixed TypeScript declaration emit for chat.agent exports, plus two server fixes.

1 bug fix and 2 server changes.

Bug fixes

  • Fix TS2742 ("inferred type cannot be named") when exporting a chat.agent from a project with declaration emit. ChatTaskWirePayload and ChatInputChunk are now declared in the public @trigger.dev/sdk/chat subpath, so inferred agent types emit portable declarations and the wire types are directly importable. (#4218)

Server changes

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

  • Reduce primary database load on the runs page by serving its empty-state check from ClickHouse instead of Postgres. (#4202)
  • Fixed submitting your email on the login page reloading back to an empty form instead of showing the magic link confirmation screen. (#4215)

How to upgrade

Update the trigger.dev/* packages to v4.5.3 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.3.

Ready to start building?

Build and deploy your first task in 3 minutes.

Get started now