Trigger.dev v4.5.3

v4.5.3

trigger.dev v4.5.3

Changed 1
  • Reduce primary database load on the runs page by serving its empty-state check from ClickHouse instead of Postgres
Fixed 2
  • Fix TS2742 (inferred type cannot be named) when exporting a chat.agent from a project with declaration emit by declaring ChatTaskWirePayload and ChatInputChunk in the public @trigger.dev/sdk/chat subpath
  • Fixed submitting your email on the login page reloading back to an empty form instead of showing the magic link confirmation screen
Removed 1
  • Removed support for the end-of-life v3 trigger dev CLI; starting a dev session with an old v3 CLI now returns an upgrade message instead of connecting
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.5.3

Release notes

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

What's changed
Breaking changes
  • Removed support for the end-of-life v3 trigger dev CLI. Starting a dev session with an old v3 CLI now returns an upgrade message instead of connecting - upgrade to the v4 CLI to continue using trigger dev. (#4198)
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 affect the self-hosted Docker image and 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)
All packages: v4.5.3

@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, Oskar Otwinowski, github-actions[bot], Matt Aitken, James Ritchie, claude[bot], Chris Arderne, @nicktrn

Full changelog: https://github.com/triggerdotdev/trigger.dev/compare/v4.5.2...v4.5.3

View original

Upgraded? How did it go?

Discussion