Repository navigation
trigger.dev v4.8.10
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.10
Release notes
Read the full release notes: https://trigger.dev/changelog/v4-8-10
What's changed
Improvements
trigger deploywith GitHub OIDC authentication now also warns when deploys from your CLI version will soon stop being supported, with the last day they still work and the command to upgrade. The warning never blocks a deploy. (1da6293b9)trigger deploywarns when deploys from your CLI version will soon stop being supported, with the last day they still work and the command to upgrade. The warning never blocks a deploy and shows on every build path, including--native-build,--local-buildand--depot-build. Deploys that authenticate with GitHub OIDC don't show it. (1b3b19c31)- Metrics from OpenTelemetry instrumentations in
trigger.config.ts(such as HTTP, undici and pg) are now recorded and exported. Previously they were silently dropped. If you worked around this by callinginstrumentation.setMeterProvider(metrics.getMeterProvider())ininit, remove that call when you upgrade: rebinding again can register duplicate observable callbacks and skew values such as event loop utilization. (a94244120)
Server changes
These changes affect the self-hosted Docker image and Trigger.dev Cloud:
- The audit events API can filter by how the request came in (
filter[source], one or more) and by a target's exact name (filter[targetName]). - "View history" on the environment variables and API keys pages, and "View activity" on each key, open the audit log filtered to what you're looking at.
- Filtering the audit log by one key or token shows a summary of its activity: when it was first and last seen, how many events, and from how many IPs and countries, and for your organization's own keys, when it was last used and when it was revoked or expired.
- When Trigger.dev support suspends an organization, the audit log records the API keys and personal access tokens it rotated or revoked, attributed to Trigger.dev support.
- New audit log page in organization settings: see who changed credentials, environment variables and members, how and from where, and filter by time, category, one or more events, actor or key, how the request came in, project and environment, and target.
- The deployments page warns when an environment's latest deploy used a trigger.dev version that is, or will soon be, no longer supported for new deploys, and flags that version on the deployment.
- Deployments that fail while registering their tasks now send deployment failure alerts, and once a configured minimum trigger.dev version is enforced, deploys from older versions are rejected with upgrade instructions.
- Alerts held back by a notification channel's rate limit are now sent shortly after the limit clears.
All packages: v4.8.10
@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
Paul Cioanca, triggerdotdev-the-inspector[bot], Saadi Myftija, github-actions[bot], @nicktrn, @d-cs, Chris Arderne, Katia Bulatova, Eric Allam
Full changelog: v4.8.9...v4.8.10