Skip to content

chore: Update version for release (v4-beta) #2289

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 22, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"@trigger.dev/sdk": "3.3.17"
},
"changesets": [
"beige-horses-juggle",
"big-carrots-fail",
"blue-eyes-tickle",
"breezy-turtles-talk",
Expand Down Expand Up @@ -45,6 +46,7 @@
"lazy-panthers-shop",
"lazy-plums-fetch",
"light-peas-melt",
"little-birds-appear",
"moody-squids-count",
"nasty-cobras-wonder",
"nice-colts-boil",
Expand Down Expand Up @@ -80,6 +82,7 @@
"tiny-buckets-teach",
"tricky-houses-invite",
"twelve-actors-hide",
"two-eagles-report",
"two-tigers-dream",
"weak-jobs-hide",
"weak-parents-sip",
Expand Down
7 changes: 7 additions & 0 deletions packages/build/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @trigger.dev/build

## 4.0.0-v4-beta.24

### Patch Changes

- Updated dependencies:
- `@trigger.dev/[email protected]`

## 4.0.0-v4-beta.23

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/build/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@trigger.dev/build",
"version": "4.0.0-v4-beta.23",
"version": "4.0.0-v4-beta.24",
"description": "trigger.dev build extensions",
"license": "MIT",
"publishConfig": {
Expand Down Expand Up @@ -73,7 +73,7 @@
"check-exports": "attw --pack ."
},
"dependencies": {
"@trigger.dev/core": "workspace:4.0.0-v4-beta.23",
"@trigger.dev/core": "workspace:4.0.0-v4-beta.24",
"pkg-types": "^1.1.3",
"tinyglobby": "^0.2.2",
"tsconfck": "3.1.3"
Expand Down
9 changes: 9 additions & 0 deletions packages/cli-v3/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# trigger.dev

## 4.0.0-v4-beta.24

### Patch Changes

- Added experimental_devProcessCwdInBuildDir config option to opt-in to new process.cwd behavior when executing tasks in the dev CLI. Currently process.cwd maps to the "root" of your trigger.dev project (the directory that contains your trigger.config.ts file). Setting experimental_devProcessCwdInBuildDir to true changes process.cwd to instead be the temporary build directory inside of the .trigger directory. ([#2269](https://github.com/triggerdotdev/trigger.dev/pull/2269))
- Updated dependencies:
- `@trigger.dev/[email protected]`
- `@trigger.dev/[email protected]`

## 4.0.0-v4-beta.23

### Patch Changes
Expand Down
6 changes: 3 additions & 3 deletions packages/cli-v3/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "trigger.dev",
"version": "4.0.0-v4-beta.23",
"version": "4.0.0-v4-beta.24",
"description": "A Command-Line Interface for Trigger.dev (v3) projects",
"type": "module",
"license": "MIT",
Expand Down Expand Up @@ -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.23",
"@trigger.dev/core": "workspace:4.0.0-v4-beta.23",
"@trigger.dev/build": "workspace:4.0.0-v4-beta.24",
"@trigger.dev/core": "workspace:4.0.0-v4-beta.24",
"ansi-escapes": "^7.0.0",
"braces": "^3.0.3",
"c12": "^1.11.1",
Expand Down
2 changes: 2 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# internal-platform

## 4.0.0-v4-beta.24

## 4.0.0-v4-beta.23

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@trigger.dev/core",
"version": "4.0.0-v4-beta.23",
"version": "4.0.0-v4-beta.24",
"description": "Core code used across the Trigger.dev SDK and platform",
"license": "MIT",
"publishConfig": {
Expand Down
9 changes: 9 additions & 0 deletions packages/python/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @trigger.dev/python

## 4.0.0-v4-beta.24

### Patch Changes

- Updated dependencies:
- `@trigger.dev/[email protected]`
- `@trigger.dev/[email protected]`
- `@trigger.dev/[email protected]`

## 4.0.0-v4-beta.23

### Patch Changes
Expand Down
12 changes: 6 additions & 6 deletions packages/python/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@trigger.dev/python",
"version": "4.0.0-v4-beta.23",
"version": "4.0.0-v4-beta.24",
"description": "Python runtime and build extension for Trigger.dev",
"license": "MIT",
"publishConfig": {
Expand Down Expand Up @@ -45,7 +45,7 @@
"check-exports": "attw --pack ."
},
"dependencies": {
"@trigger.dev/core": "workspace:4.0.0-v4-beta.23",
"@trigger.dev/core": "workspace:4.0.0-v4-beta.24",
"tinyexec": "^0.3.2"
},
"devDependencies": {
Expand All @@ -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.23",
"@trigger.dev/sdk": "workspace:4.0.0-v4-beta.23"
"@trigger.dev/build": "workspace:4.0.0-v4-beta.24",
"@trigger.dev/sdk": "workspace:4.0.0-v4-beta.24"
},
"peerDependencies": {
"@trigger.dev/sdk": "workspace:^4.0.0-v4-beta.23",
"@trigger.dev/build": "workspace:^4.0.0-v4-beta.23"
"@trigger.dev/sdk": "workspace:^4.0.0-v4-beta.24",
"@trigger.dev/build": "workspace:^4.0.0-v4-beta.24"
},
"engines": {
"node": ">=18.20.0"
Expand Down
7 changes: 7 additions & 0 deletions packages/react-hooks/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @trigger.dev/react-hooks

## 4.0.0-v4-beta.24

### Patch Changes

- Updated dependencies:
- `@trigger.dev/[email protected]`

## 4.0.0-v4-beta.23

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/react-hooks/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@trigger.dev/react-hooks",
"version": "4.0.0-v4-beta.23",
"version": "4.0.0-v4-beta.24",
"description": "trigger.dev react hooks",
"license": "MIT",
"publishConfig": {
Expand Down Expand Up @@ -37,7 +37,7 @@
"check-exports": "attw --pack ."
},
"dependencies": {
"@trigger.dev/core": "workspace:^4.0.0-v4-beta.23",
"@trigger.dev/core": "workspace:^4.0.0-v4-beta.24",
"swr": "^2.2.5"
},
"devDependencies": {
Expand Down
7 changes: 7 additions & 0 deletions packages/redis-worker/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @trigger.dev/redis-worker

## 4.0.0-v4-beta.24

### Patch Changes

- Updated dependencies:
- `@trigger.dev/[email protected]`

## 4.0.0-v4-beta.23

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/redis-worker/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@trigger.dev/redis-worker",
"version": "4.0.0-v4-beta.23",
"version": "4.0.0-v4-beta.24",
"description": "Redis worker for trigger.dev",
"license": "MIT",
"publishConfig": {
Expand All @@ -23,7 +23,7 @@
"test": "vitest --sequence.concurrent=false --no-file-parallelism"
},
"dependencies": {
"@trigger.dev/core": "workspace:4.0.0-v4-beta.23",
"@trigger.dev/core": "workspace:4.0.0-v4-beta.24",
"lodash.omit": "^4.5.0",
"nanoid": "^5.0.7",
"p-limit": "^6.2.0",
Expand Down
7 changes: 7 additions & 0 deletions packages/rsc/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @trigger.dev/rsc

## 4.0.0-v4-beta.24

### Patch Changes

- Updated dependencies:
- `@trigger.dev/[email protected]`

## 4.0.0-v4-beta.23

### Patch Changes
Expand Down
6 changes: 3 additions & 3 deletions packages/rsc/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@trigger.dev/rsc",
"version": "4.0.0-v4-beta.23",
"version": "4.0.0-v4-beta.24",
"description": "trigger.dev rsc",
"license": "MIT",
"publishConfig": {
Expand Down Expand Up @@ -37,14 +37,14 @@
"check-exports": "attw --pack ."
},
"dependencies": {
"@trigger.dev/core": "workspace:^4.0.0-v4-beta.23",
"@trigger.dev/core": "workspace:^4.0.0-v4-beta.24",
"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.23",
"@trigger.dev/build": "workspace:^4.0.0-v4-beta.24",
"@types/node": "^20.14.14",
"@types/react": "*",
"@types/react-dom": "*",
Expand Down
50 changes: 50 additions & 0 deletions packages/trigger-sdk/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,55 @@
# @trigger.dev/sdk

## 4.0.0-v4-beta.24

### Patch Changes

- Removes the `releaseConcurrencyOnWaitpoint` option on queues and the `releaseConcurrency` option on various wait functions. Replaced with the following default behavior: ([#2284](https://github.com/triggerdotdev/trigger.dev/pull/2284))

- Concurrency is never released when a run is first blocked via a waitpoint, at either the env or queue level.
- Concurrency is always released when a run is checkpointed and shutdown, at both the env and queue level.

Additionally, environment concurrency limits now have a new "Burst Factor", defaulting to 2.0x. The "Burst Factor" allows the environment-wide concurrency limit to be higher than any individual queue's concurrency limit. For example, if you have an environment concurrency limit of 100, and a Burst Factor of 2.0x, then you can execute up to 200 runs concurrently, but any one task/queue can still only execute 100 runs concurrently.

We've done some work cleaning up the run statuses. The new statuses are:

- `PENDING_VERSION`: Task is waiting for a version update because it cannot execute without additional information (task, queue, etc.)
- `QUEUED`: Task is waiting to be executed by a worker
- `DEQUEUED`: Task has been dequeued and is being sent to a worker to start executing.
- `EXECUTING`: Task is currently being executed by a worker
- `WAITING`: Task has been paused by the system, and will be resumed by the system
- `COMPLETED`: Task has been completed successfully
- `CANCELED`: Task has been canceled by the user
- `FAILED`: Task has failed to complete, due to an error in the system
- `CRASHED`: Task has crashed and won't be retried, most likely the worker ran out of resources, e.g. memory or storage
- `SYSTEM_FAILURE`: Task has failed to complete, due to an error in the system
- `DELAYED`: Task has been scheduled to run at a specific time
- `EXPIRED`: Task has expired and won't be executed
- `TIMED_OUT`: Task has reached it's maxDuration and has been stopped

We've removed the following statuses:

- `WAITING_FOR_DEPLOY`: This is no longer used, and is replaced by `PENDING_VERSION`
- `FROZEN`: This is no longer used, and is replaced by `WAITING`
- `INTERRUPTED`: This is no longer used
- `REATTEMPTING`: This is no longer used, and is replaced by `EXECUTING`

We've also added "boolean" helpers to runs returned via the API and from Realtime:

- `isQueued`: Returns true when the status is `QUEUED`, `PENDING_VERSION`, or `DELAYED`
- `isExecuting`: Returns true when the status is `EXECUTING`, `DEQUEUED`. These count against your concurrency limits.
- `isWaiting`: Returns true when the status is `WAITING`. These do not count against your concurrency limits.
- `isCompleted`: Returns true when the status is any of the completed statuses.
- `isCanceled`: Returns true when the status is `CANCELED`
- `isFailed`: Returns true when the status is any of the failed statuses.
- `isSuccess`: Returns true when the status is `COMPLETED`

This change adds the ability to easily detect which runs are being counted against your concurrency limit by filtering for both `EXECUTING` or `DEQUEUED`.

- Added runs.list filtering for queue and machine ([#2277](https://github.com/triggerdotdev/trigger.dev/pull/2277))
- Updated dependencies:
- `@trigger.dev/[email protected]`

## 4.0.0-v4-beta.23

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/trigger-sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@trigger.dev/sdk",
"version": "4.0.0-v4-beta.23",
"version": "4.0.0-v4-beta.24",
"description": "trigger.dev Node.JS SDK",
"license": "MIT",
"publishConfig": {
Expand Down Expand Up @@ -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.23",
"@trigger.dev/core": "workspace:4.0.0-v4-beta.24",
"chalk": "^5.2.0",
"cronstrue": "^2.21.0",
"debug": "^4.3.4",
Expand Down
Loading
Loading