From 6685cbd599abf6a32dac0e7b97f0ae60a4657487 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 13 Aug 2026 15:48:29 +0100 Subject: [PATCH] chore: release v4.5.11 (#4557) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Summary 4 new features, 24 improvements, 10 bug fixes. ## Highlights - Allow `trigger deploy` to authenticate with an environment API key from `TRIGGER_ACCESS_TOKEN`. ([#4561](https://github.com/triggerdotdev/trigger.dev/pull/4561)) ## Improvements - Chat in the browser now reconnects when the connection drops mid-turn, instead of leaving the reply stuck as if it were still generating. Reports can be fetched as structured data with the `json` format, and the shortest report period is now one minute (`1m`, `30m`, `1h`, `7d`). The `mint-token` command's help is clearer too: a token minted without `--cap` is read-only, and `--ttl` shows the correct maximum lifetime of 7 days. ([#4418](https://github.com/triggerdotdev/trigger.dev/pull/4418)) - The dev environment onboarding now tracks real progress. After you run `init`, the setup checklist marks your project as initialized, and it updates live as your dev server connects and your tasks register. The blank state also adds a "Copy AI agent prompt" button that copies a ready-to-paste setup prompt (pre-filled with your project reference) for Claude Code, Cursor, or any coding agent. ([#4563](https://github.com/triggerdotdev/trigger.dev/pull/4563)) The `init` scaffold now imports from `@trigger.dev/sdk` instead of the deprecated `@trigger.dev/sdk/v3` subpath. - Deployed images now ship dependencies and bundled task code as separate layers. Repeat deploys with unchanged dependencies typically push and pull far less data, making deploys and worker image pulls faster. ([#4551](https://github.com/triggerdotdev/trigger.dev/pull/4551)) - The current-worker API now reports each task's queue, so you can see which tasks write to a given queue. ([#4525](https://github.com/triggerdotdev/trigger.dev/pull/4525)) - Watch-mode chat streams now survive quiet windows and page reloads, and a reply cut off by a lost connection shows an error instead of appearing finished. Aborting a resumed subscription only closes your local stream — call `stopGeneration(chatId)` or pass `stopOnAbort: true` to stop the run. Also fixed a race where quickly restarting a stream could break stop and reconnect, and stopping a chat now hands it back to your other tabs instead of leaving them read-only. ([#4516](https://github.com/triggerdotdev/trigger.dev/pull/4516)) ## Server changes These changes affect the self-hosted Docker image and Trigger.dev Cloud: - The dashboard agent now has a monthly message allowance and plan-based limits on watches. Queries stay read-only with clearer errors when busy, and messages with unusual characters no longer fail to send. ([#4516](https://github.com/triggerdotdev/trigger.dev/pull/4516)) - Meet the dashboard agent: a chat in every environment that answers questions about your runs, queues, errors and health with real data and links, replacing Ask AI everywhere it used to appear. Investigate a failed run, an error, a backed-up queue or a run that hasn't started to get a worked-through answer — what happened, why, and how to fix it, with every claim linked to the runs, errors and deploys behind it. It reads your data read-only, works on preview and dev branches with that branch's own data, and reads the same everywhere — dashboard, terminal, editor. A very long chat keeps working: the agent summarises the earlier part and carries on. **Watch…** on a run, queue, error or the health report tells you when things change: a run finishes, a queue clears or grows past a number you pick, an error comes back, an environment recovers. The answer arrives in the chat and, if you want, by email, Slack or webhook — and the agent can look into bad news on its own. A watch reaches you on any browser you sign in from, without opening the chat first. A sample of conversations is scored automatically so the agent keeps getting better; only the score and a one-line summary are kept, never your messages, data or code, and we can switch it off for your organization on request. Ask the agent instead of the Docs buttons in page headers — they stay there when the agent isn't available to you. Separately, a queue's wait times, peak depth, throughput and throttling can now be read from the API. ([#4418](https://github.com/triggerdotdev/trigger.dev/pull/4418)) - Add backend support for delaying cron schedules within a specified window with a minimum of 60 seconds. ([#4566](https://github.com/triggerdotdev/trigger.dev/pull/4566)) - Reduced recurring background database load from the billing-limit recovery check, so paused environments are reconciled with less overhead. ([#4590](https://github.com/triggerdotdev/trigger.dev/pull/4590)) - Validating a schedule when deploying or updating a schedule now does less work on projects with many preview branches, so those operations stay fast as branches accumulate. ([#4598](https://github.com/triggerdotdev/trigger.dev/pull/4598)) - Project pages now load faster for projects with a large number of preview branches, by no longer loading archived branch environments that aren't shown. ([#4595](https://github.com/triggerdotdev/trigger.dev/pull/4595)) - Database queries that filter on a list of values now reuse cached query plans more consistently, instead of forcing the database to re-plan whenever the list length changes. ([#4480](https://github.com/triggerdotdev/trigger.dev/pull/4480)) - Routine cleanup of old dashboard agent data now runs on its own schedule. ([#4599](https://github.com/triggerdotdev/trigger.dev/pull/4599)) - Database connection metrics are now reported for every configured database connection instead of only the primary one, and stay accurate regardless of connection type. ([#4541](https://github.com/triggerdotdev/trigger.dev/pull/4541)) - Deployment-related API endpoints now draw from their own generous rate limit budget, configurable via the `DEPLOYMENT_RATE_LIMIT_*` environment variables, so runtime API traffic no longer competes with deployments for the same per-environment budget. ([#4565](https://github.com/triggerdotdev/trigger.dev/pull/4565)) - Deleting or editing a secret environment variable is now fast and no longer slows down as a project accumulates variables. ([#4555](https://github.com/triggerdotdev/trigger.dev/pull/4555)) - Speed up personal access token lookups by indexing them on their owner ([#4588](https://github.com/triggerdotdev/trigger.dev/pull/4588)) - Switching project or organization in the sidebar now keeps you on the same page instead of sending you back to Tasks. Pages for a specific run, deploy or other single item open the matching list instead. ([#4585](https://github.com/triggerdotdev/trigger.dev/pull/4585)) - Reduced database load when loading the dashboard by removing an unused organization member count that was being calculated on every page navigation. ([#4587](https://github.com/triggerdotdev/trigger.dev/pull/4587)) - The environment variables page now loads a page at a time, keeping it fast for projects with a large number of variables. Search matches variable names across every page. ([#4597](https://github.com/triggerdotdev/trigger.dev/pull/4597)) - Groundwork for an alternative database connection driver, gated behind configuration and disabled by default, so there is no change to default behavior. ([#4539](https://github.com/triggerdotdev/trigger.dev/pull/4539)) - Deleting an alert channel is now fast and no longer slows down as a project builds up alert history. ([#4554](https://github.com/triggerdotdev/trigger.dev/pull/4554)) - Reduced internal overhead on the API under high load. ([#4532](https://github.com/triggerdotdev/trigger.dev/pull/4532)) - Out-of-date upgrade prompts no longer appear in the dashboard: the "V4" badges and the notices saying preview branches and the queues table need V4 have been removed. The side menu still warns you when a project is on v3, with updated wording and a link to the v4 upgrade guide. ([#4589](https://github.com/triggerdotdev/trigger.dev/pull/4589)) - Make background worker registration cheaper for projects with many scheduled tasks by scoping declarative schedule reconciliation to the current environment and dropping redundant schedule lookups. ([#4577](https://github.com/triggerdotdev/trigger.dev/pull/4577)) - Speed up setting and importing environment variables for projects with many variables. ([#4579](https://github.com/triggerdotdev/trigger.dev/pull/4579)) - Loading the deployments list is now faster, especially when filtering by deployment status on projects with many deployments. ([#4591](https://github.com/triggerdotdev/trigger.dev/pull/4591)) - Fixed the billing limits page timing out for organizations with many preview branches, especially while a spend limit was being enforced. The page now loads quickly, so you can raise or resolve your limit without delay. ([#4594](https://github.com/triggerdotdev/trigger.dev/pull/4594)) - Fix the Concurrency page showing the plan's default concurrency for the dev environment instead of the environment's actual limit. ([#4596](https://github.com/triggerdotdev/trigger.dev/pull/4596)) - Creating an organization sometimes left you back on the creation form even though the organization had already been created, so clicking Create again made a duplicate. Creating an organization now completes and takes you to your new organization. ([#4530](https://github.com/triggerdotdev/trigger.dev/pull/4530)) - Ensure creating a project completes instead of returning to its creation form after a navigation error. ([#4584](https://github.com/triggerdotdev/trigger.dev/pull/4584)) - Renaming a project now keeps you on the project settings page and tells you what happened, instead of silently moving you to the tasks page or clearing the form with no explanation. ([#4601](https://github.com/triggerdotdev/trigger.dev/pull/4601)) - Fixed support threads showing no account details for some customers, so the team can see your plan, organizations and projects when you get in touch. ([#4575](https://github.com/triggerdotdev/trigger.dev/pull/4575)) - In the light theme, the Format, Clear and Copy buttons on the query editor no longer blend into the query text behind them. ([#4592](https://github.com/triggerdotdev/trigger.dev/pull/4592)) - The health report now says start latency is "unknown" when there is no data for it, instead of showing a healthy-looking 0ms ([#4544](https://github.com/triggerdotdev/trigger.dev/pull/4544)) - Realtime streams written inside a chat session run now use the same backend as the session itself, and runs are no longer created against a backend that cannot serve them. ([#4564](https://github.com/triggerdotdev/trigger.dev/pull/4564)) - The grouped "watch updates" notification now shows the total number of results waiting, instead of only the most recent batch's count. ([#4525](https://github.com/triggerdotdev/trigger.dev/pull/4525))
Raw changeset output # Releases ## @trigger.dev/build@4.5.11 ### Patch Changes - Updated dependencies: - `@trigger.dev/core@4.5.11` ## trigger.dev@4.5.11 ### Patch Changes - Chat in the browser now reconnects when the connection drops mid-turn, instead of leaving the reply stuck as if it were still generating. Reports can be fetched as structured data with the `json` format, and the shortest report period is now one minute (`1m`, `30m`, `1h`, `7d`). The `mint-token` command's help is clearer too: a token minted without `--cap` is read-only, and `--ttl` shows the correct maximum lifetime of 7 days. ([#4418](https://github.com/triggerdotdev/trigger.dev/pull/4418)) - Allow `trigger deploy` to authenticate with an environment API key from `TRIGGER_ACCESS_TOKEN`. ([#4561](https://github.com/triggerdotdev/trigger.dev/pull/4561)) - The dev environment onboarding now tracks real progress. After you run `init`, the setup checklist marks your project as initialized, and it updates live as your dev server connects and your tasks register. The blank state also adds a "Copy AI agent prompt" button that copies a ready-to-paste setup prompt (pre-filled with your project reference) for Claude Code, Cursor, or any coding agent. ([#4563](https://github.com/triggerdotdev/trigger.dev/pull/4563)) The `init` scaffold now imports from `@trigger.dev/sdk` instead of the deprecated `@trigger.dev/sdk/v3` subpath. - Deployed images now ship dependencies and bundled task code as separate layers. Repeat deploys with unchanged dependencies typically push and pull far less data, making deploys and worker image pulls faster. ([#4551](https://github.com/triggerdotdev/trigger.dev/pull/4551)) - Updated dependencies: - `@trigger.dev/core@4.5.11` - `@trigger.dev/build@4.5.11` - `@trigger.dev/schema-to-json@4.5.11` ## @trigger.dev/core@4.5.11 ### Patch Changes - Chat in the browser now reconnects when the connection drops mid-turn, instead of leaving the reply stuck as if it were still generating. Reports can be fetched as structured data with the `json` format, and the shortest report period is now one minute (`1m`, `30m`, `1h`, `7d`). The `mint-token` command's help is clearer too: a token minted without `--cap` is read-only, and `--ttl` shows the correct maximum lifetime of 7 days. ([#4418](https://github.com/triggerdotdev/trigger.dev/pull/4418)) - The current-worker API now reports each task's queue, so you can see which tasks write to a given queue. ([#4525](https://github.com/triggerdotdev/trigger.dev/pull/4525)) ## @trigger.dev/python@4.5.11 ### Patch Changes - Updated dependencies: - `@trigger.dev/core@4.5.11` - `@trigger.dev/sdk@4.5.11` - `@trigger.dev/build@4.5.11` ## @trigger.dev/react-hooks@4.5.11 ### Patch Changes - Updated dependencies: - `@trigger.dev/core@4.5.11` ## @trigger.dev/redis-worker@4.5.11 ### Patch Changes - Updated dependencies: - `@trigger.dev/core@4.5.11` ## @trigger.dev/rsc@4.5.11 ### Patch Changes - Updated dependencies: - `@trigger.dev/core@4.5.11` ## @trigger.dev/schema-to-json@4.5.11 ### Patch Changes - Updated dependencies: - `@trigger.dev/core@4.5.11` ## @trigger.dev/sdk@4.5.11 ### Patch Changes - Chat in the browser now reconnects when the connection drops mid-turn, instead of leaving the reply stuck as if it were still generating. Reports can be fetched as structured data with the `json` format, and the shortest report period is now one minute (`1m`, `30m`, `1h`, `7d`). The `mint-token` command's help is clearer too: a token minted without `--cap` is read-only, and `--ttl` shows the correct maximum lifetime of 7 days. ([#4418](https://github.com/triggerdotdev/trigger.dev/pull/4418)) - Watch-mode chat streams now survive quiet windows and page reloads, and a reply cut off by a lost connection shows an error instead of appearing finished. Aborting a resumed subscription only closes your local stream — call `stopGeneration(chatId)` or pass `stopOnAbort: true` to stop the run. Also fixed a race where quickly restarting a stream could break stop and reconnect, and stopping a chat now hands it back to your other tabs instead of leaving them read-only. ([#4516](https://github.com/triggerdotdev/trigger.dev/pull/4516)) - Updated dependencies: - `@trigger.dev/core@4.5.11`
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- .changeset/chat-stream-mid-turn-reconnect.md | 7 ----- .changeset/dashboard-agent-chat-streams.md | 5 ---- .changeset/deploy-api-keys.md | 5 ---- .changeset/dev-onboarding-progress.md | 7 ----- .changeset/quiet-hounds-shave.md | 5 ---- .changeset/split-image-dependency-layers.md | 5 ---- .server-changes/agent-plan-limits.md | 6 ----- .../billing-limit-reconcile-index.md | 6 ----- .../billing-limits-page-timeout.md | 6 ----- .../bound-checkschedule-environment-load.md | 6 ----- .../bound-project-environment-loads.md | 6 ----- .server-changes/bounded-list-filter-arity.md | 6 ----- .../dashboard-agent-maintenance-move.md | 6 ----- .server-changes/dashboard-agent.md | 10 ------- .server-changes/db-pool-metrics-per-client.md | 6 ----- .../deployment-rate-limit-budget.md | 6 ----- .../dev-concurrency-total-display.md | 6 ----- ...nment-variable-value-reference-id-index.md | 6 ----- .../fix-new-organization-form-submit.md | 6 ----- .../fix-project-creation-navigation.md | 6 ----- .server-changes/fix-project-settings-toast.md | 6 ----- .../index-personal-access-token-user-id.md | 6 ----- .../keep-page-when-switching-project.md | 6 ----- .server-changes/org-list-member-count.md | 6 ----- .../paginate-environment-variables.md | 6 ----- .../plain-customer-card-external-id.md | 6 ----- .../prisma-driver-adapter-per-client.md | 6 ----- .../project-alert-channel-id-index.md | 6 ----- .server-changes/query-toolbar-light-theme.md | 6 ----- .../reduce-api-tracing-overhead.md | 6 ----- .../remove-obsolete-v4-version-copy.md | 6 ----- .../report-start-latency-unknown.md | 6 ----- .server-changes/schedule-windows.md | 6 ----- .../scope-declarative-schedule-sync.md | 6 ----- .../scope-env-var-create-precheck.md | 6 ----- .server-changes/streams-version-s2-guard.md | 6 ----- .../watch-summary-cumulative-count.md | 6 ----- .../worker-deployment-list-status-index.md | 6 ----- hosting/k8s/helm/Chart.yaml | 4 +-- packages/build/CHANGELOG.md | 7 +++++ packages/build/package.json | 4 +-- packages/cli-v3/CHANGELOG.md | 16 ++++++++++++ packages/cli-v3/package.json | 8 +++--- packages/core/CHANGELOG.md | 7 +++++ packages/core/package.json | 2 +- packages/python/CHANGELOG.md | 9 +++++++ packages/python/package.json | 12 ++++----- packages/react-hooks/CHANGELOG.md | 7 +++++ packages/react-hooks/package.json | 4 +-- packages/redis-worker/CHANGELOG.md | 7 +++++ packages/redis-worker/package.json | 4 +-- packages/rsc/CHANGELOG.md | 7 +++++ packages/rsc/package.json | 6 ++--- packages/schema-to-json/CHANGELOG.md | 7 +++++ packages/schema-to-json/package.json | 2 +- packages/trigger-sdk/CHANGELOG.md | 9 +++++++ packages/trigger-sdk/package.json | 4 +-- pnpm-lock.yaml | 26 +++++++++---------- 58 files changed, 114 insertions(+), 268 deletions(-) delete mode 100644 .changeset/chat-stream-mid-turn-reconnect.md delete mode 100644 .changeset/dashboard-agent-chat-streams.md delete mode 100644 .changeset/deploy-api-keys.md delete mode 100644 .changeset/dev-onboarding-progress.md delete mode 100644 .changeset/quiet-hounds-shave.md delete mode 100644 .changeset/split-image-dependency-layers.md delete mode 100644 .server-changes/agent-plan-limits.md delete mode 100644 .server-changes/billing-limit-reconcile-index.md delete mode 100644 .server-changes/billing-limits-page-timeout.md delete mode 100644 .server-changes/bound-checkschedule-environment-load.md delete mode 100644 .server-changes/bound-project-environment-loads.md delete mode 100644 .server-changes/bounded-list-filter-arity.md delete mode 100644 .server-changes/dashboard-agent-maintenance-move.md delete mode 100644 .server-changes/dashboard-agent.md delete mode 100644 .server-changes/db-pool-metrics-per-client.md delete mode 100644 .server-changes/deployment-rate-limit-budget.md delete mode 100644 .server-changes/dev-concurrency-total-display.md delete mode 100644 .server-changes/environment-variable-value-reference-id-index.md delete mode 100644 .server-changes/fix-new-organization-form-submit.md delete mode 100644 .server-changes/fix-project-creation-navigation.md delete mode 100644 .server-changes/fix-project-settings-toast.md delete mode 100644 .server-changes/index-personal-access-token-user-id.md delete mode 100644 .server-changes/keep-page-when-switching-project.md delete mode 100644 .server-changes/org-list-member-count.md delete mode 100644 .server-changes/paginate-environment-variables.md delete mode 100644 .server-changes/plain-customer-card-external-id.md delete mode 100644 .server-changes/prisma-driver-adapter-per-client.md delete mode 100644 .server-changes/project-alert-channel-id-index.md delete mode 100644 .server-changes/query-toolbar-light-theme.md delete mode 100644 .server-changes/reduce-api-tracing-overhead.md delete mode 100644 .server-changes/remove-obsolete-v4-version-copy.md delete mode 100644 .server-changes/report-start-latency-unknown.md delete mode 100644 .server-changes/schedule-windows.md delete mode 100644 .server-changes/scope-declarative-schedule-sync.md delete mode 100644 .server-changes/scope-env-var-create-precheck.md delete mode 100644 .server-changes/streams-version-s2-guard.md delete mode 100644 .server-changes/watch-summary-cumulative-count.md delete mode 100644 .server-changes/worker-deployment-list-status-index.md diff --git a/.changeset/chat-stream-mid-turn-reconnect.md b/.changeset/chat-stream-mid-turn-reconnect.md deleted file mode 100644 index b66b2db58..000000000 --- a/.changeset/chat-stream-mid-turn-reconnect.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@trigger.dev/core": patch -"@trigger.dev/sdk": patch -"trigger.dev": patch ---- - -Chat in the browser now reconnects when the connection drops mid-turn, instead of leaving the reply stuck as if it were still generating. Reports can be fetched as structured data with the `json` format, and the shortest report period is now one minute (`1m`, `30m`, `1h`, `7d`). The `mint-token` command's help is clearer too: a token minted without `--cap` is read-only, and `--ttl` shows the correct maximum lifetime of 7 days. diff --git a/.changeset/dashboard-agent-chat-streams.md b/.changeset/dashboard-agent-chat-streams.md deleted file mode 100644 index a6dc7d188..000000000 --- a/.changeset/dashboard-agent-chat-streams.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@trigger.dev/sdk": patch ---- - -Watch-mode chat streams now survive quiet windows and page reloads, and a reply cut off by a lost connection shows an error instead of appearing finished. Aborting a resumed subscription only closes your local stream — call `stopGeneration(chatId)` or pass `stopOnAbort: true` to stop the run. Also fixed a race where quickly restarting a stream could break stop and reconnect, and stopping a chat now hands it back to your other tabs instead of leaving them read-only. diff --git a/.changeset/deploy-api-keys.md b/.changeset/deploy-api-keys.md deleted file mode 100644 index 88bc8e69a..000000000 --- a/.changeset/deploy-api-keys.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"trigger.dev": patch ---- - -Allow `trigger deploy` to authenticate with an environment API key from `TRIGGER_ACCESS_TOKEN`. diff --git a/.changeset/dev-onboarding-progress.md b/.changeset/dev-onboarding-progress.md deleted file mode 100644 index 6755cac91..000000000 --- a/.changeset/dev-onboarding-progress.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"trigger.dev": patch ---- - -The dev environment onboarding now tracks real progress. After you run `init`, the setup checklist marks your project as initialized, and it updates live as your dev server connects and your tasks register. The blank state also adds a "Copy AI agent prompt" button that copies a ready-to-paste setup prompt (pre-filled with your project reference) for Claude Code, Cursor, or any coding agent. - -The `init` scaffold now imports from `@trigger.dev/sdk` instead of the deprecated `@trigger.dev/sdk/v3` subpath. diff --git a/.changeset/quiet-hounds-shave.md b/.changeset/quiet-hounds-shave.md deleted file mode 100644 index 20e32667e..000000000 --- a/.changeset/quiet-hounds-shave.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@trigger.dev/core": patch ---- - -The current-worker API now reports each task's queue, so you can see which tasks write to a given queue. diff --git a/.changeset/split-image-dependency-layers.md b/.changeset/split-image-dependency-layers.md deleted file mode 100644 index 472017ee2..000000000 --- a/.changeset/split-image-dependency-layers.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"trigger.dev": patch ---- - -Deployed images now ship dependencies and bundled task code as separate layers. Repeat deploys with unchanged dependencies typically push and pull far less data, making deploys and worker image pulls faster. diff --git a/.server-changes/agent-plan-limits.md b/.server-changes/agent-plan-limits.md deleted file mode 100644 index 36e66bd02..000000000 --- a/.server-changes/agent-plan-limits.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -area: webapp -type: feature ---- - -The dashboard agent now has a monthly message allowance and plan-based limits on watches. Queries stay read-only with clearer errors when busy, and messages with unusual characters no longer fail to send. diff --git a/.server-changes/billing-limit-reconcile-index.md b/.server-changes/billing-limit-reconcile-index.md deleted file mode 100644 index d7b235fef..000000000 --- a/.server-changes/billing-limit-reconcile-index.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -area: webapp -type: improvement ---- - -Reduced recurring background database load from the billing-limit recovery check, so paused environments are reconciled with less overhead. diff --git a/.server-changes/billing-limits-page-timeout.md b/.server-changes/billing-limits-page-timeout.md deleted file mode 100644 index 6edbccf48..000000000 --- a/.server-changes/billing-limits-page-timeout.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -area: webapp -type: fix ---- - -Fixed the billing limits page timing out for organizations with many preview branches, especially while a spend limit was being enforced. The page now loads quickly, so you can raise or resolve your limit without delay. diff --git a/.server-changes/bound-checkschedule-environment-load.md b/.server-changes/bound-checkschedule-environment-load.md deleted file mode 100644 index 5a7b02ecc..000000000 --- a/.server-changes/bound-checkschedule-environment-load.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -area: webapp -type: improvement ---- - -Validating a schedule when deploying or updating a schedule now does less work on projects with many preview branches, so those operations stay fast as branches accumulate. diff --git a/.server-changes/bound-project-environment-loads.md b/.server-changes/bound-project-environment-loads.md deleted file mode 100644 index 6dfa59bc7..000000000 --- a/.server-changes/bound-project-environment-loads.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -area: webapp -type: improvement ---- - -Project pages now load faster for projects with a large number of preview branches, by no longer loading archived branch environments that aren't shown. diff --git a/.server-changes/bounded-list-filter-arity.md b/.server-changes/bounded-list-filter-arity.md deleted file mode 100644 index 219440b1d..000000000 --- a/.server-changes/bounded-list-filter-arity.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -area: webapp -type: improvement ---- - -Database queries that filter on a list of values now reuse cached query plans more consistently, instead of forcing the database to re-plan whenever the list length changes. diff --git a/.server-changes/dashboard-agent-maintenance-move.md b/.server-changes/dashboard-agent-maintenance-move.md deleted file mode 100644 index db0a9c96b..000000000 --- a/.server-changes/dashboard-agent-maintenance-move.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -area: webapp -type: improvement ---- - -Routine cleanup of old dashboard agent data now runs on its own schedule. diff --git a/.server-changes/dashboard-agent.md b/.server-changes/dashboard-agent.md deleted file mode 100644 index c41d7bb02..000000000 --- a/.server-changes/dashboard-agent.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -area: webapp -type: feature ---- - -Meet the dashboard agent: a chat in every environment that answers questions about your runs, queues, errors and health with real data and links, replacing Ask AI everywhere it used to appear. Investigate a failed run, an error, a backed-up queue or a run that hasn't started to get a worked-through answer — what happened, why, and how to fix it, with every claim linked to the runs, errors and deploys behind it. It reads your data read-only, works on preview and dev branches with that branch's own data, and reads the same everywhere — dashboard, terminal, editor. A very long chat keeps working: the agent summarises the earlier part and carries on. - -**Watch…** on a run, queue, error or the health report tells you when things change: a run finishes, a queue clears or grows past a number you pick, an error comes back, an environment recovers. The answer arrives in the chat and, if you want, by email, Slack or webhook — and the agent can look into bad news on its own. A watch reaches you on any browser you sign in from, without opening the chat first. - -A sample of conversations is scored automatically so the agent keeps getting better; only the score and a one-line summary are kept, never your messages, data or code, and we can switch it off for your organization on request. Ask the agent instead of the Docs buttons in page headers — they stay there when the agent isn't available to you. Separately, a queue's wait times, peak depth, throughput and throttling can now be read from the API. diff --git a/.server-changes/db-pool-metrics-per-client.md b/.server-changes/db-pool-metrics-per-client.md deleted file mode 100644 index 100eb23a3..000000000 --- a/.server-changes/db-pool-metrics-per-client.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -area: webapp -type: improvement ---- - -Database connection metrics are now reported for every configured database connection instead of only the primary one, and stay accurate regardless of connection type. diff --git a/.server-changes/deployment-rate-limit-budget.md b/.server-changes/deployment-rate-limit-budget.md deleted file mode 100644 index 9171813f2..000000000 --- a/.server-changes/deployment-rate-limit-budget.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -area: webapp -type: improvement ---- - -Deployment-related API endpoints now draw from their own generous rate limit budget, configurable via the `DEPLOYMENT_RATE_LIMIT_*` environment variables, so runtime API traffic no longer competes with deployments for the same per-environment budget. diff --git a/.server-changes/dev-concurrency-total-display.md b/.server-changes/dev-concurrency-total-display.md deleted file mode 100644 index b367dd347..000000000 --- a/.server-changes/dev-concurrency-total-display.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -area: webapp -type: fix ---- - -Fix the Concurrency page showing the plan's default concurrency for the dev environment instead of the environment's actual limit. diff --git a/.server-changes/environment-variable-value-reference-id-index.md b/.server-changes/environment-variable-value-reference-id-index.md deleted file mode 100644 index 32fee03f1..000000000 --- a/.server-changes/environment-variable-value-reference-id-index.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -area: webapp -type: improvement ---- - -Deleting or editing a secret environment variable is now fast and no longer slows down as a project accumulates variables. diff --git a/.server-changes/fix-new-organization-form-submit.md b/.server-changes/fix-new-organization-form-submit.md deleted file mode 100644 index 52979154b..000000000 --- a/.server-changes/fix-new-organization-form-submit.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -area: webapp -type: fix ---- - -Creating an organization sometimes left you back on the creation form even though the organization had already been created, so clicking Create again made a duplicate. Creating an organization now completes and takes you to your new organization. diff --git a/.server-changes/fix-project-creation-navigation.md b/.server-changes/fix-project-creation-navigation.md deleted file mode 100644 index a4b8dde5a..000000000 --- a/.server-changes/fix-project-creation-navigation.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -area: webapp -type: fix ---- - -Ensure creating a project completes instead of returning to its creation form after a navigation error. diff --git a/.server-changes/fix-project-settings-toast.md b/.server-changes/fix-project-settings-toast.md deleted file mode 100644 index 0619c4aa0..000000000 --- a/.server-changes/fix-project-settings-toast.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -area: webapp -type: fix ---- - -Renaming a project now keeps you on the project settings page and tells you what happened, instead of silently moving you to the tasks page or clearing the form with no explanation. diff --git a/.server-changes/index-personal-access-token-user-id.md b/.server-changes/index-personal-access-token-user-id.md deleted file mode 100644 index 0f036d8c4..000000000 --- a/.server-changes/index-personal-access-token-user-id.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -area: webapp -type: improvement ---- - -Speed up personal access token lookups by indexing them on their owner diff --git a/.server-changes/keep-page-when-switching-project.md b/.server-changes/keep-page-when-switching-project.md deleted file mode 100644 index b4cb0b775..000000000 --- a/.server-changes/keep-page-when-switching-project.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -area: webapp -type: improvement ---- - -Switching project or organization in the sidebar now keeps you on the same page instead of sending you back to Tasks. Pages for a specific run, deploy or other single item open the matching list instead. diff --git a/.server-changes/org-list-member-count.md b/.server-changes/org-list-member-count.md deleted file mode 100644 index 638349c0a..000000000 --- a/.server-changes/org-list-member-count.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -area: webapp -type: improvement ---- - -Reduced database load when loading the dashboard by removing an unused organization member count that was being calculated on every page navigation. diff --git a/.server-changes/paginate-environment-variables.md b/.server-changes/paginate-environment-variables.md deleted file mode 100644 index da6ec93a1..000000000 --- a/.server-changes/paginate-environment-variables.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -area: webapp -type: improvement ---- - -The environment variables page now loads a page at a time, keeping it fast for projects with a large number of variables. Search matches variable names across every page. diff --git a/.server-changes/plain-customer-card-external-id.md b/.server-changes/plain-customer-card-external-id.md deleted file mode 100644 index 250ee1c06..000000000 --- a/.server-changes/plain-customer-card-external-id.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -area: webapp -type: fix ---- - -Fixed support threads showing no account details for some customers, so the team can see your plan, organizations and projects when you get in touch. diff --git a/.server-changes/prisma-driver-adapter-per-client.md b/.server-changes/prisma-driver-adapter-per-client.md deleted file mode 100644 index 91b4fc5c6..000000000 --- a/.server-changes/prisma-driver-adapter-per-client.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -area: webapp -type: improvement ---- - -Groundwork for an alternative database connection driver, gated behind configuration and disabled by default, so there is no change to default behavior. diff --git a/.server-changes/project-alert-channel-id-index.md b/.server-changes/project-alert-channel-id-index.md deleted file mode 100644 index c9000c73f..000000000 --- a/.server-changes/project-alert-channel-id-index.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -area: webapp -type: improvement ---- - -Deleting an alert channel is now fast and no longer slows down as a project builds up alert history. diff --git a/.server-changes/query-toolbar-light-theme.md b/.server-changes/query-toolbar-light-theme.md deleted file mode 100644 index b972f78f2..000000000 --- a/.server-changes/query-toolbar-light-theme.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -area: webapp -type: fix ---- - -In the light theme, the Format, Clear and Copy buttons on the query editor no longer blend into the query text behind them. diff --git a/.server-changes/reduce-api-tracing-overhead.md b/.server-changes/reduce-api-tracing-overhead.md deleted file mode 100644 index b7a28c1fa..000000000 --- a/.server-changes/reduce-api-tracing-overhead.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -area: webapp -type: improvement ---- - -Reduced internal overhead on the API under high load. diff --git a/.server-changes/remove-obsolete-v4-version-copy.md b/.server-changes/remove-obsolete-v4-version-copy.md deleted file mode 100644 index faece1f75..000000000 --- a/.server-changes/remove-obsolete-v4-version-copy.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -area: webapp -type: improvement ---- - -Out-of-date upgrade prompts no longer appear in the dashboard: the "V4" badges and the notices saying preview branches and the queues table need V4 have been removed. The side menu still warns you when a project is on v3, with updated wording and a link to the v4 upgrade guide. diff --git a/.server-changes/report-start-latency-unknown.md b/.server-changes/report-start-latency-unknown.md deleted file mode 100644 index 2aa06d99d..000000000 --- a/.server-changes/report-start-latency-unknown.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -area: webapp -type: fix ---- - -The health report now says start latency is "unknown" when there is no data for it, instead of showing a healthy-looking 0ms diff --git a/.server-changes/schedule-windows.md b/.server-changes/schedule-windows.md deleted file mode 100644 index ecdd209c1..000000000 --- a/.server-changes/schedule-windows.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -area: webapp -type: feature ---- - -Add backend support for delaying cron schedules within a specified window with a minimum of 60 seconds. diff --git a/.server-changes/scope-declarative-schedule-sync.md b/.server-changes/scope-declarative-schedule-sync.md deleted file mode 100644 index feb4050d3..000000000 --- a/.server-changes/scope-declarative-schedule-sync.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -area: webapp -type: improvement ---- - -Make background worker registration cheaper for projects with many scheduled tasks by scoping declarative schedule reconciliation to the current environment and dropping redundant schedule lookups. diff --git a/.server-changes/scope-env-var-create-precheck.md b/.server-changes/scope-env-var-create-precheck.md deleted file mode 100644 index 550215f56..000000000 --- a/.server-changes/scope-env-var-create-precheck.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -area: webapp -type: improvement ---- - -Speed up setting and importing environment variables for projects with many variables. diff --git a/.server-changes/streams-version-s2-guard.md b/.server-changes/streams-version-s2-guard.md deleted file mode 100644 index 0fbfcb151..000000000 --- a/.server-changes/streams-version-s2-guard.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -area: webapp -type: fix ---- - -Realtime streams written inside a chat session run now use the same backend as the session itself, and runs are no longer created against a backend that cannot serve them. diff --git a/.server-changes/watch-summary-cumulative-count.md b/.server-changes/watch-summary-cumulative-count.md deleted file mode 100644 index b64daf9a4..000000000 --- a/.server-changes/watch-summary-cumulative-count.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -area: webapp -type: fix ---- - -The grouped "watch updates" notification now shows the total number of results waiting, instead of only the most recent batch's count. diff --git a/.server-changes/worker-deployment-list-status-index.md b/.server-changes/worker-deployment-list-status-index.md deleted file mode 100644 index e3fa07977..000000000 --- a/.server-changes/worker-deployment-list-status-index.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -area: webapp -type: improvement ---- - -Loading the deployments list is now faster, especially when filtering by deployment status on projects with many deployments. diff --git a/hosting/k8s/helm/Chart.yaml b/hosting/k8s/helm/Chart.yaml index 69254c98e..03b9403f9 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.10 -appVersion: v4.5.10 +version: 4.5.11 +appVersion: v4.5.11 home: https://trigger.dev sources: - https://github.com/triggerdotdev/trigger.dev diff --git a/packages/build/CHANGELOG.md b/packages/build/CHANGELOG.md index 9e025d550..48c82848a 100644 --- a/packages/build/CHANGELOG.md +++ b/packages/build/CHANGELOG.md @@ -1,5 +1,12 @@ # @trigger.dev/build +## 4.5.11 + +### Patch Changes + +- Updated dependencies: + - `@trigger.dev/core@4.5.11` + ## 4.5.10 ### Patch Changes diff --git a/packages/build/package.json b/packages/build/package.json index 728dc6d03..2ee4f8fec 100644 --- a/packages/build/package.json +++ b/packages/build/package.json @@ -1,6 +1,6 @@ { "name": "@trigger.dev/build", - "version": "4.5.10", + "version": "4.5.11", "description": "trigger.dev build extensions", "license": "MIT", "publishConfig": { @@ -79,7 +79,7 @@ }, "dependencies": { "@prisma/config": "^6.10.0", - "@trigger.dev/core": "workspace:4.5.10", + "@trigger.dev/core": "workspace:4.5.11", "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 b5c0550ac..13b07bfe8 100644 --- a/packages/cli-v3/CHANGELOG.md +++ b/packages/cli-v3/CHANGELOG.md @@ -1,5 +1,21 @@ # trigger.dev +## 4.5.11 + +### Patch Changes + +- Chat in the browser now reconnects when the connection drops mid-turn, instead of leaving the reply stuck as if it were still generating. Reports can be fetched as structured data with the `json` format, and the shortest report period is now one minute (`1m`, `30m`, `1h`, `7d`). The `mint-token` command's help is clearer too: a token minted without `--cap` is read-only, and `--ttl` shows the correct maximum lifetime of 7 days. ([#4418](https://github.com/triggerdotdev/trigger.dev/pull/4418)) +- Allow `trigger deploy` to authenticate with an environment API key from `TRIGGER_ACCESS_TOKEN`. ([#4561](https://github.com/triggerdotdev/trigger.dev/pull/4561)) +- The dev environment onboarding now tracks real progress. After you run `init`, the setup checklist marks your project as initialized, and it updates live as your dev server connects and your tasks register. The blank state also adds a "Copy AI agent prompt" button that copies a ready-to-paste setup prompt (pre-filled with your project reference) for Claude Code, Cursor, or any coding agent. ([#4563](https://github.com/triggerdotdev/trigger.dev/pull/4563)) + + The `init` scaffold now imports from `@trigger.dev/sdk` instead of the deprecated `@trigger.dev/sdk/v3` subpath. + +- Deployed images now ship dependencies and bundled task code as separate layers. Repeat deploys with unchanged dependencies typically push and pull far less data, making deploys and worker image pulls faster. ([#4551](https://github.com/triggerdotdev/trigger.dev/pull/4551)) +- Updated dependencies: + - `@trigger.dev/core@4.5.11` + - `@trigger.dev/build@4.5.11` + - `@trigger.dev/schema-to-json@4.5.11` + ## 4.5.10 ### Patch Changes diff --git a/packages/cli-v3/package.json b/packages/cli-v3/package.json index 9cb78308f..1caa6cf16 100644 --- a/packages/cli-v3/package.json +++ b/packages/cli-v3/package.json @@ -1,6 +1,6 @@ { "name": "trigger.dev", - "version": "4.5.10", + "version": "4.5.11", "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.10", - "@trigger.dev/core": "workspace:4.5.10", - "@trigger.dev/schema-to-json": "workspace:4.5.10", + "@trigger.dev/build": "workspace:4.5.11", + "@trigger.dev/core": "workspace:4.5.11", + "@trigger.dev/schema-to-json": "workspace:4.5.11", "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 249adc8e1..0b43be867 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,5 +1,12 @@ # internal-platform +## 4.5.11 + +### Patch Changes + +- Chat in the browser now reconnects when the connection drops mid-turn, instead of leaving the reply stuck as if it were still generating. Reports can be fetched as structured data with the `json` format, and the shortest report period is now one minute (`1m`, `30m`, `1h`, `7d`). The `mint-token` command's help is clearer too: a token minted without `--cap` is read-only, and `--ttl` shows the correct maximum lifetime of 7 days. ([#4418](https://github.com/triggerdotdev/trigger.dev/pull/4418)) +- The current-worker API now reports each task's queue, so you can see which tasks write to a given queue. ([#4525](https://github.com/triggerdotdev/trigger.dev/pull/4525)) + ## 4.5.10 ### Patch Changes diff --git a/packages/core/package.json b/packages/core/package.json index 8222f3c70..e2ee6f064 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@trigger.dev/core", - "version": "4.5.10", + "version": "4.5.11", "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 9f96893e7..ef5f90786 100644 --- a/packages/python/CHANGELOG.md +++ b/packages/python/CHANGELOG.md @@ -1,5 +1,14 @@ # @trigger.dev/python +## 4.5.11 + +### Patch Changes + +- Updated dependencies: + - `@trigger.dev/core@4.5.11` + - `@trigger.dev/sdk@4.5.11` + - `@trigger.dev/build@4.5.11` + ## 4.5.10 ### Patch Changes diff --git a/packages/python/package.json b/packages/python/package.json index fae20d9b2..896609576 100644 --- a/packages/python/package.json +++ b/packages/python/package.json @@ -1,6 +1,6 @@ { "name": "@trigger.dev/python", - "version": "4.5.10", + "version": "4.5.11", "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.10", + "@trigger.dev/core": "workspace:4.5.11", "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.10", - "@trigger.dev/sdk": "workspace:4.5.10" + "@trigger.dev/build": "workspace:4.5.11", + "@trigger.dev/sdk": "workspace:4.5.11" }, "peerDependencies": { - "@trigger.dev/sdk": "workspace:^4.5.10", - "@trigger.dev/build": "workspace:^4.5.10" + "@trigger.dev/sdk": "workspace:^4.5.11", + "@trigger.dev/build": "workspace:^4.5.11" }, "engines": { "node": ">=18.20.0" diff --git a/packages/react-hooks/CHANGELOG.md b/packages/react-hooks/CHANGELOG.md index 9edffe83c..d2662315f 100644 --- a/packages/react-hooks/CHANGELOG.md +++ b/packages/react-hooks/CHANGELOG.md @@ -1,5 +1,12 @@ # @trigger.dev/react-hooks +## 4.5.11 + +### Patch Changes + +- Updated dependencies: + - `@trigger.dev/core@4.5.11` + ## 4.5.10 ### Patch Changes diff --git a/packages/react-hooks/package.json b/packages/react-hooks/package.json index 5ecff9155..619040952 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.10", + "version": "4.5.11", "description": "trigger.dev react hooks", "license": "MIT", "publishConfig": { @@ -37,7 +37,7 @@ "check-exports": "attw --pack ." }, "dependencies": { - "@trigger.dev/core": "workspace:^4.5.10", + "@trigger.dev/core": "workspace:^4.5.11", "swr": "^2.2.5" }, "devDependencies": { diff --git a/packages/redis-worker/CHANGELOG.md b/packages/redis-worker/CHANGELOG.md index 034d088c6..40dea139a 100644 --- a/packages/redis-worker/CHANGELOG.md +++ b/packages/redis-worker/CHANGELOG.md @@ -1,5 +1,12 @@ # @trigger.dev/redis-worker +## 4.5.11 + +### Patch Changes + +- Updated dependencies: + - `@trigger.dev/core@4.5.11` + ## 4.5.10 ### Patch Changes diff --git a/packages/redis-worker/package.json b/packages/redis-worker/package.json index dd3cf0c70..4e18a7a3f 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.10", + "version": "4.5.11", "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.10", + "@trigger.dev/core": "workspace:4.5.11", "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 166162371..ab30f49e7 100644 --- a/packages/rsc/CHANGELOG.md +++ b/packages/rsc/CHANGELOG.md @@ -1,5 +1,12 @@ # @trigger.dev/rsc +## 4.5.11 + +### Patch Changes + +- Updated dependencies: + - `@trigger.dev/core@4.5.11` + ## 4.5.10 ### Patch Changes diff --git a/packages/rsc/package.json b/packages/rsc/package.json index e738351f9..3ce769ed6 100644 --- a/packages/rsc/package.json +++ b/packages/rsc/package.json @@ -1,6 +1,6 @@ { "name": "@trigger.dev/rsc", - "version": "4.5.10", + "version": "4.5.11", "description": "trigger.dev rsc", "license": "MIT", "publishConfig": { @@ -37,14 +37,14 @@ "check-exports": "attw --pack ." }, "dependencies": { - "@trigger.dev/core": "workspace:^4.5.10", + "@trigger.dev/core": "workspace:^4.5.11", "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.10", + "@trigger.dev/build": "workspace:^4.5.11", "@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 3436a9f2c..bedd05325 100644 --- a/packages/schema-to-json/CHANGELOG.md +++ b/packages/schema-to-json/CHANGELOG.md @@ -1,5 +1,12 @@ # @trigger.dev/schema-to-json +## 4.5.11 + +### Patch Changes + +- Updated dependencies: + - `@trigger.dev/core@4.5.11` + ## 4.5.10 ### Patch Changes diff --git a/packages/schema-to-json/package.json b/packages/schema-to-json/package.json index f241baa10..b5d66efc3 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.10", + "version": "4.5.11", "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 571c438d9..0e0e254ba 100644 --- a/packages/trigger-sdk/CHANGELOG.md +++ b/packages/trigger-sdk/CHANGELOG.md @@ -1,5 +1,14 @@ # @trigger.dev/sdk +## 4.5.11 + +### Patch Changes + +- Chat in the browser now reconnects when the connection drops mid-turn, instead of leaving the reply stuck as if it were still generating. Reports can be fetched as structured data with the `json` format, and the shortest report period is now one minute (`1m`, `30m`, `1h`, `7d`). The `mint-token` command's help is clearer too: a token minted without `--cap` is read-only, and `--ttl` shows the correct maximum lifetime of 7 days. ([#4418](https://github.com/triggerdotdev/trigger.dev/pull/4418)) +- Watch-mode chat streams now survive quiet windows and page reloads, and a reply cut off by a lost connection shows an error instead of appearing finished. Aborting a resumed subscription only closes your local stream — call `stopGeneration(chatId)` or pass `stopOnAbort: true` to stop the run. Also fixed a race where quickly restarting a stream could break stop and reconnect, and stopping a chat now hands it back to your other tabs instead of leaving them read-only. ([#4516](https://github.com/triggerdotdev/trigger.dev/pull/4516)) +- Updated dependencies: + - `@trigger.dev/core@4.5.11` + ## 4.5.10 ### Patch Changes diff --git a/packages/trigger-sdk/package.json b/packages/trigger-sdk/package.json index 60f77a3c4..05c709843 100644 --- a/packages/trigger-sdk/package.json +++ b/packages/trigger-sdk/package.json @@ -1,6 +1,6 @@ { "name": "@trigger.dev/sdk", - "version": "4.5.10", + "version": "4.5.11", "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.10", + "@trigger.dev/core": "workspace:4.5.11", "chalk": "^5.2.0", "cronstrue": "^2.21.0", "debug": "^4.3.4", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f698fa90c..160c39b7b 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1524,7 +1524,7 @@ importers: specifier: ^6.10.0 version: 6.19.0(magicast@0.3.5) '@trigger.dev/core': - specifier: workspace:4.5.10 + specifier: workspace:4.5.11 version: link:../core mlly: specifier: ^1.7.1 @@ -1612,13 +1612,13 @@ importers: specifier: ^0.25.0 version: 0.25.0(supports-color@10.0.0) '@trigger.dev/build': - specifier: workspace:4.5.10 + specifier: workspace:4.5.11 version: link:../build '@trigger.dev/core': - specifier: workspace:4.5.10 + specifier: workspace:4.5.11 version: link:../core '@trigger.dev/schema-to-json': - specifier: workspace:4.5.10 + specifier: workspace:4.5.11 version: link:../schema-to-json ansi-escapes: specifier: ^7.0.0 @@ -2005,7 +2005,7 @@ importers: packages/python: dependencies: '@trigger.dev/core': - specifier: workspace:4.5.10 + specifier: workspace:4.5.11 version: link:../core tinyexec: specifier: ^0.3.2 @@ -2015,10 +2015,10 @@ importers: specifier: ^0.18.5 version: 0.18.5 '@trigger.dev/build': - specifier: workspace:4.5.10 + specifier: workspace:4.5.11 version: link:../build '@trigger.dev/sdk': - specifier: workspace:4.5.10 + specifier: workspace:4.5.11 version: link:../trigger-sdk '@types/node': specifier: 24.13.3 @@ -2042,7 +2042,7 @@ importers: packages/react-hooks: dependencies: '@trigger.dev/core': - specifier: workspace:^4.5.10 + specifier: workspace:^4.5.11 version: link:../core react: specifier: 18.3.1 @@ -2076,7 +2076,7 @@ importers: packages/redis-worker: dependencies: '@trigger.dev/core': - specifier: workspace:4.5.10 + specifier: workspace:4.5.11 version: link:../core cron-parser: specifier: ^4.9.0 @@ -2128,7 +2128,7 @@ importers: packages/rsc: dependencies: '@trigger.dev/core': - specifier: workspace:^4.5.10 + specifier: workspace:^4.5.11 version: link:../core mlly: specifier: ^1.7.1 @@ -2144,7 +2144,7 @@ importers: specifier: ^0.18.5 version: 0.18.5 '@trigger.dev/build': - specifier: workspace:^4.5.10 + specifier: workspace:^4.5.11 version: link:../build '@types/node': specifier: 24.13.3 @@ -2223,7 +2223,7 @@ importers: specifier: 1.41.1 version: 1.41.1 '@trigger.dev/core': - specifier: workspace:4.5.10 + specifier: workspace:4.5.11 version: link:../core chalk: specifier: ^5.2.0 @@ -28563,7 +28563,7 @@ snapshots: node-abi@3.89.0: dependencies: - semver: 7.8.1 + semver: 7.8.5 optional: true node-abort-controller@3.1.1: {}