From 4b3ac40bbc7cd9c8717d1918616cc6bcfeae9127 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 31 Jul 2025 13:15:51 +0000 Subject: [PATCH 1/2] chore: Update version for release (v4-beta) --- .changeset/pre.json | 5 +++++ packages/build/CHANGELOG.md | 8 ++++++++ packages/build/package.json | 4 ++-- packages/cli-v3/CHANGELOG.md | 10 ++++++++++ packages/cli-v3/package.json | 6 +++--- packages/core/CHANGELOG.md | 2 ++ 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/trigger-sdk/CHANGELOG.md | 23 +++++++++++++++++++++++ packages/trigger-sdk/package.json | 4 ++-- 17 files changed, 99 insertions(+), 21 deletions(-) diff --git a/.changeset/pre.json b/.changeset/pre.json index a3f385b125..f6ffff5fcb 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -19,6 +19,7 @@ "changesets": [ "beige-horses-juggle", "big-carrots-fail", + "big-garlics-own", "blue-eyes-tickle", "breezy-turtles-talk", "chatty-snakes-hope", @@ -26,14 +27,17 @@ "clean-beans-compete", "cuddly-boats-press", "curvy-dogs-share", + "cyan-news-design", "early-points-jam", "eight-ligers-help", "eighty-rings-divide", + "empty-dolls-judge", "fifty-beers-bake", "flat-pianos-live", "four-needles-add", "fuzzy-snakes-beg", "gentle-waves-suffer", + "giant-plums-smash", "gold-insects-invite", "green-lions-relate", "grumpy-wasps-fold", @@ -59,6 +63,7 @@ "polite-impalas-care", "polite-lies-fix", "rare-beds-accept", + "rare-mails-fail", "real-rats-drop", "red-chairs-begin", "red-rings-marry", diff --git a/packages/build/CHANGELOG.md b/packages/build/CHANGELOG.md index 9a58424fe7..5131e90e84 100644 --- a/packages/build/CHANGELOG.md +++ b/packages/build/CHANGELOG.md @@ -1,5 +1,13 @@ # @trigger.dev/build +## 4.0.0-v4-beta.26 + +### Patch Changes + +- Add Lightpanda extension ([#2192](https://github.com/triggerdotdev/trigger.dev/pull/2192)) +- Updated dependencies: + - `@trigger.dev/core@4.0.0-v4-beta.26` + ## 4.0.0-v4-beta.25 ### Patch Changes diff --git a/packages/build/package.json b/packages/build/package.json index 78f3558e11..b293f64c7c 100644 --- a/packages/build/package.json +++ b/packages/build/package.json @@ -1,6 +1,6 @@ { "name": "@trigger.dev/build", - "version": "4.0.0-v4-beta.25", + "version": "4.0.0-v4-beta.26", "description": "trigger.dev build extensions", "license": "MIT", "publishConfig": { @@ -77,7 +77,7 @@ "check-exports": "attw --pack ." }, "dependencies": { - "@trigger.dev/core": "workspace:4.0.0-v4-beta.25", + "@trigger.dev/core": "workspace:4.0.0-v4-beta.26", "pkg-types": "^1.1.3", "tinyglobby": "^0.2.2", "tsconfck": "3.1.3" diff --git a/packages/cli-v3/CHANGELOG.md b/packages/cli-v3/CHANGELOG.md index a3bf51b9be..9c4c195968 100644 --- a/packages/cli-v3/CHANGELOG.md +++ b/packages/cli-v3/CHANGELOG.md @@ -1,5 +1,15 @@ # trigger.dev +## 4.0.0-v4-beta.26 + +### Patch Changes + +- Allow any runs to finish after SIGTERM but disable warm starts ([#2316](https://github.com/triggerdotdev/trigger.dev/pull/2316)) +- Switch to profile after successful login ([#2192](https://github.com/triggerdotdev/trigger.dev/pull/2192)) +- Updated dependencies: + - `@trigger.dev/build@4.0.0-v4-beta.26` + - `@trigger.dev/core@4.0.0-v4-beta.26` + ## 4.0.0-v4-beta.25 ### Patch Changes diff --git a/packages/cli-v3/package.json b/packages/cli-v3/package.json index 846c067598..3d4e4c8a9f 100644 --- a/packages/cli-v3/package.json +++ b/packages/cli-v3/package.json @@ -1,6 +1,6 @@ { "name": "trigger.dev", - "version": "4.0.0-v4-beta.25", + "version": "4.0.0-v4-beta.26", "description": "A Command-Line Interface for Trigger.dev (v3) projects", "type": "module", "license": "MIT", @@ -93,8 +93,8 @@ "@opentelemetry/sdk-trace-base": "1.25.1", "@opentelemetry/sdk-trace-node": "1.25.1", "@opentelemetry/semantic-conventions": "1.25.1", - "@trigger.dev/build": "workspace:4.0.0-v4-beta.25", - "@trigger.dev/core": "workspace:4.0.0-v4-beta.25", + "@trigger.dev/build": "workspace:4.0.0-v4-beta.26", + "@trigger.dev/core": "workspace:4.0.0-v4-beta.26", "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 513890632d..ddf6c0ab3b 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,5 +1,7 @@ # internal-platform +## 4.0.0-v4-beta.26 + ## 4.0.0-v4-beta.25 ## 4.0.0-v4-beta.24 diff --git a/packages/core/package.json b/packages/core/package.json index 42c76333a4..05e781fda9 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@trigger.dev/core", - "version": "4.0.0-v4-beta.25", + "version": "4.0.0-v4-beta.26", "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 754b5eac3b..95b2702718 100644 --- a/packages/python/CHANGELOG.md +++ b/packages/python/CHANGELOG.md @@ -1,5 +1,14 @@ # @trigger.dev/python +## 4.0.0-v4-beta.26 + +### Patch Changes + +- Updated dependencies: + - `@trigger.dev/sdk@4.0.0-v4-beta.26` + - `@trigger.dev/build@4.0.0-v4-beta.26` + - `@trigger.dev/core@4.0.0-v4-beta.26` + ## 4.0.0-v4-beta.25 ### Patch Changes diff --git a/packages/python/package.json b/packages/python/package.json index c57046bdb0..f726d0cf64 100644 --- a/packages/python/package.json +++ b/packages/python/package.json @@ -1,6 +1,6 @@ { "name": "@trigger.dev/python", - "version": "4.0.0-v4-beta.25", + "version": "4.0.0-v4-beta.26", "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.0.0-v4-beta.25", + "@trigger.dev/core": "workspace:4.0.0-v4-beta.26", "tinyexec": "^0.3.2" }, "devDependencies": { @@ -56,12 +56,12 @@ "tsx": "4.17.0", "esbuild": "^0.23.0", "@arethetypeswrong/cli": "^0.15.4", - "@trigger.dev/build": "workspace:4.0.0-v4-beta.25", - "@trigger.dev/sdk": "workspace:4.0.0-v4-beta.25" + "@trigger.dev/build": "workspace:4.0.0-v4-beta.26", + "@trigger.dev/sdk": "workspace:4.0.0-v4-beta.26" }, "peerDependencies": { - "@trigger.dev/sdk": "workspace:^4.0.0-v4-beta.25", - "@trigger.dev/build": "workspace:^4.0.0-v4-beta.25" + "@trigger.dev/sdk": "workspace:^4.0.0-v4-beta.26", + "@trigger.dev/build": "workspace:^4.0.0-v4-beta.26" }, "engines": { "node": ">=18.20.0" diff --git a/packages/react-hooks/CHANGELOG.md b/packages/react-hooks/CHANGELOG.md index 8e466a5b46..108cde01af 100644 --- a/packages/react-hooks/CHANGELOG.md +++ b/packages/react-hooks/CHANGELOG.md @@ -1,5 +1,12 @@ # @trigger.dev/react-hooks +## 4.0.0-v4-beta.26 + +### Patch Changes + +- Updated dependencies: + - `@trigger.dev/core@4.0.0-v4-beta.26` + ## 4.0.0-v4-beta.25 ### Patch Changes diff --git a/packages/react-hooks/package.json b/packages/react-hooks/package.json index 1390dc41e2..cebf5806ee 100644 --- a/packages/react-hooks/package.json +++ b/packages/react-hooks/package.json @@ -1,6 +1,6 @@ { "name": "@trigger.dev/react-hooks", - "version": "4.0.0-v4-beta.25", + "version": "4.0.0-v4-beta.26", "description": "trigger.dev react hooks", "license": "MIT", "publishConfig": { @@ -37,7 +37,7 @@ "check-exports": "attw --pack ." }, "dependencies": { - "@trigger.dev/core": "workspace:^4.0.0-v4-beta.25", + "@trigger.dev/core": "workspace:^4.0.0-v4-beta.26", "swr": "^2.2.5" }, "devDependencies": { diff --git a/packages/redis-worker/CHANGELOG.md b/packages/redis-worker/CHANGELOG.md index 08a5501665..127063ee42 100644 --- a/packages/redis-worker/CHANGELOG.md +++ b/packages/redis-worker/CHANGELOG.md @@ -1,5 +1,12 @@ # @trigger.dev/redis-worker +## 4.0.0-v4-beta.26 + +### Patch Changes + +- Updated dependencies: + - `@trigger.dev/core@4.0.0-v4-beta.26` + ## 4.0.0-v4-beta.25 ### Patch Changes diff --git a/packages/redis-worker/package.json b/packages/redis-worker/package.json index 3698cb76e3..3625e0f130 100644 --- a/packages/redis-worker/package.json +++ b/packages/redis-worker/package.json @@ -1,6 +1,6 @@ { "name": "@trigger.dev/redis-worker", - "version": "4.0.0-v4-beta.25", + "version": "4.0.0-v4-beta.26", "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.0.0-v4-beta.25", + "@trigger.dev/core": "workspace:4.0.0-v4-beta.26", "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 43af1bec88..7f4ed8cdd5 100644 --- a/packages/rsc/CHANGELOG.md +++ b/packages/rsc/CHANGELOG.md @@ -1,5 +1,12 @@ # @trigger.dev/rsc +## 4.0.0-v4-beta.26 + +### Patch Changes + +- Updated dependencies: + - `@trigger.dev/core@4.0.0-v4-beta.26` + ## 4.0.0-v4-beta.25 ### Patch Changes diff --git a/packages/rsc/package.json b/packages/rsc/package.json index 3f8a3ca2aa..5de7a3ceb6 100644 --- a/packages/rsc/package.json +++ b/packages/rsc/package.json @@ -1,6 +1,6 @@ { "name": "@trigger.dev/rsc", - "version": "4.0.0-v4-beta.25", + "version": "4.0.0-v4-beta.26", "description": "trigger.dev rsc", "license": "MIT", "publishConfig": { @@ -37,14 +37,14 @@ "check-exports": "attw --pack ." }, "dependencies": { - "@trigger.dev/core": "workspace:^4.0.0-v4-beta.25", + "@trigger.dev/core": "workspace:^4.0.0-v4-beta.26", "mlly": "^1.7.1", "react": "19.0.0-rc.1", "react-dom": "19.0.0-rc.1" }, "devDependencies": { "@arethetypeswrong/cli": "^0.15.4", - "@trigger.dev/build": "workspace:^4.0.0-v4-beta.25", + "@trigger.dev/build": "workspace:^4.0.0-v4-beta.26", "@types/node": "^20.14.14", "@types/react": "*", "@types/react-dom": "*", diff --git a/packages/trigger-sdk/CHANGELOG.md b/packages/trigger-sdk/CHANGELOG.md index c454d6c3a9..00fc15d886 100644 --- a/packages/trigger-sdk/CHANGELOG.md +++ b/packages/trigger-sdk/CHANGELOG.md @@ -1,5 +1,28 @@ # @trigger.dev/sdk +## 4.0.0-v4-beta.26 + +### Patch Changes + +- fix: importing from runEngine/index.js breaks non-node runtimes ([#2328](https://github.com/triggerdotdev/trigger.dev/pull/2328)) +- Added and cleaned up the run ctx param: ([#2322](https://github.com/triggerdotdev/trigger.dev/pull/2322)) + + - New optional properties `ctx.run.parentTaskRunId` and `ctx.run.rootTaskRunId` reference the current run's root/parent ID. + - Removed deprecated properties from `ctx` + - Added a new `ctx.deployment` object that contains information about the deployment associated with the run. + + We also update `metadata.root` and `metadata.parent` to work even when the run is a "root" run (meaning it doesn't have a parent or a root associated run). This now works: + + ```ts + metadata.root.set("foo", "bar"); + metadata.parent.set("baz", 1); + metadata.current().foo; // "bar" + metadata.current().baz; // 1 + ``` + +- Updated dependencies: + - `@trigger.dev/core@4.0.0-v4-beta.26` + ## 4.0.0-v4-beta.25 ### Patch Changes diff --git a/packages/trigger-sdk/package.json b/packages/trigger-sdk/package.json index c42cd98d36..8b2ce0db4e 100644 --- a/packages/trigger-sdk/package.json +++ b/packages/trigger-sdk/package.json @@ -1,6 +1,6 @@ { "name": "@trigger.dev/sdk", - "version": "4.0.0-v4-beta.25", + "version": "4.0.0-v4-beta.26", "description": "trigger.dev Node.JS SDK", "license": "MIT", "publishConfig": { @@ -52,7 +52,7 @@ "@opentelemetry/api": "1.9.0", "@opentelemetry/api-logs": "0.52.1", "@opentelemetry/semantic-conventions": "1.25.1", - "@trigger.dev/core": "workspace:4.0.0-v4-beta.25", + "@trigger.dev/core": "workspace:4.0.0-v4-beta.26", "chalk": "^5.2.0", "cronstrue": "^2.21.0", "debug": "^4.3.4", From ba147d3cc3487aaf5484ad77987bcb9f09bc5ad7 Mon Sep 17 00:00:00 2001 From: Matt Aitken Date: Fri, 1 Aug 2025 12:30:35 +0100 Subject: [PATCH 2/2] Release v4.0.0-v4-beta.26 --- pnpm-lock.yaml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 258ebd571a..90b1371956 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1233,7 +1233,7 @@ importers: packages/build: dependencies: '@trigger.dev/core': - specifier: workspace:4.0.0-v4-beta.25 + specifier: workspace:4.0.0-v4-beta.26 version: link:../core pkg-types: specifier: ^1.1.3 @@ -1309,10 +1309,10 @@ importers: specifier: 1.25.1 version: 1.25.1 '@trigger.dev/build': - specifier: workspace:4.0.0-v4-beta.25 + specifier: workspace:4.0.0-v4-beta.26 version: link:../build '@trigger.dev/core': - specifier: workspace:4.0.0-v4-beta.25 + specifier: workspace:4.0.0-v4-beta.26 version: link:../core ansi-escapes: specifier: ^7.0.0 @@ -1659,7 +1659,7 @@ importers: packages/python: dependencies: '@trigger.dev/core': - specifier: workspace:4.0.0-v4-beta.25 + specifier: workspace:4.0.0-v4-beta.26 version: link:../core tinyexec: specifier: ^0.3.2 @@ -1669,10 +1669,10 @@ importers: specifier: ^0.15.4 version: 0.15.4 '@trigger.dev/build': - specifier: workspace:4.0.0-v4-beta.25 + specifier: workspace:4.0.0-v4-beta.26 version: link:../build '@trigger.dev/sdk': - specifier: workspace:4.0.0-v4-beta.25 + specifier: workspace:4.0.0-v4-beta.26 version: link:../trigger-sdk '@types/node': specifier: 20.14.14 @@ -1696,7 +1696,7 @@ importers: packages/react-hooks: dependencies: '@trigger.dev/core': - specifier: workspace:^4.0.0-v4-beta.25 + specifier: workspace:^4.0.0-v4-beta.26 version: link:../core react: specifier: ^18.0 || ^19.0 || ^19.0.0-rc @@ -1730,7 +1730,7 @@ importers: packages/redis-worker: dependencies: '@trigger.dev/core': - specifier: workspace:4.0.0-v4-beta.25 + specifier: workspace:4.0.0-v4-beta.26 version: link:../core cron-parser: specifier: ^4.9.0 @@ -1773,7 +1773,7 @@ importers: packages/rsc: dependencies: '@trigger.dev/core': - specifier: workspace:^4.0.0-v4-beta.25 + specifier: workspace:^4.0.0-v4-beta.26 version: link:../core mlly: specifier: ^1.7.1 @@ -1789,7 +1789,7 @@ importers: specifier: ^0.15.4 version: 0.15.4 '@trigger.dev/build': - specifier: workspace:^4.0.0-v4-beta.25 + specifier: workspace:^4.0.0-v4-beta.26 version: link:../build '@types/node': specifier: ^20.14.14 @@ -1822,7 +1822,7 @@ importers: specifier: 1.25.1 version: 1.25.1 '@trigger.dev/core': - specifier: workspace:4.0.0-v4-beta.25 + specifier: workspace:4.0.0-v4-beta.26 version: link:../core chalk: specifier: ^5.2.0