Repository navigation
trigger.dev v4.8.9
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 # bunSelf-hosted Docker image: ghcr.io/triggerdotdev/trigger.dev:v4.8.9
Release notes
Read the full release notes: https://trigger.dev/changelog/v4-8-9
What's changed
Breaking changes
- If you self-host with task events stored in ClickHouse, new events are now deleted after about 37 days instead of about a year. Events stored before the upgrade keep their old expiry, and you can set
EVENTS_CLICKHOUSE_RETENTION_DAYSto keep them longer.
Improvements
- CLI spinners now print plain text lines in CI and when stdout is piped or redirected. Progress lines such as "Uploading deployment files" no longer start with a spinner frame or carry cursor escape codes, so
trigger deploylogs in GitHub Actions and other CI systems read cleanly. Output in an interactive terminal is unchanged. (c7ec55dc8) - The MCP server's
create_alerttool can now create alerts on your own TRQL query: pass thecustom.querycapability with aqueryand asignal. (db49c6169) - The
ListRunResponseschema accepts an optionalappliedFiltersfield. The runs list API returns it with thecreatedAtwindow the list used, so you can see when the default 7-day period applied. (e614f357e)
Server changes
These changes affect the self-hosted Docker image and Trigger.dev Cloud:
- The deployments list has an Activity switch that shows a year of the environment's deploys as a grid of days: how many went live each day, which days had a failed deploy, how many weeks shipped and the longest gap. Hover a day to see its deploys, and click it to filter the list to that day.
- Deployments have a full page: an overview of what the deploy contains and the runs on it, its tasks, its runs, searchable build logs and an activity timeline. The deployments list can be filtered by status, branch and version, and rolling back shows which tasks the older version doesn't have.
- The remote MCP server can now show an alert's details, including how its recent notifications were delivered, and list the alert channels it can notify, and, after you approve each change, edit, stop, activate, delete, group and ungroup alerts.
- The remote MCP server can now search webhook endpoints by subscriber, source, status and text, show a webhook task with the endpoints it subscribes to, list the runs waiting on an endpoint, remove an endpoint's signing secret, generate its verification token, pause or resume it, and cancel a run's wait on it.
- Each schedule has its own page in the dashboard, opened from the scheduled task's Schedules tab, with its runs and an Upcoming tab: a calendar of the days it will run, or its rhythm over the coming hours and days for a schedule that runs around the clock. Creating and editing a schedule previews its next runs beside the form.
- Audit log events made by Trigger.dev, such as a deployment's build reading environment variables, now show as Trigger.dev infrastructure
- Bulk replay can now choose the version and environment to replay into. A filter in the runs URL that can't be read is ignored on its own and shown as a warning instead of clearing every filter, bulk actions on selected runs include runs older than 7 days, and the confirm button can't create the same bulk action twice.
- Dashboard pages respond to clicks sooner after they load, especially on slow connections: menus such as rollback and promote on the deployments list work several seconds earlier.
- Tasks that use a larger machine, and runs retried on a bigger machine after running out of memory, now start faster on compute regions.
- Task and agent pages share one layout: runs, the task's queue (with pause, resume and concurrency override) and, for scheduled tasks, its schedules are tabs, with the task's details beside them.
- Versions read the same everywhere in the dashboard: each one is marked Current or Not promoted, and clicking it shows how it was built, its tasks and links to its runs and deployment. In Development, your newest version is marked Current.
- Webhook task, endpoint and delivery pages use the same layout as the dashboard's other detail pages. An endpoint can be disabled and enabled from its Settings tab, and a delivery can be replayed from its own page.
- Bulk actions created from the runs list now apply the Source filter, and the panel always acts on the selection it shows after you switch between selected runs and matching filters with a keyboard shortcut.
- Fix a chat agent message that was sent just as a run was ending going unanswered until the next message. It is now answered right away by a new run.
- The self-hosted telemetry opt-out now disables browser tracking as well as server-side tracking.
All packages: v4.8.9
@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
Chris Arderne, Eric Allam, Katia Bulatova, Saadi Myftija, Wes Mason, Paul Cioanca, @jack, github-actions[bot], @Mariefay, Adrien de Peretti
Full changelog: v4.8.8...v4.8.9