diff --git a/.changeset/chat-agent-preload-oom-recovery.md b/.changeset/chat-agent-preload-oom-recovery.md deleted file mode 100644 index 7885a3530ab..00000000000 --- 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 6829d113d7b..00000000000 --- 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 b405bf60472..00000000000 --- 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 90506d48d28..00000000000 --- 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 56e362eb1fb..00000000000 --- 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 3624ee1b7c5..00000000000 --- 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 68406409833..00000000000 --- 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/backpressure-hold-last-verdict.md b/.server-changes/backpressure-hold-last-verdict.md deleted file mode 100644 index 18f3ca7fc50..00000000000 --- 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-item-streaming-rate-limit.md b/.server-changes/batch-item-streaming-rate-limit.md deleted file mode 100644 index f817195e9b1..00000000000 --- 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 c457de850ef..00000000000 --- 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 dffc9671e6b..00000000000 --- 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/fix-database-connect-timeout.md b/.server-changes/fix-database-connect-timeout.md deleted file mode 100644 index 9f46e012d40..00000000000 --- 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 fe56e609510..00000000000 --- 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 066332c0314..00000000000 --- 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 232e97e8b90..00000000000 --- 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 39d4f5892d2..00000000000 --- 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 27e31cf5ec4..00000000000 --- 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/per-client-connection-timeouts.md b/.server-changes/per-client-connection-timeouts.md deleted file mode 100644 index 60da30a6554..00000000000 --- 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 81468a91444..00000000000 --- 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 d739f8d1209..00000000000 --- 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/queue-metrics-remember-period.md b/.server-changes/queue-metrics-remember-period.md deleted file mode 100644 index 339d3139c8d..00000000000 --- 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 bb3d8ea5da8..00000000000 --- 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/report-messages-not-treeshaken.md b/.server-changes/report-messages-not-treeshaken.md deleted file mode 100644 index b599e84f1ce..00000000000 --- 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 a8194c2f5bb..00000000000 --- 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 948f44d1977..00000000000 --- 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 072482b8b19..00000000000 --- 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/supervisor-run-pod-tolerations.md b/.server-changes/supervisor-run-pod-tolerations.md deleted file mode 100644 index 885b2b596da..00000000000 --- 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 1dbfbdd253a..00000000000 --- 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 a1c547e5e64..69254c98e91 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 86758b44ec7..9e025d55098 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 9f506b244c0..728dc6d0372 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 2305a7b0fdb..b5c0550ac07 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 f6c5e82d928..9cb78308f48 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 b1a86d8356d..249adc8e10f 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 e079342480c..8222f3c7013 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 5ed18bb5054..9f96893e7a2 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 40c09160316..fae20d9b280 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 7f61711e1d1..c790dafcc9e 100644 --- a/packages/react-hooks/CHANGELOG.md +++ b/packages/react-hooks/CHANGELOG.md @@ -1,5 +1,13 @@ # @trigger.dev/react-hooks +## 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/react-hooks/package.json b/packages/react-hooks/package.json index fe3afa35fb8..5ecff9155bb 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 a16a30bfda2..034d088c691 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 448e8921789..dd3cf0c7062 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 113bca6feb5..16616237103 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 a621ed1b831..e738351f949 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 0b5f9548c03..3436a9f2c0d 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 d1275b5197c..f241baa10cd 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 9abce6e7ee5..05e730bdae9 100644 --- a/packages/trigger-sdk/CHANGELOG.md +++ b/packages/trigger-sdk/CHANGELOG.md @@ -1,5 +1,16 @@ # @trigger.dev/sdk +## 4.5.10 + +### Patch Changes + +- 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 3623d282c98..60f77a3c4d8 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 86ed8090133..bbd5d308a9c 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: {}