Skip to content

Commit 8d7b5e9

Browse files
committed
Got rid of some more @v4-beta mentions
1 parent 6975b26 commit 8d7b5e9

File tree

4 files changed

+81
-67
lines changed

4 files changed

+81
-67
lines changed

docs/manual-setup.mdx

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ Before setting up your project, you need to authenticate the CLI with Trigger.de
1717

1818
```bash
1919
# Login to Trigger.dev
20-
npx trigger.dev@v4-beta login
20+
npx trigger.dev@latest login
2121

2222
# Or with a specific API URL (for self-hosted instances)
23-
npx trigger.dev@v4-beta login --api-url https://your-trigger-instance.com
23+
npx trigger.dev@latest login --api-url https://your-trigger-instance.com
2424
```
2525

2626
This will open your browser to authenticate. Once authenticated, you'll need to select or create a project in the Trigger.dev dashboard to get your project reference (e.g., `proj_abc123`).
@@ -32,23 +32,23 @@ Install the required packages based on your package manager:
3232
<CodeGroup>
3333

3434
```bash npm
35-
npm add @trigger.dev/sdk@v4-beta
36-
npm add --save-dev @trigger.dev/build@v4-beta
35+
npm add @trigger.dev/sdk@latest
36+
npm add --save-dev @trigger.dev/build@latest
3737
```
3838

3939
```bash pnpm
40-
pnpm add @trigger.dev/sdk@v4-beta
41-
pnpm add -D @trigger.dev/build@v4-beta
40+
pnpm add @trigger.dev/sdk@latest
41+
pnpm add -D @trigger.dev/build@latest
4242
```
4343

4444
```bash yarn
45-
yarn add @trigger.dev/sdk@v4-beta
46-
yarn add -D @trigger.dev/build@v4-beta
45+
yarn add @trigger.dev/sdk@latest
46+
yarn add -D @trigger.dev/build@latest
4747
```
4848

4949
```bash bun
50-
bun add @trigger.dev/sdk@v4-beta
51-
bun add -D @trigger.dev/build@v4-beta
50+
bun add @trigger.dev/sdk@latest
51+
bun add -D @trigger.dev/build@latest
5252
```
5353

5454
</CodeGroup>
@@ -82,13 +82,13 @@ You can run the Trigger.dev CLI in two ways:
8282

8383
```bash
8484
# npm
85-
npx trigger.dev@v4-beta dev
85+
npx trigger.dev@latest dev
8686

8787
# pnpm
88-
pnpm dlx trigger.dev@v4-beta dev
88+
pnpm dlx trigger.dev@latest dev
8989

9090
# yarn
91-
yarn dlx trigger.dev@v4-beta dev
91+
yarn dlx trigger.dev@latest dev
9292
```
9393

9494
### Option 2: Add as dev dependency
@@ -98,7 +98,7 @@ Add the CLI to your `package.json`:
9898
```json
9999
{
100100
"devDependencies": {
101-
"trigger.dev": "4.0.0-v4-beta.26"
101+
"trigger.dev": "^4.0.0"
102102
}
103103
}
104104
```
@@ -120,11 +120,11 @@ Make sure to pin the version of the CLI to the same version as the SDK that you
120120

121121
```json
122122
"devDependencies": {
123-
"trigger.dev": "4.0.0-v4-beta.26",
124-
"@trigger.dev/build": "4.0.0-v4-beta.26"
123+
"trigger.dev": "^4.0.0",
124+
"@trigger.dev/build": "^4.0.0"
125125
},
126126
"dependencies": {
127-
"@trigger.dev/sdk": "4.0.0-v4-beta.26"
127+
"@trigger.dev/sdk": "^4.0.0"
128128
}
129129
```
130130

@@ -239,16 +239,16 @@ If you're building a React frontend application and want to display task status
239239

240240
```bash
241241
# npm
242-
npm install @trigger.dev/react-hooks@v4-beta
242+
npm install @trigger.dev/react-hooks@latest
243243

244244
# pnpm
245-
pnpm add @trigger.dev/react-hooks@v4-beta
245+
pnpm add @trigger.dev/react-hooks@latest
246246

247247
# yarn
248-
yarn add @trigger.dev/react-hooks@v4-beta
248+
yarn add @trigger.dev/react-hooks@latest
249249

250250
# bun
251-
bun add @trigger.dev/react-hooks@v4-beta
251+
bun add @trigger.dev/react-hooks@latest
252252
```
253253

