Repository navigation
Releases
trigger.dev v4.8.10
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
trigger.dev v4.8.9
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
Helm Chart 4.8.9
Installation
helm upgrade --install trigger \
oci://ghcr.io/triggerdotdev/charts/trigger \
--version "4.8.9"Changes
See commit history for detailed changes in this release.
Helm Chart 4.8.10
Installation
helm upgrade --install trigger \
oci://ghcr.io/triggerdotdev/charts/trigger \
--version "4.8.10"Changes
See commit history for detailed changes in this release.
trigger.dev v4.8.8
trigger.dev v4.8.8
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.8
Release notes
Read the full release notes: https://trigger.dev/changelog/v4-8-8
What's changed
Improvements
- The MCP
list_runstool can now filter runs by queue, batch, schedule and bulk action, and its descriptions now say thatperiodtakes precedence overfromandto. (25c9430e7) - When OIDC token requests are still throttled after retries,
auth.getOIDCToken()now throwsRateLimitErrorwith codeRATE_LIMIT_EXCEEDEDfor both per-run and shared API limits. If you catch these errors withinstanceof OIDCTokenError, check forRateLimitErrorinstead. Other OIDC errors and retry behavior are unchanged. (04b139db7) - Stop losing a run's suspend when the supervisor's first attempt to hand it off fails unexpectedly. (
9e5ddbecf)
Server changes
These changes affect the self-hosted Docker image and Trigger.dev Cloud:
- The remote MCP server can now list the tags used on your runs, search and read your logs, add tags, update metadata, reset idempotency keys and reschedule delayed runs, and run details now include the run's metadata values. It can also list, read, create and abort bulk actions that cancel or replay many runs at once, and you approve every bulk action it creates. It can also read what a run streamed. Edits that would change nothing are refused without asking you to approve them.
- The dashboard now shows only the last four characters of root API keys for all projects. Existing root keys still work, but you can no longer copy them from the dashboard. Create a separate API key for each new integration.
- The remote MCP server now offers new OAuth scopes for errors, queues, tasks, batches, waitpoints, environments, deployments, branches, environment variable names and project settings. Existing connections keep the access they already have.
- External OIDC token requests now count against the same environment rate limit as other API requests, with the per-run limit unchanged.
- A run's Session link now opens the session at that run.
- Reopening the time filter keeps an exact date range selected instead of switching back to "in the last".
All packages: v4.8.8
@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, @Mariefay, Paul Cioanca, Katia Bulatova, @nicktrn, github-actions[bot], @jack, @isshaddad
Full changelog: v4.8.7...v4.8.8
Helm Chart 4.8.8
Installation
helm upgrade --install trigger \
oci://ghcr.io/triggerdotdev/charts/trigger \
--version "4.8.8"Changes
See commit history for detailed changes in this release.
trigger.dev v4.8.7
trigger.dev v4.8.7
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.7
Release notes
Read the full release notes: https://trigger.dev/changelog/v4-8-7
What's changed
Improvements
- Sessions and
chat.agentnow accept the object form ofconcurrencyKeyintriggerConfig, giving each concurrency limit its own key, the same astask.trigger(). (767ab4521)
Bug fixes
-
Fix runs failing with
TASK_DID_CONCURRENT_WAITon their first wait whenprocessKeepAliveis enabled. (fe57ea018) -
Fix
chat.agentchannels on AI SDK 7 failing the whole turn when a channel file can't be downloaded. A file the connector owns but can't read is now replaced with an[Attached file "…" could not be loaded]note and the agent still answers, as it does on AI SDK 6. AI SDK 7 describes a file's URL in a tagged form that the SDK didn't recognise, so the failed file was never found. (c888eb885)An inline
data:file in a channel message is no longer passed to a connector'sdownload, and on AI SDK 6 it reaches the model instead of failing the turn. -
Fix two compaction problems on AI SDK 7. After a compaction, a
chat.agentturn that continued a tool approval sent the model the full pre-compaction transcript instead of the summary, which undid the compaction (this also affectedchat.MessageAccumulator). And between-turn compaction, inchat.agentandchat.createSession, was asked about the whole turn's token usage instead of the last step's, soshouldCompactthresholds triggered too early on multi-step turns. (c615d762e)If you call
compactIfNeededon achat.MessageAccumulator, pass it the last step's usage,(await result.steps).at(-1)?.usage.result.usageis the turn's sum on AI SDK 7. -
Fix
chat.agentsteering on AI SDK 7. A steering message thatpendingMessages.prepareturns into asystemmessage no longer makes the step fail with an invalid-prompt error:chat.toStreamTextOptions()now setsallowSystemInMessages: true, as AI SDK 5 and 6 already behave (passallowSystemInMessages: falseafter the spread to keep AI SDK 7's strict default). A turn whose stream ends on an error now reportsfinishReason: "error"inonTurnComplete, where it could beundefinedor the previous step's reason. (53f17ee0b) -
Fix a
chat.agenttool result containing aBigIntfailing the next turn's model call in apps that defineBigInt.prototype.toJSON. It is now sent as the JSON thattoJSONgives, in the next step and in later turns. (8167e49f3) -
Fix
chat.agentfailing the next step or turn withAI_InvalidPromptError("The messages do not match the ModelMessage[] schema") when a tool returned a value that isn't plain JSON, such as aDatefrom an ORM row. On AI SDK 6, and AI SDK 7 before 7.0.101, tool results are now converted to JSON the way newer AI SDK versions do it, so aDatereaches the model as its ISO string. A value JSON can't hold, such as aBigIntor a circular reference, is replaced by an error result that names the tool and the field, and the same error is logged on the run. (49b3dc055)
Server changes
These changes affect the self-hosted Docker image and Trigger.dev Cloud:
- Worker registration now refuses task source files that are too large once decompressed or aren't valid text, with an error that names the file.
- The session page now says when earlier conversation messages couldn't be loaded, with a retry, and closing a session keeps the view you were on.
- On a live run's trace, "Errors only" and search now pick up a span that fails or gets a new name after it first appeared.
- Alert webhook URLs that point at private or reserved network addresses are now rejected in more cases.
All packages: v4.8.7
@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
@Mariefay, Paul Cioanca, Adrien de Peretti, Chris Arderne, @d-cs, Saadi Myftija, @nicktrn, github-actions[bot], Katia Bulatova, @isshaddad, Eric Allam, João Dias
Full changelog: v4.8.6...v4.8.7
Helm Chart 4.8.7
Installation
helm upgrade --install trigger \
oci://ghcr.io/triggerdotdev/charts/trigger \
--version "4.8.7"Changes
See commit history for detailed changes in this release.
trigger.dev v4.8.6
trigger.dev v4.8.6
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.6
Release notes
Read the full release notes: https://trigger.dev/changelog/v4-8-6
What's changed
Highlights
- Allow an explicit audience when signing and verifying JWTs and user-actor tokens. (
01337977e)
Improvements
-
Deploys on the
bun-1.4runtime now compile the run worker and your task files into a Bun executable with bytecode, so runs start faster.import.meta.urland__dirnamestill point at your files under/app, so files you read next to your code must be in the image as before (e.g. withadditionalFiles). Setbuild.bunBytecode: falseintrigger.config.tsto turn compilation off. (8130e5e73) -
trigger devandtrigger deployno longer crash withspawn ... ENOENTon bun runtimes when Bun isn't installed at~/.bun. The CLI now falls back tobunon yourPATH(Homebrew, mise and similar installs), and if Bun still can't be started,trigger devreports a readable error andtrigger deployskips local skill discovery with a warning and carries on. (15797c9f2) -
Bundled task files now keep their project layout (for example
/app/src/trigger/tasks.mjs) when the CLI runs from outside the project, such asnpx trigger.dev deploy. Before, they could land under a path containing the project's location, away from the filesadditionalFilescopies next to them, so reads relative toimport.meta.urlfailed. (0c03b59b9) -
Show CLI command errors in the same error format as other CLI errors, and keep them visible with
--log-level error. (c515c3f74) -
Deploys now report a warmup command that loads your config and task files offline without running any task, so the platform can prepare faster run starts for your deployment. (
5479177af) -
Generate the machine ID and the managed run controller ID on first use instead of at import, so importing these modules draws no randomness and a process restored from a warm start does not reuse IDs drawn before it was saved. (
a8ac49cd3) -
Deploys on the
node-24andnode-26runtimes now build a Node compile cache for your bundled code during the image build, so runs spend less time compiling your tasks and their dependencies before they start.node-22deploys are unchanged. (cb1e7362f) -
Report a run whose process the kernel killed for running out of memory as
TASK_PROCESS_OOM_KILLED, rather than as a generic exit afterSIGKILL, when the out-of-memory kill is counted in the run's cgroup. (7a2a7dc80) -
Deployed task processes now receive secret environment variables only with the run, instead of also in the environment the process starts with. (
489a6dff3) -
Deployed task processes now start with the environment variables that Node, OpenSSL, libuv or the dynamic loader read only at startup (such as
LD_PRELOAD,OPENSSL_CONF,NODE_ICU_DATA,TZandUV_*), and the run's logs warn, by name only, about other startup-only variables (such asNODE_OPTIONS,MALLOC_*orGLIBC_TUNABLES) that arrive too late to take effect. (60d1774df) -
Builds from
trigger devandtrigger deploynow use esbuild 0.28. TypeScript parameter properties are now emitted as class fields, and source map paths are URL-encoded. (af2098570) -
webhooks.notion()endpoints accept Notion's verification request. While the endpoint has no signing secret, theverification_tokenNotion sends is stored as its signing secret, so you can paste it back into Notion and later deliveries verify with it. Redeploy with this version for existing Notion endpoints to pick it up. (4288ea912) -
Support scoped run tokens without an environment key, including offloaded task inputs and stream waits. Explain why a run has no usable credential for an operation. (
ed0147895) -
Public-token helpers and chat token creation now prefer server minting for root API keys too, avoiding the legacy claims endpoint on compatible servers. Trigger, batch, and waitpoint responses missing a token also try server minting first. (
90d677b12)Root-key callers retain local-signing compatibility only when the mint endpoint is missing or an older server specifically rejects an empty scope list. Named API keys and run tokens never self-sign. Authorization failures, expiration validation errors, rate limits, and server or connection failures do not activate the fallback.
Server minting with a root key signs with that same authenticated key, including during its rotation grace period, rather than with its replacement. Tokens stop authenticating when that key's grace period ends or it is immediately revoked. Deploy this server update before upgrading the SDK if you rely on minting during root-key rotation; older servers can still reject grace-window keys.
Server-minted tokens use the API rate-limit budget and follow the server's expiration rules, including its 30-day maximum. Minting tokens without scopes requires self-hosted v4.8.4 or later unless the root-key compatibility fallback is available. The default expiration remains 15 minutes.
-
chat.agentnow passeschatId,turnandclientDatato the callbacks an agent can call a model from, so a mock model injected throughclientDatareaches them. The compactionsummarizethat runs throughchat.MessageAccumulator.prepareStep()and achat.createSessionturn'sprepareStep(),onCompacted,onValidateMessages, and thependingMessagesonReceivedandonInjectedcallbacks previously lacked it. ThemockChatAgentturn methods (sendMessage,sendRegenerate,sendAction) now also wait foronTurnCompleteand the transcript save to finish, so tests can assert on what those hooks recorded without a sleep. (579904220) -
concurrencyKeynow also takes an object, so one run can be limited by two limits keyed by different things, like a cap per session and a cap per organization.defaultis the run's own key and every other entry gives a named limit its own key:concurrencyKey: { default: sessionId, [orgLimit.name]: orgId }. A string key works as before. (4961fc474)
Bug fixes
-
Fix
child_process.fork()andspawn(process.execPath, ...)in compiledbun-1.4deploys. They started the run worker again instead of Bun, so the child never ran and the task hung.process.execPathnow points at the image'sbunbinary, as it does in uncompiled deploys. (d63b49ef3) -
Fix webhook verification for
webhooks.brex(), which now reads thewebhook-id,webhook-timestampandwebhook-signatureheaders Brex sends instead ofsvix-*headers, and forwebhooks.composio(), which now keys the signature with the secret's raw text as Composio does instead of base64-decoding it. PagerDuty, Sentry, Vercel, Zendesk, Attio, DocuSign and Intercom endpoints now default to pasting the provider-issued signing secret, and Linear and Calendly offer both generating and pasting one. Redeploy with this version for existing endpoints to pick up the change. (b5b311407) -
Fix
chat.agenton AI SDK 7 sending the model the same input on every step. Once a step'sprepareStepreturned messages (a steering message, a mid-turnchat.inject, context compaction, or your ownprepareStep), later steps no longer included the newest tool results, so the model kept repeating the same tool call until the step limit. (1a2c99034)If you call
chat.compact()from your ownprepareStep, pass it theresponseMessagesyourprepareStepreceives (chat.compact(messages, steps, { ...options, responseMessages })) so steps after a compaction are rebuilt correctly on AI SDK 7.
Server changes
These changes affect the self-hosted Docker image and Trigger.dev Cloud:
- Ask the Dashboard Agent to watch something, such as a deploy, a task or a model, and i...
Helm Chart 4.8.6
Installation
helm upgrade --install trigger \
oci://ghcr.io/triggerdotdev/charts/trigger \
--version "4.8.6"Changes
See commit history for detailed changes in this release.