v4.5.3

trycompai/compv4.5.3Jul 10, 2026by github-actions[bot]

AI Summary

This release addresses a TypeScript compilation error regarding chat.agent exports and improves server performance by offloading database load to ClickHouse.

Key Highlights

  • Fixed TS2742 error when exporting chat.agent with declaration emit
  • Reduced primary database load on the runs page using ClickHouse
  • Fixed login page email submission reloading to an empty form

Breaking Changes

  • Removed support for the end-of-life v3 trigger dev CLI

New Features

  • ClickHouse serving for empty-state checks on runs page
  • Fixed login page email submission flow

Full Release Notes

## Upgrade

```sh
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`](https://github.com/triggerdotdev/trigger.dev/pkgs/container/trigger.dev/1017574761?tag=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](https://github.com/triggerdotdev/trigger.dev/pull/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](https://github.com/triggerdotdev/trigger.dev/pull/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](https://github.com/triggerdotdev/trigger.dev/pull/4202))
- Fixed submitting your email on the login page reloading back to an empty form instead of showing the magic link confirmation screen. ([#4215](https://github.com/triggerdotdev/trigger.dev/pull/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