254254
### Basic usage
@@ -396,10 +396,10 @@ packages:
396396
"name": "@repo/tasks",
397397
"version": "0.0.0",
398398
"dependencies": {
399-
"@trigger.dev/sdk": "4.0.0-v4-beta.26"
399+
"@trigger.dev/sdk": "^4.0.0"
400400
},
401401
"devDependencies": {
402-
"@trigger.dev/build": "4.0.0-v4-beta.26"
402+
"@trigger.dev/build": "^4.0.0"
403403
},
404404
"exports": {
405405
".": "./src/trigger/index.ts",
@@ -509,7 +509,7 @@ Run the development server for the tasks package:
509509
```bash
510510
# From the root of your monorepo
511511
cd packages/tasks
512-
npx trigger.dev@v4-beta dev
512+
npx trigger.dev@latest dev
513513

514514
# Or using turbo (if you add dev:trigger script to tasks package.json)
515515
turbo run dev:trigger --filter=@repo/tasks
@@ -527,13 +527,13 @@ This approach installs Trigger.dev directly in individual apps that need backgro
527527
{
528528
"name": "web",
529529
"dependencies": {
530-
"@trigger.dev/sdk": "4.0.0-v4-beta.26",
530+
"@trigger.dev/sdk": "^4.0.0",
531531
"next": "^15.2.1",
532532
"react": "^19.0.0",
533533
"react-dom": "^19.0.0"
534534
},
535535
"devDependencies": {
536-
"@trigger.dev/build": "4.0.0-v4-beta.26"
536+
"@trigger.dev/build": "^4.0.0"
537537
}
538538
}
539539
```
@@ -612,7 +612,7 @@ export async function triggerHelloWorld(name: string) {
612612
```bash
613613
# From the app directory
614614
cd apps/web
615-
npx trigger.dev@v4-beta dev
615+
npx trigger.dev@latest dev
616616

617617
# Or from the root using turbo
618618
turbo run dev:trigger --filter=web

docs/self-hosting/docker.mdx

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ Should the burden ever get too much, we'd be happy to see you on [Trigger.dev cl
1414
## What's new?
1515

1616
Goodbye v3, hello v4! We made quite a few changes:
17+
1718
- **Much simpler setup.** The provider and coordinator are now combined into a single supervisor. No more startup scripts, just `docker compose up`.
1819
- **Automatic container cleanup.** The supervisor will automatically clean up containers that are no longer needed.
1920
- **Support for multiple worker machines.** This is a big one, and we're very excited about it! You can now scale your workers horizontally as needed.
@@ -105,13 +106,9 @@ docker compose logs -f webapp
105106
npx trigger.dev@latest init -p <project-ref> -a http://localhost:8030
106107
```
107108

108-
<Warning>
109-
The commands displayed in the webapp are incorrect while v4 is in beta. You should always use the `v4-beta` tag and not `latest`.
110-
</Warning>
111-
112-
{/* 7. Bonus: Add traefik as a reverse proxy
109+
{/\* 7. Bonus: Add traefik as a reverse proxy
113110

114-
```bash
111+
````bash
115112
docker compose -f docker-compose.yml -f ../docker-compose.traefik.yml up -d
116113
``` */}
117114
@@ -122,7 +119,7 @@ docker compose -f docker-compose.yml -f ../docker-compose.traefik.yml up -d
122119
```bash
123120
git clone --depth=1 https://github.com/triggerdotdev/trigger.dev
124121
cd trigger.dev/hosting/docker
125-
```
122+
````
126123

127124
2. Create a `.env` file
128125

@@ -156,9 +153,9 @@ If you want to run the webapp and worker on the same machine, just replace the `
156153
docker compose -f webapp/docker-compose.yml -f worker/docker-compose.yml up -d
157154
```
158155

159-
{/* And optionally add traefik as a reverse proxy:
156+
{/\* And optionally add traefik as a reverse proxy:
160157

161-
```bash
158+
````bash
162159
# Run this from the /hosting/docker directory
163160
docker compose -f webapp/docker-compose.yml -f worker/docker-compose.yml -f docker-compose.traefik.yml up -d
164161
``` */}
@@ -188,7 +185,7 @@ Or, if using a file:
188185
TRIGGER_WORKER_TOKEN=file:///home/node/shared/worker_token
189186

190187
==========================
191-
```
188+
````
192189

193190
You can then uncomment and set the `TRIGGER_WORKER_TOKEN` environment variable in your `.env` file.
194191

@@ -245,7 +242,7 @@ You should change these before deploying to production, especially the password.
245242
### Setup
246243

247244
<Note>
248-
The `packets` bucket is created by default. In case this doesn't work, you can create it manually.
245+
The `packets` bucket is created by default. In case this doesn't work, you can create it manually.
249246
</Note>
250247

251248
1. Login to the dashboard: `http://localhost:9001`
@@ -323,13 +320,14 @@ This will apply to all auth methods including magic link and GitHub OAuth.
323320
## Version locking
324321

325322
There are several reasons to lock the version of your Docker images:
323+
326324
- **Backwards compatibility.** We try our best to maintain compatibility with older CLI versions, but it's not always possible. If you don't want to update your CLI, you can lock your Docker images to that specific version.
327325
- **Ensuring full feature support.** Sometimes, new CLI releases will also require new or updated platform features. Running unlocked images can make any issues difficult to debug. Using a specific tag can help here as well.
328326

329-
By default, the images will point at the latest versioned release via the `v4-beta` tag. You can override this by specifying a different tag in your `.env` file. For example:
327+
By default, the images will point at the latest versioned release via the `latest` tag. You can override this by specifying a different tag in your `.env` file. For example:
330328

331329
```bash
332-
TRIGGER_IMAGE_TAG=v4.0.0-v4-beta.21
330+
TRIGGER_IMAGE_TAG=v4.0.0
333331
```
334332

335333
## Troubleshooting
@@ -408,7 +406,7 @@ npx trigger.dev@latest whoami
408406

409407
## CI / GitHub Actions
410408

411-
When running the CLI in a CI environment, your login profiles won't be available. Instead, you can use the `TRIGGER_API_URL` and `TRIGGER_ACCESS_TOKEN` environment
409+
When running the CLI in a CI environment, your login profiles won't be available. Instead, you can use the `TRIGGER_API_URL` and `TRIGGER_ACCESS_TOKEN` environment
412410
variables to point at your self-hosted instance and authenticate.
413411

414412
For more detailed instructions, see the [GitHub Actions guide](/github-actions).

0 commit comments

Comments
 (0)