diff --git a/.changeset/mcp-server-starts-without-wizard.md b/.changeset/mcp-server-starts-without-wizard.md deleted file mode 100644 index 72a1a8bc6..000000000 --- a/.changeset/mcp-server-starts-without-wizard.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"trigger.dev": patch ---- - -`trigger mcp` now always starts the MCP server, and the interactive install wizard has moved behind `trigger mcp --install`. Previously the wizard opened whenever stdout was a terminal, so any MCP host that spawns the command over a pseudo-terminal waited on a server that never started and eventually timed out. diff --git a/.changeset/public-token-expiration-seconds.md b/.changeset/public-token-expiration-seconds.md deleted file mode 100644 index 5eba6ba68..000000000 --- a/.changeset/public-token-expiration-seconds.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@trigger.dev/sdk": patch ---- - -Correct the `expirationTime` docs on `auth.createPublicToken` and the trigger-token helpers: a number is a Unix timestamp in seconds, not milliseconds. diff --git a/.changeset/report-health.md b/.changeset/report-health.md deleted file mode 100644 index 51f06733c..000000000 --- a/.changeset/report-health.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -"@trigger.dev/core": patch -"trigger.dev": patch ---- - -Ask whether an environment is healthy and get an answer instead of a wall of charts. `trigger report health` returns a verdict on three questions: is work flowing, are the runs that start succeeding, and is the telemetry fresh enough to trust either answer. When something looks wrong it names the most likely cause and a next action. - -```bash -npx trigger.dev@latest report health --env prod --period 24h -``` - -The verdict is computed server side, so the CLI, the new `get_report` MCP tool, and `GET /api/v1/reports/health` all return the same text with the same sparklines. In MCP hosts that support prompts, `report` is also available as a slash command. diff --git a/.changeset/silent-build-logs.md b/.changeset/silent-build-logs.md deleted file mode 100644 index 17c3b9ab0..000000000 --- a/.changeset/silent-build-logs.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"trigger.dev": patch ---- - -Prevent build debug logs from including environment variable values. diff --git a/.changeset/target-cli-notifications.md b/.changeset/target-cli-notifications.md deleted file mode 100644 index bdb6f7240..000000000 --- a/.changeset/target-cli-notifications.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"trigger.dev": patch ---- - -Send the running CLI version when checking for platform notifications so notices can be limited to compatible CLI releases. diff --git a/.server-changes/agent-detail-metrics-layout.md b/.server-changes/agent-detail-metrics-layout.md deleted file mode 100644 index 1db02286f..000000000 --- a/.server-changes/agent-detail-metrics-layout.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -area: webapp -type: improvement ---- - -The agent detail page now uses the same layout as the other metrics pages: filters stay pinned at the top, the activity charts sit in a row beneath them, and the tabs and table scroll with the page, with the agent config in a resizable panel on the right. diff --git a/.server-changes/fix-invite-role-change-for-existing-members.md b/.server-changes/fix-invite-role-change-for-existing-members.md deleted file mode 100644 index ad4fb18b6..000000000 --- a/.server-changes/fix-invite-role-change-for-existing-members.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -area: webapp -type: fix ---- - -Accepting an old invitation could change the role of someone who was already in the organization. An invitation now leaves an existing member's role untouched, people who are already in an organization are no longer sent invitations to it, and the invite form now says which addresses it skipped instead of failing with an unhelpful error. diff --git a/.server-changes/internal-api-origin-flag.md b/.server-changes/internal-api-origin-flag.md deleted file mode 100644 index 48b26ba85..000000000 --- a/.server-changes/internal-api-origin-flag.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -area: webapp -type: improvement ---- - -Self-hosted instances can now serve deployed runs' API traffic from a different origin than the public one, per organization, via the `INTERNAL_API_ORIGIN` environment variable and a feature flag. diff --git a/.server-changes/paginate-concurrency-keys-table.md b/.server-changes/paginate-concurrency-keys-table.md deleted file mode 100644 index 3f9c61036..000000000 --- a/.server-changes/paginate-concurrency-keys-table.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -area: webapp -type: improvement ---- - -A queue's concurrency keys are now paged and searchable, so a queue with thousands of keys shows all of them instead of only the busiest 50. diff --git a/.server-changes/queue-concurrency-percent-limits.md b/.server-changes/queue-concurrency-percent-limits.md deleted file mode 100644 index 5e4d70c54..000000000 --- a/.server-changes/queue-concurrency-percent-limits.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -area: webapp -type: feature ---- - -A queue's concurrency limit can now be set as a percentage of your environment limit, from the dashboard or the API. Percentage limits track the environment limit, so raising or lowering it re-divides capacity without you editing every queue. diff --git a/.server-changes/queue-metrics-dashboard.md b/.server-changes/queue-metrics-dashboard.md deleted file mode 100644 index 4892040a6..000000000 --- a/.server-changes/queue-metrics-dashboard.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -area: webapp -type: feature ---- - -See how every queue in an environment is doing: backlog, throughput, concurrency against its limit, when it was throttled, and how long runs waited before starting. Each queue also gets its own page, which breaks the same numbers down per concurrency key so you can tell whether one key is starving the rest. diff --git a/.server-changes/reject-queue-limit-above-env-limit.md b/.server-changes/reject-queue-limit-above-env-limit.md deleted file mode 100644 index dcd1dad89..000000000 --- a/.server-changes/reject-queue-limit-above-env-limit.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -area: webapp -type: breaking ---- - -Setting a queue concurrency limit higher than your environment limit is now rejected with an error instead of being silently reduced to the environment limit, so a queue never looks like it has more capacity than it can get. Limits already saved are unchanged. diff --git a/.server-changes/remove-unused-trace-sync-route.md b/.server-changes/remove-unused-trace-sync-route.md deleted file mode 100644 index b2e857405..000000000 --- a/.server-changes/remove-unused-trace-sync-route.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -area: webapp -type: fix ---- - -Removed an unused internal dashboard sync route that is no longer part of any product surface. diff --git a/.server-changes/sentry-request-attribution.md b/.server-changes/sentry-request-attribution.md deleted file mode 100644 index d42abf78d..000000000 --- a/.server-changes/sentry-request-attribution.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -area: webapp -type: fix ---- - -Fixed error reports being attributed to the wrong request when several requests were in flight at once. diff --git a/.server-changes/tsql-query-error-log-levels.md b/.server-changes/tsql-query-error-log-levels.md deleted file mode 100644 index 1aaedba3b..000000000 --- a/.server-changes/tsql-query-error-log-levels.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -area: webapp -type: fix ---- - -Invalid queries sent to the query API are no longer treated as internal errors, and a query that does fail is now recorded together with the query text that produced it. diff --git a/hosting/k8s/helm/Chart.yaml b/hosting/k8s/helm/Chart.yaml index 69538c1a2..f1753ef7e 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.8 -appVersion: v4.5.8 +version: 4.5.9 +appVersion: v4.5.9 home: https://trigger.dev sources: - https://github.com/triggerdotdev/trigger.dev diff --git a/packages/build/CHANGELOG.md b/packages/build/CHANGELOG.md index 10f672975..86758b44e 100644 --- a/packages/build/CHANGELOG.md +++ b/packages/build/CHANGELOG.md @@ -1,5 +1,12 @@ # @trigger.dev/build +## 4.5.9 + +### Patch Changes + +- Updated dependencies: + - `@trigger.dev/core@4.5.9` + ## 4.5.8 ### Patch Changes diff --git a/packages/build/package.json b/packages/build/package.json index 39c7e5cd7..c55ffbb68 100644 --- a/packages/build/package.json +++ b/packages/build/package.json @@ -1,6 +1,6 @@ { "name": "@trigger.dev/build", - "version": "4.5.8", + "version": "4.5.9", "description": "trigger.dev build extensions", "license": "MIT", "publishConfig": { @@ -79,7 +79,7 @@ }, "dependencies": { "@prisma/config": "^6.10.0", - "@trigger.dev/core": "workspace:4.5.8", + "@trigger.dev/core": "workspace:4.5.9", "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 c3821d48b..2305a7b0f 100644 --- a/packages/cli-v3/CHANGELOG.md +++ b/packages/cli-v3/CHANGELOG.md @@ -1,5 +1,25 @@ # trigger.dev +## 4.5.9 + +### Patch Changes + +- `trigger mcp` now always starts the MCP server, and the interactive install wizard has moved behind `trigger mcp --install`. Previously the wizard opened whenever stdout was a terminal, so any MCP host that spawns the command over a pseudo-terminal waited on a server that never started and eventually timed out. ([#4131](https://github.com/triggerdotdev/trigger.dev/pull/4131)) +- Ask whether an environment is healthy and get an answer instead of a wall of charts. `trigger report health` returns a verdict on three questions: is work flowing, are the runs that start succeeding, and is the telemetry fresh enough to trust either answer. When something looks wrong it names the most likely cause and a next action. ([#4131](https://github.com/triggerdotdev/trigger.dev/pull/4131)) + + ```bash + npx trigger.dev@latest report health --env prod --period 24h + ``` + + The verdict is computed server side, so the CLI, the new `get_report` MCP tool, and `GET /api/v1/reports/health` all return the same text with the same sparklines. In MCP hosts that support prompts, `report` is also available as a slash command. + +- Prevent build debug logs from including environment variable values. ([#4420](https://github.com/triggerdotdev/trigger.dev/pull/4420)) +- Send the running CLI version when checking for platform notifications so notices can be limited to compatible CLI releases. ([#4407](https://github.com/triggerdotdev/trigger.dev/pull/4407)) +- Updated dependencies: + - `@trigger.dev/core@4.5.9` + - `@trigger.dev/build@4.5.9` + - `@trigger.dev/schema-to-json@4.5.9` + ## 4.5.8 ### Patch Changes diff --git a/packages/cli-v3/package.json b/packages/cli-v3/package.json index 9dba77e6a..44c1ec046 100644 --- a/packages/cli-v3/package.json +++ b/packages/cli-v3/package.json @@ -1,6 +1,6 @@ { "name": "trigger.dev", - "version": "4.5.8", + "version": "4.5.9", "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.22.10", - "@trigger.dev/build": "workspace:4.5.8", - "@trigger.dev/core": "workspace:4.5.8", - "@trigger.dev/schema-to-json": "workspace:4.5.8", + "@trigger.dev/build": "workspace:4.5.9", + "@trigger.dev/core": "workspace:4.5.9", + "@trigger.dev/schema-to-json": "workspace:4.5.9", "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 912229353..b1a86d835 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,5 +1,17 @@ # internal-platform +## 4.5.9 + +### Patch Changes + +- Ask whether an environment is healthy and get an answer instead of a wall of charts. `trigger report health` returns a verdict on three questions: is work flowing, are the runs that start succeeding, and is the telemetry fresh enough to trust either answer. When something looks wrong it names the most likely cause and a next action. ([#4131](https://github.com/triggerdotdev/trigger.dev/pull/4131)) + + ```bash + npx trigger.dev@latest report health --env prod --period 24h + ``` + + The verdict is computed server side, so the CLI, the new `get_report` MCP tool, and `GET /api/v1/reports/health` all return the same text with the same sparklines. In MCP hosts that support prompts, `report` is also available as a slash command. + ## 4.5.8 ### Patch Changes diff --git a/packages/core/package.json b/packages/core/package.json index c99f83fe6..59cb1c766 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@trigger.dev/core", - "version": "4.5.8", + "version": "4.5.9", "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 ef31e38a0..5ed18bb50 100644 --- a/packages/python/CHANGELOG.md +++ b/packages/python/CHANGELOG.md @@ -1,5 +1,14 @@ # @trigger.dev/python +## 4.5.9 + +### Patch Changes + +- Updated dependencies: + - `@trigger.dev/sdk@4.5.9` + - `@trigger.dev/core@4.5.9` + - `@trigger.dev/build@4.5.9` + ## 4.5.8 ### Patch Changes diff --git a/packages/python/package.json b/packages/python/package.json index 3b1fbb678..b0c766b94 100644 --- a/packages/python/package.json +++ b/packages/python/package.json @@ -1,6 +1,6 @@ { "name": "@trigger.dev/python", - "version": "4.5.8", + "version": "4.5.9", "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.8", + "@trigger.dev/core": "workspace:4.5.9", "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.8", - "@trigger.dev/sdk": "workspace:4.5.8" + "@trigger.dev/build": "workspace:4.5.9", + "@trigger.dev/sdk": "workspace:4.5.9" }, "peerDependencies": { - "@trigger.dev/sdk": "workspace:^4.5.8", - "@trigger.dev/build": "workspace:^4.5.8" + "@trigger.dev/sdk": "workspace:^4.5.9", + "@trigger.dev/build": "workspace:^4.5.9" }, "engines": { "node": ">=18.20.0" diff --git a/packages/react-hooks/CHANGELOG.md b/packages/react-hooks/CHANGELOG.md index 78140e5a1..7f61711e1 100644 --- a/packages/react-hooks/CHANGELOG.md +++ b/packages/react-hooks/CHANGELOG.md @@ -1,5 +1,12 @@ # @trigger.dev/react-hooks +## 4.5.9 + +### Patch Changes + +- Updated dependencies: + - `@trigger.dev/core@4.5.9` + ## 4.5.8 ### Patch Changes diff --git a/packages/react-hooks/package.json b/packages/react-hooks/package.json index 48a5b67a6..cc8bc3dd3 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.8", + "version": "4.5.9", "description": "trigger.dev react hooks", "license": "MIT", "publishConfig": { @@ -37,7 +37,7 @@ "check-exports": "attw --pack ." }, "dependencies": { - "@trigger.dev/core": "workspace:^4.5.8", + "@trigger.dev/core": "workspace:^4.5.9", "swr": "^2.2.5" }, "devDependencies": { diff --git a/packages/redis-worker/CHANGELOG.md b/packages/redis-worker/CHANGELOG.md index 1fbed6edc..a16a30bfd 100644 --- a/packages/redis-worker/CHANGELOG.md +++ b/packages/redis-worker/CHANGELOG.md @@ -1,5 +1,12 @@ # @trigger.dev/redis-worker +## 4.5.9 + +### Patch Changes + +- Updated dependencies: + - `@trigger.dev/core@4.5.9` + ## 4.5.8 ### Patch Changes diff --git a/packages/redis-worker/package.json b/packages/redis-worker/package.json index 7d2ff4dce..7c014c234 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.8", + "version": "4.5.9", "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.8", + "@trigger.dev/core": "workspace:4.5.9", "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 f30b7980f..113bca6fe 100644 --- a/packages/rsc/CHANGELOG.md +++ b/packages/rsc/CHANGELOG.md @@ -1,5 +1,12 @@ # @trigger.dev/rsc +## 4.5.9 + +### Patch Changes + +- Updated dependencies: + - `@trigger.dev/core@4.5.9` + ## 4.5.8 ### Patch Changes diff --git a/packages/rsc/package.json b/packages/rsc/package.json index b216d219d..eb6396223 100644 --- a/packages/rsc/package.json +++ b/packages/rsc/package.json @@ -1,6 +1,6 @@ { "name": "@trigger.dev/rsc", - "version": "4.5.8", + "version": "4.5.9", "description": "trigger.dev rsc", "license": "MIT", "publishConfig": { @@ -37,14 +37,14 @@ "check-exports": "attw --pack ." }, "dependencies": { - "@trigger.dev/core": "workspace:^4.5.8", + "@trigger.dev/core": "workspace:^4.5.9", "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.8", + "@trigger.dev/build": "workspace:^4.5.9", "@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 6f5a7cc5b..0b5f9548c 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.9 + +### Patch Changes + +- Updated dependencies: + - `@trigger.dev/core@4.5.9` + ## 4.5.8 ### Patch Changes diff --git a/packages/schema-to-json/package.json b/packages/schema-to-json/package.json index 66aa20c35..0a590345a 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.8", + "version": "4.5.9", "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 fa4b2ddb9..9abce6e7e 100644 --- a/packages/trigger-sdk/CHANGELOG.md +++ b/packages/trigger-sdk/CHANGELOG.md @@ -1,5 +1,13 @@ # @trigger.dev/sdk +## 4.5.9 + +### Patch Changes + +- Correct the `expirationTime` docs on `auth.createPublicToken` and the trigger-token helpers: a number is a Unix timestamp in seconds, not milliseconds. ([#4388](https://github.com/triggerdotdev/trigger.dev/pull/4388)) +- Updated dependencies: + - `@trigger.dev/core@4.5.9` + ## 4.5.8 ### Patch Changes diff --git a/packages/trigger-sdk/package.json b/packages/trigger-sdk/package.json index 41b5591c8..64de5ea6d 100644 --- a/packages/trigger-sdk/package.json +++ b/packages/trigger-sdk/package.json @@ -1,6 +1,6 @@ { "name": "@trigger.dev/sdk", - "version": "4.5.8", + "version": "4.5.9", "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.8", + "@trigger.dev/core": "workspace:4.5.9", "chalk": "^5.2.0", "cronstrue": "^2.21.0", "debug": "^4.3.4", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 766ab1a8e..2bb6eabbd 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1450,7 +1450,7 @@ importers: specifier: ^6.10.0 version: 6.19.0(magicast@0.3.5) '@trigger.dev/core': - specifier: workspace:4.5.8 + specifier: workspace:4.5.9 version: link:../core mlly: specifier: ^1.7.1 @@ -1526,13 +1526,13 @@ importers: specifier: ^0.22.10 version: 0.22.10(supports-color@10.0.0) '@trigger.dev/build': - specifier: workspace:4.5.8 + specifier: workspace:4.5.9 version: link:../build '@trigger.dev/core': - specifier: workspace:4.5.8 + specifier: workspace:4.5.9 version: link:../core '@trigger.dev/schema-to-json': - specifier: workspace:4.5.8 + specifier: workspace:4.5.9 version: link:../schema-to-json ansi-escapes: specifier: ^7.0.0 @@ -1919,7 +1919,7 @@ importers: packages/python: dependencies: '@trigger.dev/core': - specifier: workspace:4.5.8 + specifier: workspace:4.5.9 version: link:../core tinyexec: specifier: ^0.3.2 @@ -1929,10 +1929,10 @@ importers: specifier: ^0.18.5 version: 0.18.5 '@trigger.dev/build': - specifier: workspace:4.5.8 + specifier: workspace:4.5.9 version: link:../build '@trigger.dev/sdk': - specifier: workspace:4.5.8 + specifier: workspace:4.5.9 version: link:../trigger-sdk '@types/node': specifier: 24.13.3 @@ -1956,7 +1956,7 @@ importers: packages/react-hooks: dependencies: '@trigger.dev/core': - specifier: workspace:^4.5.8 + specifier: workspace:^4.5.9 version: link:../core react: specifier: 18.3.1 @@ -1990,7 +1990,7 @@ importers: packages/redis-worker: dependencies: '@trigger.dev/core': - specifier: workspace:4.5.8 + specifier: workspace:4.5.9 version: link:../core cron-parser: specifier: ^4.9.0 @@ -2039,7 +2039,7 @@ importers: packages/rsc: dependencies: '@trigger.dev/core': - specifier: workspace:^4.5.8 + specifier: workspace:^4.5.9 version: link:../core mlly: specifier: ^1.7.1 @@ -2055,7 +2055,7 @@ importers: specifier: ^0.18.5 version: 0.18.5 '@trigger.dev/build': - specifier: workspace:^4.5.8 + specifier: workspace:^4.5.9 version: link:../build '@types/node': specifier: 24.13.3 @@ -2134,7 +2134,7 @@ importers: specifier: 1.41.1 version: 1.41.1 '@trigger.dev/core': - specifier: workspace:4.5.8 + specifier: workspace:4.5.9 version: link:../core chalk: specifier: ^5.2.0