From e3593af00eeb834960877d68228a2c70529c049c Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 7 Aug 2026 12:32:02 +0000 Subject: [PATCH] chore: release --- .changeset/batch-trigger-debounce.md | 15 ---------- .changeset/chat-agent-preload-oom-recovery.md | 5 ---- .changeset/chat-handover-cursor-off-by-one.md | 5 ---- .changeset/chat-session-caught-up-resume.md | 7 ----- .changeset/friendly-keys-batch-tokens.md | 6 ---- .changeset/mcp-trigger-task-region.md | 5 ---- .../retry-run-start-on-connection-error.md | 5 ---- .changeset/typescript-seven-builds.md | 13 --------- .../additional-api-key-rate-limit-bucket.md | 6 ---- .../api-key-deploy-envvars-presets.md | 6 ---- .../backpressure-hold-last-verdict.md | 6 ---- .../batch-declarative-schedule-cleanup.md | 6 ---- .../batch-item-streaming-rate-limit.md | 6 ---- .server-changes/clamp-run-priority.md | 6 ---- .../collapse-trigger-queued-snapshot.md | 6 ---- .server-changes/debounce-hidden-ceiling.md | 9 ------ .server-changes/deeplink-routes.md | 6 ---- .../faster-schedule-validation-lookup.md | 6 ---- .../fix-database-connect-timeout.md | 6 ---- ...uns-list-batch-drop-on-unparseable-json.md | 6 ---- .server-changes/fix-sidebar-feedback.md | 6 ---- .../impersonation-consent-and-view-as-user.md | 6 ---- .server-changes/light-theme.md | 6 ---- .../multi-task-scope-enforcement.md | 6 ---- .server-changes/page-tab-titles.md | 6 ---- .../per-client-connection-timeouts.md | 6 ---- .server-changes/plain-graphql-migration.md | 6 ---- .server-changes/pod-count-exact-list.md | 6 ---- .../public-token-additional-api-keys.md | 6 ---- .../queue-metrics-remember-period.md | 6 ---- .../queues-page-environment-wide-charts.md | 6 ---- .../reject-benchmarking-webhook-addresses.md | 6 ---- .../report-messages-not-treeshaken.md | 6 ---- .../run-create-no-interactive-tx.md | 6 ---- .../scoped-environment-api-key-auth.md | 6 ---- .../sso-directory-sync-dev-environments.md | 6 ---- .../strip-null-bytes-trigger-keys.md | 6 ---- .../supervisor-run-pod-tolerations.md | 6 ---- .../worker-deployment-lookup-ordering.md | 6 ---- hosting/k8s/helm/Chart.yaml | 4 +-- packages/build/CHANGELOG.md | 8 ++++++ packages/build/package.json | 4 +-- packages/cli-v3/CHANGELOG.md | 12 ++++++++ packages/cli-v3/package.json | 8 +++--- packages/core/CHANGELOG.md | 10 +++++++ packages/core/package.json | 2 +- packages/python/CHANGELOG.md | 10 +++++++ packages/python/package.json | 12 ++++---- packages/react-hooks/CHANGELOG.md | 25 +++++++++++++++++ packages/react-hooks/package.json | 4 +-- packages/redis-worker/CHANGELOG.md | 8 ++++++ packages/redis-worker/package.json | 4 +-- packages/rsc/CHANGELOG.md | 8 ++++++ packages/rsc/package.json | 6 ++-- packages/schema-to-json/CHANGELOG.md | 8 ++++++ packages/schema-to-json/package.json | 2 +- packages/trigger-sdk/CHANGELOG.md | 28 +++++++++++++++++++ packages/trigger-sdk/package.json | 4 +-- pnpm-lock.yaml | 26 ++++++++--------- 59 files changed, 155 insertions(+), 288 deletions(-) delete mode 100644 .changeset/batch-trigger-debounce.md delete mode 100644 .changeset/chat-agent-preload-oom-recovery.md delete mode 100644 .changeset/chat-handover-cursor-off-by-one.md delete mode 100644 .changeset/chat-session-caught-up-resume.md delete mode 100644 .changeset/friendly-keys-batch-tokens.md delete mode 100644 .changeset/mcp-trigger-task-region.md delete mode 100644 .changeset/retry-run-start-on-connection-error.md delete mode 100644 .changeset/typescript-seven-builds.md delete mode 100644 .server-changes/additional-api-key-rate-limit-bucket.md delete mode 100644 .server-changes/api-key-deploy-envvars-presets.md delete mode 100644 .server-changes/backpressure-hold-last-verdict.md delete mode 100644 .server-changes/batch-declarative-schedule-cleanup.md delete mode 100644 .server-changes/batch-item-streaming-rate-limit.md delete mode 100644 .server-changes/clamp-run-priority.md delete mode 100644 .server-changes/collapse-trigger-queued-snapshot.md delete mode 100644 .server-changes/debounce-hidden-ceiling.md delete mode 100644 .server-changes/deeplink-routes.md delete mode 100644 .server-changes/faster-schedule-validation-lookup.md delete mode 100644 .server-changes/fix-database-connect-timeout.md delete mode 100644 .server-changes/fix-runs-list-batch-drop-on-unparseable-json.md delete mode 100644 .server-changes/fix-sidebar-feedback.md delete mode 100644 .server-changes/impersonation-consent-and-view-as-user.md delete mode 100644 .server-changes/light-theme.md delete mode 100644 .server-changes/multi-task-scope-enforcement.md delete mode 100644 .server-changes/page-tab-titles.md delete mode 100644 .server-changes/per-client-connection-timeouts.md delete mode 100644 .server-changes/plain-graphql-migration.md delete mode 100644 .server-changes/pod-count-exact-list.md delete mode 100644 .server-changes/public-token-additional-api-keys.md delete mode 100644 .server-changes/queue-metrics-remember-period.md delete mode 100644 .server-changes/queues-page-environment-wide-charts.md delete mode 100644 .server-changes/reject-benchmarking-webhook-addresses.md delete mode 100644 .server-changes/report-messages-not-treeshaken.md delete mode 100644 .server-changes/run-create-no-interactive-tx.md delete mode 100644 .server-changes/scoped-environment-api-key-auth.md delete mode 100644 .server-changes/sso-directory-sync-dev-environments.md delete mode 100644 .server-changes/strip-null-bytes-trigger-keys.md delete mode 100644 .server-changes/supervisor-run-pod-tolerations.md delete mode 100644 .server-changes/worker-deployment-lookup-ordering.md diff --git a/.changeset/batch-trigger-debounce.md b/.changeset/batch-trigger-debounce.md deleted file mode 100644 index ccda1f7898..0000000000 --- a/.changeset/batch-trigger-debounce.md +++ /dev/null @@ -1,15 +0,0 @@ ---- -"@trigger.dev/sdk": patch -"@trigger.dev/react-hooks": patch ---- - -`debounce` now works when you pass an array of items to `batchTrigger` or `batchTriggerAndWait`, and when you trigger from `useTaskTrigger`. Previously the option was accepted by the types and dropped before the request was sent, so every trigger created its own run instead of collapsing onto the debounce key. - -```ts -await myTask.batchTrigger([ - { payload: { id: "a" }, options: { debounce: { key: "same-key", delay: "30s" } } }, - { payload: { id: "b" }, options: { debounce: { key: "same-key", delay: "30s" } } }, -]); -``` - -The streaming (async iterable) forms of the batch calls were already forwarding `debounce` correctly. diff --git a/.changeset/chat-agent-preload-oom-recovery.md b/.changeset/chat-agent-preload-oom-recovery.md deleted file mode 100644 index 7885a3530a..0000000000 --- a/.changeset/chat-agent-preload-oom-recovery.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@trigger.dev/sdk": patch ---- - -Fix a preloaded `chat.agent` run dropping an in-flight message when it retries after an out-of-memory error. The message being processed when the run hit the OOM is now recovered and re-run on the retry, instead of being skipped while the run waited for a new message. diff --git a/.changeset/chat-handover-cursor-off-by-one.md b/.changeset/chat-handover-cursor-off-by-one.md deleted file mode 100644 index 6829d113d7..0000000000 --- a/.changeset/chat-handover-cursor-off-by-one.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@trigger.dev/core": patch ---- - -Fix a chunk occasionally dropped when a chat.agent run takes over from the warm first turn. The realtime stream writer now reports the inclusive last-written position as the resume cursor, so the agent's first record after the handover is no longer skipped. diff --git a/.changeset/chat-session-caught-up-resume.md b/.changeset/chat-session-caught-up-resume.md deleted file mode 100644 index b405bf6047..0000000000 --- a/.changeset/chat-session-caught-up-resume.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@trigger.dev/core": patch -"@trigger.dev/sdk": patch -"trigger.dev": patch ---- - -`AgentChat.reconnect()` now settles promptly when reconnecting to an idle chat instead of holding the connection open for the full long-poll window. Also upgrades the S2 streamstore client to 0.25 and moves realtime streams to S2's current hosts. diff --git a/.changeset/friendly-keys-batch-tokens.md b/.changeset/friendly-keys-batch-tokens.md deleted file mode 100644 index 90506d48d2..0000000000 --- a/.changeset/friendly-keys-batch-tokens.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@trigger.dev/core": patch -"@trigger.dev/sdk": patch ---- - -Allow task-scoped environment API keys to run batch operations for their permitted tasks. The SDK declares the batch's task set before creation, and `@trigger.dev/core/v3/apiKeys` now exports the additional-key format helper. diff --git a/.changeset/mcp-trigger-task-region.md b/.changeset/mcp-trigger-task-region.md deleted file mode 100644 index 56e362eb1f..0000000000 --- a/.changeset/mcp-trigger-task-region.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"trigger.dev": patch ---- - -You can now choose the region a run executes in when triggering a task through the MCP server. diff --git a/.changeset/retry-run-start-on-connection-error.md b/.changeset/retry-run-start-on-connection-error.md deleted file mode 100644 index 3624ee1b7c..0000000000 --- a/.changeset/retry-run-start-on-connection-error.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@trigger.dev/core": patch ---- - -Transient connection errors when a run starts are now retried for longer, so a brief connectivity blip no longer sends the run back through the queue and delays its first attempt. diff --git a/.changeset/typescript-seven-builds.md b/.changeset/typescript-seven-builds.md deleted file mode 100644 index 6840640983..0000000000 --- a/.changeset/typescript-seven-builds.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -"trigger.dev": patch -"@trigger.dev/build": patch -"@trigger.dev/core": patch -"@trigger.dev/python": patch -"@trigger.dev/react-hooks": patch -"@trigger.dev/redis-worker": patch -"@trigger.dev/rsc": patch -"@trigger.dev/schema-to-json": patch -"@trigger.dev/sdk": patch ---- - -Refresh package builds for TypeScript 7 compatibility while preserving existing runtime entry points. Projects using `emitDecoratorMetadata()` with TypeScript 7 can install the `@typescript/typescript6` compatibility package alongside it; the package remains optional, so installing the Trigger.dev CLI does not install an additional compiler. diff --git a/.server-changes/additional-api-key-rate-limit-bucket.md b/.server-changes/additional-api-key-rate-limit-bucket.md deleted file mode 100644 index d67a3b8e2a..0000000000 --- a/.server-changes/additional-api-key-rate-limit-bucket.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -area: webapp -type: fix ---- - -API rate limits now apply per environment, so creating extra API keys no longer increases how many requests an environment can make. diff --git a/.server-changes/api-key-deploy-envvars-presets.md b/.server-changes/api-key-deploy-envvars-presets.md deleted file mode 100644 index cd7a739e32..0000000000 --- a/.server-changes/api-key-deploy-envvars-presets.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -area: webapp -type: feature ---- - -Self-hosted deployments can now create multiple full-access API keys for each environment. diff --git a/.server-changes/backpressure-hold-last-verdict.md b/.server-changes/backpressure-hold-last-verdict.md deleted file mode 100644 index 18f3ca7fc5..0000000000 --- a/.server-changes/backpressure-hold-last-verdict.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -area: supervisor -type: fix ---- - -When the capacity signal drops out, the last decision is held for a grace period rather than released. diff --git a/.server-changes/batch-declarative-schedule-cleanup.md b/.server-changes/batch-declarative-schedule-cleanup.md deleted file mode 100644 index f13f5e2759..0000000000 --- a/.server-changes/batch-declarative-schedule-cleanup.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -area: webapp -type: improvement ---- - -Lower background database load during deployments and dev sessions for projects that use declarative schedules. diff --git a/.server-changes/batch-item-streaming-rate-limit.md b/.server-changes/batch-item-streaming-rate-limit.md deleted file mode 100644 index f817195e9b..0000000000 --- a/.server-changes/batch-item-streaming-rate-limit.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -area: webapp -type: fix ---- - -Batch triggers no longer fail to start their runs when an environment is under heavy API load. If a batch still can't finish being created, `batchTriggerAndWait` now fails with an error instead of leaving the parent run waiting forever, and the batches page says so rather than reporting that it resumed. diff --git a/.server-changes/clamp-run-priority.md b/.server-changes/clamp-run-priority.md deleted file mode 100644 index c457de850e..0000000000 --- a/.server-changes/clamp-run-priority.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -area: webapp -type: fix ---- - -Triggering a run with a very large `priority` no longer fails. The priority is now capped to the highest supported value instead of erroring out. diff --git a/.server-changes/collapse-trigger-queued-snapshot.md b/.server-changes/collapse-trigger-queued-snapshot.md deleted file mode 100644 index dffc9671e6..0000000000 --- a/.server-changes/collapse-trigger-queued-snapshot.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -area: webapp -type: improvement ---- - -Triggering a task now does one fewer database write, so runs reach the queue slightly faster. diff --git a/.server-changes/debounce-hidden-ceiling.md b/.server-changes/debounce-hidden-ceiling.md deleted file mode 100644 index 26a4188e85..0000000000 --- a/.server-changes/debounce-hidden-ceiling.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -area: webapp -type: fix ---- - -Fix debounce doing nothing when the delay was longer than an hour, which made every trigger -create its own run instead of collapsing onto the debounce key. Debounced runs now keep being -pushed back for as long as triggers keep arriving, so set `maxDelay` when the work has to happen -eventually, and settings that could never debounce are rejected rather than silently ignored. diff --git a/.server-changes/deeplink-routes.md b/.server-changes/deeplink-routes.md deleted file mode 100644 index 81367d655f..0000000000 --- a/.server-changes/deeplink-routes.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -area: webapp -type: feature ---- - -Short links like /_/apikeys now take you straight to that page in your current project and environment, so you no longer need the full URL with your org, project and environment in it. diff --git a/.server-changes/faster-schedule-validation-lookup.md b/.server-changes/faster-schedule-validation-lookup.md deleted file mode 100644 index db83ef6b00..0000000000 --- a/.server-changes/faster-schedule-validation-lookup.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -area: webapp -type: improvement ---- - -Creating or updating a schedule, and deploying a project with declarative schedules, is faster in long-lived projects with many deploys. diff --git a/.server-changes/fix-database-connect-timeout.md b/.server-changes/fix-database-connect-timeout.md deleted file mode 100644 index 9f46e012d4..0000000000 --- a/.server-changes/fix-database-connect-timeout.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -area: webapp -type: fix ---- - -Honor the configured database connection timeout so brief connection spikes no longer surface as spurious "can't reach database server" errors. diff --git a/.server-changes/fix-runs-list-batch-drop-on-unparseable-json.md b/.server-changes/fix-runs-list-batch-drop-on-unparseable-json.md deleted file mode 100644 index fe56e60951..0000000000 --- a/.server-changes/fix-runs-list-batch-drop-on-unparseable-json.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -area: webapp -type: fix ---- - -Fixed a rare case where a single run or span carrying data that could not be ingested would make other runs or trace events in the same batch go missing from the runs list, traces, and logs. Now the rest of the batch is always kept: an affected run still appears with its status (only its un-ingestable output is dropped), and an affected trace event or payload is skipped instead of taking down everything around it. diff --git a/.server-changes/fix-sidebar-feedback.md b/.server-changes/fix-sidebar-feedback.md deleted file mode 100644 index 066332c031..0000000000 --- a/.server-changes/fix-sidebar-feedback.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -area: webapp -type: fix ---- - -Fix the sidebar "Help & Feedback → Contact us" form sometimes not sending your message. It now sends reliably every time. diff --git a/.server-changes/impersonation-consent-and-view-as-user.md b/.server-changes/impersonation-consent-and-view-as-user.md deleted file mode 100644 index 232e97e8b9..0000000000 --- a/.server-changes/impersonation-consent-and-view-as-user.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -area: webapp -type: improvement ---- - -Admins opening an impersonation link from outside the dashboard now get a confirmation page naming the organization and destination instead of being bounced back, and while impersonating they can switch to "View as user" to see the dashboard exactly as that user sees it, with the admin-only UI and the impersonation highlight both hidden. Stopping impersonation is still one click away in the account menu. diff --git a/.server-changes/light-theme.md b/.server-changes/light-theme.md deleted file mode 100644 index 39d4f5892d..0000000000 --- a/.server-changes/light-theme.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -area: webapp -type: feature ---- - -The dashboard gets a refreshed Dark theme as its new default look. On the account page you can switch to Light, System preference (follows your OS), or the original Classic look, and fine-tune the new themes with a contrast slider. diff --git a/.server-changes/multi-task-scope-enforcement.md b/.server-changes/multi-task-scope-enforcement.md deleted file mode 100644 index 27e31cf5ec..0000000000 --- a/.server-changes/multi-task-scope-enforcement.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -area: webapp -type: fix ---- - -Requests spanning multiple tasks now require permission for every requested task instead of accepting permission for only one task. diff --git a/.server-changes/page-tab-titles.md b/.server-changes/page-tab-titles.md deleted file mode 100644 index 78cb5b53bc..0000000000 --- a/.server-changes/page-tab-titles.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -area: webapp -type: improvement ---- - -Browser tabs now name the page you're on, and the run, task or queue when you're looking at one, instead of all reading "Trigger.dev". diff --git a/.server-changes/per-client-connection-timeouts.md b/.server-changes/per-client-connection-timeouts.md deleted file mode 100644 index 60da30a655..0000000000 --- a/.server-changes/per-client-connection-timeouts.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -area: webapp -type: improvement ---- - -Allow the database connection pool and connect timeouts to be tuned separately for each database's writer and read replica, falling back to the shared defaults when unset. diff --git a/.server-changes/plain-graphql-migration.md b/.server-changes/plain-graphql-migration.md deleted file mode 100644 index 81468a9144..0000000000 --- a/.server-changes/plain-graphql-migration.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -area: webapp -type: improvement ---- - -In-app feedback and add-on/quota requests are now recorded with more account context for the support team. diff --git a/.server-changes/pod-count-exact-list.md b/.server-changes/pod-count-exact-list.md deleted file mode 100644 index d739f8d120..0000000000 --- a/.server-changes/pod-count-exact-list.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -area: supervisor -type: improvement ---- - -Self-hosted Kubernetes deployments now measure running-task count more accurately when deciding whether to pause pulling new work, so the safeguard engages closer to its configured thresholds. diff --git a/.server-changes/public-token-additional-api-keys.md b/.server-changes/public-token-additional-api-keys.md deleted file mode 100644 index 79b7f7d4a1..0000000000 --- a/.server-changes/public-token-additional-api-keys.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -area: webapp -type: feature ---- - -Additional environment API keys can now create scoped public access tokens. diff --git a/.server-changes/queue-metrics-remember-period.md b/.server-changes/queue-metrics-remember-period.md deleted file mode 100644 index 339d3139c8..0000000000 --- a/.server-changes/queue-metrics-remember-period.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -area: webapp -type: improvement ---- - -The Queues pages now open on the last hour instead of the last day, and remember the time period you picked when you navigate between queues or reload the page. diff --git a/.server-changes/queues-page-environment-wide-charts.md b/.server-changes/queues-page-environment-wide-charts.md deleted file mode 100644 index bb3d8ea5da..0000000000 --- a/.server-changes/queues-page-environment-wide-charts.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -area: webapp -type: fix ---- - -The four charts at the top of the Queues page now always cover the whole environment, so paging through or re-sorting your queues no longer changes them. The scheduling delay chart also leaves a gap where no runs started, instead of dropping to zero. diff --git a/.server-changes/reject-benchmarking-webhook-addresses.md b/.server-changes/reject-benchmarking-webhook-addresses.md deleted file mode 100644 index 32d7792c74..0000000000 --- a/.server-changes/reject-benchmarking-webhook-addresses.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -area: webapp -type: fix ---- - -Reject alert webhook destinations in reserved benchmarking IP ranges. diff --git a/.server-changes/report-messages-not-treeshaken.md b/.server-changes/report-messages-not-treeshaken.md deleted file mode 100644 index b599e84f1c..0000000000 --- a/.server-changes/report-messages-not-treeshaken.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -area: webapp -type: fix ---- - -Fix the health report failing with an internal error when requested through the API. diff --git a/.server-changes/run-create-no-interactive-tx.md b/.server-changes/run-create-no-interactive-tx.md deleted file mode 100644 index a8194c2f5b..0000000000 --- a/.server-changes/run-create-no-interactive-tx.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -area: webapp -type: fix ---- - -Triggering a task no longer intermittently fails to create the run when a database write briefly stalls. diff --git a/.server-changes/scoped-environment-api-key-auth.md b/.server-changes/scoped-environment-api-key-auth.md deleted file mode 100644 index 948f44d197..0000000000 --- a/.server-changes/scoped-environment-api-key-auth.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -area: webapp -type: feature ---- - -Additional environment API keys can authenticate API requests using their configured permissions, with revoked and expired keys rejected. Batch responses use server-issued public access tokens so additional keys never need the environment signing secret. diff --git a/.server-changes/sso-directory-sync-dev-environments.md b/.server-changes/sso-directory-sync-dev-environments.md deleted file mode 100644 index 072482b8b1..0000000000 --- a/.server-changes/sso-directory-sync-dev-environments.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -area: webapp -type: fix ---- - -Team members who join an organization through single sign-on or directory sync now get their own development environment for every project, so the dashboard's dev view and `trigger dev` become available to them without an admin having to set anything up. Members who were already missing one are repaired the next time their membership is synced from your identity provider. diff --git a/.server-changes/strip-null-bytes-trigger-keys.md b/.server-changes/strip-null-bytes-trigger-keys.md deleted file mode 100644 index 2ffa5b86f1..0000000000 --- a/.server-changes/strip-null-bytes-trigger-keys.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -area: webapp -type: fix ---- - -Fixed a rare error where triggering a task could fail if the idempotency key or debounce key contained an invalid null character. The character is now removed automatically and the run is created as normal. diff --git a/.server-changes/supervisor-run-pod-tolerations.md b/.server-changes/supervisor-run-pod-tolerations.md deleted file mode 100644 index 885b2b596d..0000000000 --- a/.server-changes/supervisor-run-pod-tolerations.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -area: supervisor -type: feature ---- - -Self-hosted Kubernetes deployments can now add tolerations to run pods, so runs are allowed onto tainted nodes. An invalid toleration now stops the supervisor at startup instead of failing every run pod, so check existing values before upgrading. diff --git a/.server-changes/worker-deployment-lookup-ordering.md b/.server-changes/worker-deployment-lookup-ordering.md deleted file mode 100644 index 1dbfbdd253..0000000000 --- a/.server-changes/worker-deployment-lookup-ordering.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -area: webapp -type: improvement ---- - -Speeds up resolving the latest worker version and deployment for an environment, removing an occasional stall when triggering runs in projects that have accumulated many deployed versions. diff --git a/hosting/k8s/helm/Chart.yaml b/hosting/k8s/helm/Chart.yaml index a1c547e5e6..69254c98e9 100644 --- a/hosting/k8s/helm/Chart.yaml +++ b/hosting/k8s/helm/Chart.yaml @@ -2,8 +2,8 @@ apiVersion: v2 name: trigger description: The official Trigger.dev Helm chart type: application -version: 4.5.9 -appVersion: v4.5.9 +version: 4.5.10 +appVersion: v4.5.10 home: https://trigger.dev sources: - https://github.com/triggerdotdev/trigger.dev diff --git a/packages/build/CHANGELOG.md b/packages/build/CHANGELOG.md index 86758b44ec..9e025d5509 100644 --- a/packages/build/CHANGELOG.md +++ b/packages/build/CHANGELOG.md @@ -1,5 +1,13 @@ # @trigger.dev/build +## 4.5.10 + +### Patch Changes + +- Refresh package builds for TypeScript 7 compatibility while preserving existing runtime entry points. Projects using `emitDecoratorMetadata()` with TypeScript 7 can install the `@typescript/typescript6` compatibility package alongside it; the package remains optional, so installing the Trigger.dev CLI does not install an additional compiler. ([#4318](https://github.com/triggerdotdev/trigger.dev/pull/4318)) +- Updated dependencies: + - `@trigger.dev/core@4.5.10` + ## 4.5.9 ### Patch Changes diff --git a/packages/build/package.json b/packages/build/package.json index 9f506b244c..728dc6d037 100644 --- a/packages/build/package.json +++ b/packages/build/package.json @@ -1,6 +1,6 @@ { "name": "@trigger.dev/build", - "version": "4.5.9", + "version": "4.5.10", "description": "trigger.dev build extensions", "license": "MIT", "publishConfig": { @@ -79,7 +79,7 @@ }, "dependencies": { "@prisma/config": "^6.10.0", - "@trigger.dev/core": "workspace:4.5.9", + "@trigger.dev/core": "workspace:4.5.10", "mlly": "^1.7.1", "pkg-types": "^1.1.3", "resolve": "^1.22.8", diff --git a/packages/cli-v3/CHANGELOG.md b/packages/cli-v3/CHANGELOG.md index 2305a7b0fd..b5c0550ac0 100644 --- a/packages/cli-v3/CHANGELOG.md +++ b/packages/cli-v3/CHANGELOG.md @@ -1,5 +1,17 @@ # trigger.dev +## 4.5.10 + +### Patch Changes + +- `AgentChat.reconnect()` now settles promptly when reconnecting to an idle chat instead of holding the connection open for the full long-poll window. Also upgrades the S2 streamstore client to 0.25 and moves realtime streams to S2's current hosts. ([#4349](https://github.com/triggerdotdev/trigger.dev/pull/4349)) +- You can now choose the region a run executes in when triggering a task through the MCP server. ([#4439](https://github.com/triggerdotdev/trigger.dev/pull/4439)) +- Refresh package builds for TypeScript 7 compatibility while preserving existing runtime entry points. Projects using `emitDecoratorMetadata()` with TypeScript 7 can install the `@typescript/typescript6` compatibility package alongside it; the package remains optional, so installing the Trigger.dev CLI does not install an additional compiler. ([#4318](https://github.com/triggerdotdev/trigger.dev/pull/4318)) +- Updated dependencies: + - `@trigger.dev/core@4.5.10` + - `@trigger.dev/build@4.5.10` + - `@trigger.dev/schema-to-json@4.5.10` + ## 4.5.9 ### Patch Changes diff --git a/packages/cli-v3/package.json b/packages/cli-v3/package.json index f6c5e82d92..9cb78308f4 100644 --- a/packages/cli-v3/package.json +++ b/packages/cli-v3/package.json @@ -1,6 +1,6 @@ { "name": "trigger.dev", - "version": "4.5.9", + "version": "4.5.10", "description": "A Command-Line Interface for Trigger.dev projects", "type": "module", "license": "MIT", @@ -96,9 +96,9 @@ "@opentelemetry/sdk-trace-node": "2.7.1", "@opentelemetry/semantic-conventions": "1.41.1", "@s2-dev/streamstore": "^0.25.0", - "@trigger.dev/build": "workspace:4.5.9", - "@trigger.dev/core": "workspace:4.5.9", - "@trigger.dev/schema-to-json": "workspace:4.5.9", + "@trigger.dev/build": "workspace:4.5.10", + "@trigger.dev/core": "workspace:4.5.10", + "@trigger.dev/schema-to-json": "workspace:4.5.10", "ansi-escapes": "^7.0.0", "braces": "^3.0.3", "c12": "^1.11.1", diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index b1a86d8356..249adc8e10 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,5 +1,15 @@ # internal-platform +## 4.5.10 + +### Patch Changes + +- Fix a chunk occasionally dropped when a chat.agent run takes over from the warm first turn. The realtime stream writer now reports the inclusive last-written position as the resume cursor, so the agent's first record after the handover is no longer skipped. ([#4349](https://github.com/triggerdotdev/trigger.dev/pull/4349)) +- `AgentChat.reconnect()` now settles promptly when reconnecting to an idle chat instead of holding the connection open for the full long-poll window. Also upgrades the S2 streamstore client to 0.25 and moves realtime streams to S2's current hosts. ([#4349](https://github.com/triggerdotdev/trigger.dev/pull/4349)) +- Allow task-scoped environment API keys to run batch operations for their permitted tasks. The SDK declares the batch's task set before creation, and `@trigger.dev/core/v3/apiKeys` now exports the additional-key format helper. ([#4389](https://github.com/triggerdotdev/trigger.dev/pull/4389)) +- Transient connection errors when a run starts are now retried for longer, so a brief connectivity blip no longer sends the run back through the queue and delays its first attempt. ([#4441](https://github.com/triggerdotdev/trigger.dev/pull/4441)) +- Refresh package builds for TypeScript 7 compatibility while preserving existing runtime entry points. Projects using `emitDecoratorMetadata()` with TypeScript 7 can install the `@typescript/typescript6` compatibility package alongside it; the package remains optional, so installing the Trigger.dev CLI does not install an additional compiler. ([#4318](https://github.com/triggerdotdev/trigger.dev/pull/4318)) + ## 4.5.9 ### Patch Changes diff --git a/packages/core/package.json b/packages/core/package.json index e079342480..8222f3c701 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@trigger.dev/core", - "version": "4.5.9", + "version": "4.5.10", "description": "Core code used across the Trigger.dev SDK and platform", "license": "MIT", "publishConfig": { diff --git a/packages/python/CHANGELOG.md b/packages/python/CHANGELOG.md index 5ed18bb505..9f96893e7a 100644 --- a/packages/python/CHANGELOG.md +++ b/packages/python/CHANGELOG.md @@ -1,5 +1,15 @@ # @trigger.dev/python +## 4.5.10 + +### Patch Changes + +- Refresh package builds for TypeScript 7 compatibility while preserving existing runtime entry points. Projects using `emitDecoratorMetadata()` with TypeScript 7 can install the `@typescript/typescript6` compatibility package alongside it; the package remains optional, so installing the Trigger.dev CLI does not install an additional compiler. ([#4318](https://github.com/triggerdotdev/trigger.dev/pull/4318)) +- Updated dependencies: + - `@trigger.dev/sdk@4.5.10` + - `@trigger.dev/core@4.5.10` + - `@trigger.dev/build@4.5.10` + ## 4.5.9 ### Patch Changes diff --git a/packages/python/package.json b/packages/python/package.json index 40c0916031..fae20d9b28 100644 --- a/packages/python/package.json +++ b/packages/python/package.json @@ -1,6 +1,6 @@ { "name": "@trigger.dev/python", - "version": "4.5.9", + "version": "4.5.10", "description": "Python runtime and build extension for Trigger.dev", "license": "MIT", "publishConfig": { @@ -45,7 +45,7 @@ "check-exports": "attw --pack ." }, "dependencies": { - "@trigger.dev/core": "workspace:4.5.9", + "@trigger.dev/core": "workspace:4.5.10", "tinyexec": "^0.3.2" }, "devDependencies": { @@ -56,12 +56,12 @@ "tsx": "4.17.0", "esbuild": "^0.23.0", "@arethetypeswrong/cli": "^0.18.5", - "@trigger.dev/build": "workspace:4.5.9", - "@trigger.dev/sdk": "workspace:4.5.9" + "@trigger.dev/build": "workspace:4.5.10", + "@trigger.dev/sdk": "workspace:4.5.10" }, "peerDependencies": { - "@trigger.dev/sdk": "workspace:^4.5.9", - "@trigger.dev/build": "workspace:^4.5.9" + "@trigger.dev/sdk": "workspace:^4.5.10", + "@trigger.dev/build": "workspace:^4.5.10" }, "engines": { "node": ">=18.20.0" diff --git a/packages/react-hooks/CHANGELOG.md b/packages/react-hooks/CHANGELOG.md index 7f61711e1d..9edffe83cd 100644 --- a/packages/react-hooks/CHANGELOG.md +++ b/packages/react-hooks/CHANGELOG.md @@ -1,5 +1,30 @@ # @trigger.dev/react-hooks +## 4.5.10 + +### Patch Changes + +- `debounce` now works when you pass an array of items to `batchTrigger` or `batchTriggerAndWait`, and when you trigger from `useTaskTrigger`. Previously the option was accepted by the types and dropped before the request was sent, so every trigger created its own run instead of collapsing onto the debounce key. ([#4520](https://github.com/triggerdotdev/trigger.dev/pull/4520)) + + ```ts + await myTask.batchTrigger([ + { + payload: { id: "a" }, + options: { debounce: { key: "same-key", delay: "30s" } }, + }, + { + payload: { id: "b" }, + options: { debounce: { key: "same-key", delay: "30s" } }, + }, + ]); + ``` + + The streaming (async iterable) forms of the batch calls were already forwarding `debounce` correctly. + +- Refresh package builds for TypeScript 7 compatibility while preserving existing runtime entry points. Projects using `emitDecoratorMetadata()` with TypeScript 7 can install the `@typescript/typescript6` compatibility package alongside it; the package remains optional, so installing the Trigger.dev CLI does not install an additional compiler. ([#4318](https://github.com/triggerdotdev/trigger.dev/pull/4318)) +- Updated dependencies: + - `@trigger.dev/core@4.5.10` + ## 4.5.9 ### Patch Changes diff --git a/packages/react-hooks/package.json b/packages/react-hooks/package.json index fe3afa35fb..5ecff9155b 100644 --- a/packages/react-hooks/package.json +++ b/packages/react-hooks/package.json @@ -1,6 +1,6 @@ { "name": "@trigger.dev/react-hooks", - "version": "4.5.9", + "version": "4.5.10", "description": "trigger.dev react hooks", "license": "MIT", "publishConfig": { @@ -37,7 +37,7 @@ "check-exports": "attw --pack ." }, "dependencies": { - "@trigger.dev/core": "workspace:^4.5.9", + "@trigger.dev/core": "workspace:^4.5.10", "swr": "^2.2.5" }, "devDependencies": { diff --git a/packages/redis-worker/CHANGELOG.md b/packages/redis-worker/CHANGELOG.md index a16a30bfda..034d088c69 100644 --- a/packages/redis-worker/CHANGELOG.md +++ b/packages/redis-worker/CHANGELOG.md @@ -1,5 +1,13 @@ # @trigger.dev/redis-worker +## 4.5.10 + +### Patch Changes + +- Refresh package builds for TypeScript 7 compatibility while preserving existing runtime entry points. Projects using `emitDecoratorMetadata()` with TypeScript 7 can install the `@typescript/typescript6` compatibility package alongside it; the package remains optional, so installing the Trigger.dev CLI does not install an additional compiler. ([#4318](https://github.com/triggerdotdev/trigger.dev/pull/4318)) +- Updated dependencies: + - `@trigger.dev/core@4.5.10` + ## 4.5.9 ### Patch Changes diff --git a/packages/redis-worker/package.json b/packages/redis-worker/package.json index 448e892178..dd3cf0c706 100644 --- a/packages/redis-worker/package.json +++ b/packages/redis-worker/package.json @@ -1,6 +1,6 @@ { "name": "@trigger.dev/redis-worker", - "version": "4.5.9", + "version": "4.5.10", "description": "Redis worker for trigger.dev", "license": "MIT", "publishConfig": { @@ -23,7 +23,7 @@ "test": "vitest --sequence.concurrent=false --no-file-parallelism" }, "dependencies": { - "@trigger.dev/core": "workspace:4.5.9", + "@trigger.dev/core": "workspace:4.5.10", "lodash.omit": "^4.5.0", "nanoid": "^5.0.7", "p-limit": "^6.2.0", diff --git a/packages/rsc/CHANGELOG.md b/packages/rsc/CHANGELOG.md index 113bca6feb..1661623710 100644 --- a/packages/rsc/CHANGELOG.md +++ b/packages/rsc/CHANGELOG.md @@ -1,5 +1,13 @@ # @trigger.dev/rsc +## 4.5.10 + +### Patch Changes + +- Refresh package builds for TypeScript 7 compatibility while preserving existing runtime entry points. Projects using `emitDecoratorMetadata()` with TypeScript 7 can install the `@typescript/typescript6` compatibility package alongside it; the package remains optional, so installing the Trigger.dev CLI does not install an additional compiler. ([#4318](https://github.com/triggerdotdev/trigger.dev/pull/4318)) +- Updated dependencies: + - `@trigger.dev/core@4.5.10` + ## 4.5.9 ### Patch Changes diff --git a/packages/rsc/package.json b/packages/rsc/package.json index a621ed1b83..e738351f94 100644 --- a/packages/rsc/package.json +++ b/packages/rsc/package.json @@ -1,6 +1,6 @@ { "name": "@trigger.dev/rsc", - "version": "4.5.9", + "version": "4.5.10", "description": "trigger.dev rsc", "license": "MIT", "publishConfig": { @@ -37,14 +37,14 @@ "check-exports": "attw --pack ." }, "dependencies": { - "@trigger.dev/core": "workspace:^4.5.9", + "@trigger.dev/core": "workspace:^4.5.10", "mlly": "^1.7.1", "react": "19.0.0-rc.1", "react-dom": "19.0.0-rc.1" }, "devDependencies": { "@arethetypeswrong/cli": "^0.18.5", - "@trigger.dev/build": "workspace:^4.5.9", + "@trigger.dev/build": "workspace:^4.5.10", "@types/node": "^24.13.3", "@types/react": "*", "@types/react-dom": "*", diff --git a/packages/schema-to-json/CHANGELOG.md b/packages/schema-to-json/CHANGELOG.md index 0b5f9548c0..3436a9f2c0 100644 --- a/packages/schema-to-json/CHANGELOG.md +++ b/packages/schema-to-json/CHANGELOG.md @@ -1,5 +1,13 @@ # @trigger.dev/schema-to-json +## 4.5.10 + +### Patch Changes + +- Refresh package builds for TypeScript 7 compatibility while preserving existing runtime entry points. Projects using `emitDecoratorMetadata()` with TypeScript 7 can install the `@typescript/typescript6` compatibility package alongside it; the package remains optional, so installing the Trigger.dev CLI does not install an additional compiler. ([#4318](https://github.com/triggerdotdev/trigger.dev/pull/4318)) +- Updated dependencies: + - `@trigger.dev/core@4.5.10` + ## 4.5.9 ### Patch Changes diff --git a/packages/schema-to-json/package.json b/packages/schema-to-json/package.json index d1275b5197..f241baa10c 100644 --- a/packages/schema-to-json/package.json +++ b/packages/schema-to-json/package.json @@ -1,6 +1,6 @@ { "name": "@trigger.dev/schema-to-json", - "version": "4.5.9", + "version": "4.5.10", "description": "Convert various schema validation libraries to JSON Schema", "license": "MIT", "publishConfig": { diff --git a/packages/trigger-sdk/CHANGELOG.md b/packages/trigger-sdk/CHANGELOG.md index 9abce6e7ee..571c438d95 100644 --- a/packages/trigger-sdk/CHANGELOG.md +++ b/packages/trigger-sdk/CHANGELOG.md @@ -1,5 +1,33 @@ # @trigger.dev/sdk +## 4.5.10 + +### Patch Changes + +- `debounce` now works when you pass an array of items to `batchTrigger` or `batchTriggerAndWait`, and when you trigger from `useTaskTrigger`. Previously the option was accepted by the types and dropped before the request was sent, so every trigger created its own run instead of collapsing onto the debounce key. ([#4520](https://github.com/triggerdotdev/trigger.dev/pull/4520)) + + ```ts + await myTask.batchTrigger([ + { + payload: { id: "a" }, + options: { debounce: { key: "same-key", delay: "30s" } }, + }, + { + payload: { id: "b" }, + options: { debounce: { key: "same-key", delay: "30s" } }, + }, + ]); + ``` + + The streaming (async iterable) forms of the batch calls were already forwarding `debounce` correctly. + +- Fix a preloaded `chat.agent` run dropping an in-flight message when it retries after an out-of-memory error. The message being processed when the run hit the OOM is now recovered and re-run on the retry, instead of being skipped while the run waited for a new message. ([#4349](https://github.com/triggerdotdev/trigger.dev/pull/4349)) +- `AgentChat.reconnect()` now settles promptly when reconnecting to an idle chat instead of holding the connection open for the full long-poll window. Also upgrades the S2 streamstore client to 0.25 and moves realtime streams to S2's current hosts. ([#4349](https://github.com/triggerdotdev/trigger.dev/pull/4349)) +- Allow task-scoped environment API keys to run batch operations for their permitted tasks. The SDK declares the batch's task set before creation, and `@trigger.dev/core/v3/apiKeys` now exports the additional-key format helper. ([#4389](https://github.com/triggerdotdev/trigger.dev/pull/4389)) +- Refresh package builds for TypeScript 7 compatibility while preserving existing runtime entry points. Projects using `emitDecoratorMetadata()` with TypeScript 7 can install the `@typescript/typescript6` compatibility package alongside it; the package remains optional, so installing the Trigger.dev CLI does not install an additional compiler. ([#4318](https://github.com/triggerdotdev/trigger.dev/pull/4318)) +- Updated dependencies: + - `@trigger.dev/core@4.5.10` + ## 4.5.9 ### Patch Changes diff --git a/packages/trigger-sdk/package.json b/packages/trigger-sdk/package.json index 3623d282c9..60f77a3c4d 100644 --- a/packages/trigger-sdk/package.json +++ b/packages/trigger-sdk/package.json @@ -1,6 +1,6 @@ { "name": "@trigger.dev/sdk", - "version": "4.5.9", + "version": "4.5.10", "description": "trigger.dev Node.JS SDK", "license": "MIT", "publishConfig": { @@ -77,7 +77,7 @@ "dependencies": { "@opentelemetry/api": "1.9.1", "@opentelemetry/semantic-conventions": "1.41.1", - "@trigger.dev/core": "workspace:4.5.9", + "@trigger.dev/core": "workspace:4.5.10", "chalk": "^5.2.0", "cronstrue": "^2.21.0", "debug": "^4.3.4", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 86ed809013..bbd5d308a9 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1489,7 +1489,7 @@ importers: specifier: ^6.10.0 version: 6.19.0(magicast@0.3.5) '@trigger.dev/core': - specifier: workspace:4.5.9 + specifier: workspace:4.5.10 version: link:../core mlly: specifier: ^1.7.1 @@ -1577,13 +1577,13 @@ importers: specifier: ^0.25.0 version: 0.25.0(supports-color@10.0.0) '@trigger.dev/build': - specifier: workspace:4.5.9 + specifier: workspace:4.5.10 version: link:../build '@trigger.dev/core': - specifier: workspace:4.5.9 + specifier: workspace:4.5.10 version: link:../core '@trigger.dev/schema-to-json': - specifier: workspace:4.5.9 + specifier: workspace:4.5.10 version: link:../schema-to-json ansi-escapes: specifier: ^7.0.0 @@ -1970,7 +1970,7 @@ importers: packages/python: dependencies: '@trigger.dev/core': - specifier: workspace:4.5.9 + specifier: workspace:4.5.10 version: link:../core tinyexec: specifier: ^0.3.2 @@ -1980,10 +1980,10 @@ importers: specifier: ^0.18.5 version: 0.18.5 '@trigger.dev/build': - specifier: workspace:4.5.9 + specifier: workspace:4.5.10 version: link:../build '@trigger.dev/sdk': - specifier: workspace:4.5.9 + specifier: workspace:4.5.10 version: link:../trigger-sdk '@types/node': specifier: 24.13.3 @@ -2007,7 +2007,7 @@ importers: packages/react-hooks: dependencies: '@trigger.dev/core': - specifier: workspace:^4.5.9 + specifier: workspace:^4.5.10 version: link:../core react: specifier: 18.3.1 @@ -2041,7 +2041,7 @@ importers: packages/redis-worker: dependencies: '@trigger.dev/core': - specifier: workspace:4.5.9 + specifier: workspace:4.5.10 version: link:../core cron-parser: specifier: ^4.9.0 @@ -2093,7 +2093,7 @@ importers: packages/rsc: dependencies: '@trigger.dev/core': - specifier: workspace:^4.5.9 + specifier: workspace:^4.5.10 version: link:../core mlly: specifier: ^1.7.1 @@ -2109,7 +2109,7 @@ importers: specifier: ^0.18.5 version: 0.18.5 '@trigger.dev/build': - specifier: workspace:^4.5.9 + specifier: workspace:^4.5.10 version: link:../build '@types/node': specifier: 24.13.3 @@ -2188,7 +2188,7 @@ importers: specifier: 1.41.1 version: 1.41.1 '@trigger.dev/core': - specifier: workspace:4.5.9 + specifier: workspace:4.5.10 version: link:../core chalk: specifier: ^5.2.0 @@ -28608,7 +28608,7 @@ snapshots: node-abi@3.89.0: dependencies: - semver: 7.8.1 + semver: 7.8.5 optional: true node-abort-controller@3.1.1: {}