workflow 5.0.0-beta.37 → 5.0.0-beta.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -16
- package/docs/configuration/runtime-tuning.mdx +8 -0
- package/docs/configuration/worlds.mdx +3 -3
- package/package.json +12 -12
package/README.md
CHANGED
|
@@ -28,22 +28,6 @@ The Workflow SDK community can be found on [GitHub Discussions](https://github.c
|
|
|
28
28
|
|
|
29
29
|
Contributions to Workflow SDK are welcome and highly appreciated. Please use GitHub [issues](https://github.com/vercel/workflow/issues) and [discussions](https://github.com/vercel/workflow/discussions) to collaborate with the team and wider community.
|
|
30
30
|
|
|
31
|
-
## Author list
|
|
32
|
-
|
|
33
|
-
Workflow SDK was built by engineers at [Vercel](https://vercel.com) and the [Open Source Community](https://github.com/vercel/workflow/graphs/contributors).
|
|
34
|
-
|
|
35
|
-
The initial core contributing engineers are:
|
|
36
|
-
|
|
37
|
-
- Adrian Lam ([@adriandlam](https://github.com/adriandlam))
|
|
38
|
-
- Dillon Mulroy ([@dmmulroy](https://github.com/dmmulroy))
|
|
39
|
-
- Gal Schlezinger ([@Schniz](https://github.com/Schniz))
|
|
40
|
-
- JJ Kasper ([@ijjk](https://github.com/ijjk))
|
|
41
|
-
- Nathan Rajlich ([@TooTallNate](https://github.com/TooTallNate))
|
|
42
|
-
- Peter Wielander ([@VaguelySerious](https://github.com/VaguelySerious))
|
|
43
|
-
- Pranay Prakash ([@pranaygp](https://github.com/pranaygp))
|
|
44
|
-
|
|
45
|
-
The Workflow SDK logo was designed by Cecilio Ruiz [@ceciliorz](https://x.com/ceciliorz)
|
|
46
|
-
|
|
47
31
|
---
|
|
48
32
|
|
|
49
33
|
## Security
|
|
@@ -115,6 +115,14 @@ For example, a workflow can run a 10-minute inline step even with `WORKFLOW_REPL
|
|
|
115
115
|
- Debug log filter with wildcards and negation.
|
|
116
116
|
- Examples: `workflow:*`, `workflow:*,-workflow:telemetry:*`.
|
|
117
117
|
|
|
118
|
+
## Transport
|
|
119
|
+
|
|
120
|
+
### `WORKFLOW_H2_MULTIPLEX`
|
|
121
|
+
|
|
122
|
+
- Default: enabled
|
|
123
|
+
- On the Vercel World, lets concurrent event-log requests share one HTTP/2 connection instead of one connection per in-flight request.
|
|
124
|
+
- Set `0` to send one event request per connection.
|
|
125
|
+
|
|
118
126
|
## Queue namespace
|
|
119
127
|
|
|
120
128
|
### `WORKFLOW_QUEUE_NAMESPACE`
|
|
@@ -21,11 +21,11 @@ A [World](/docs/deploying) stores workflow state and delivers queue messages.
|
|
|
21
21
|
|
|
22
22
|
Outside Vercel, Workflow defaults to the Local World. On Vercel, leave `WORKFLOW_TARGET_WORLD` unset for the normal case; Workflow detects the Vercel deployment and selects the Vercel World automatically.
|
|
23
23
|
|
|
24
|
-
The World is selected when your app
|
|
24
|
+
The World is selected when your app **runs**, from the environment of the process serving it, so changing `WORKFLOW_TARGET_WORLD` takes effect on the next start without a rebuild. Detection keys off `VERCEL_DEPLOYMENT_ID`, which Vercel sets in every deployed function and nothing else sets: with it, the Vercel World; without it, the Local World.
|
|
25
25
|
|
|
26
|
-
|
|
26
|
+
Broader signals are deliberately ignored. `vercel env pull` writes `VERCEL=1` into `.env.local`, so a dev server or a production server started on your own machine sees it while running against a writable filesystem — where the Local World is the right choice. Set `WORKFLOW_TARGET_WORLD=vercel` explicitly if you want such a process to talk to the Vercel World; starting a run then fails with an error naming the missing `VERCEL_DEPLOYMENT_ID`.
|
|
27
27
|
|
|
28
|
-
|
|
28
|
+
A deployment that pins `WORKFLOW_TARGET_WORLD=local` warns at startup and fails on its first write, because a Vercel deployment's filesystem is read-only.
|
|
29
29
|
|
|
30
30
|
Set `WORKFLOW_TARGET_WORLD` only when you want to use a custom or self-hosted World:
|
|
31
31
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "workflow",
|
|
3
|
-
"version": "5.0.0-beta.
|
|
3
|
+
"version": "5.0.0-beta.38",
|
|
4
4
|
"description": "Workflow SDK - Build durable, resilient, and observable workflows",
|
|
5
5
|
"main": "dist/typescript-plugin.cjs",
|
|
6
6
|
"type": "module",
|
|
@@ -59,18 +59,18 @@
|
|
|
59
59
|
},
|
|
60
60
|
"dependencies": {
|
|
61
61
|
"ms": "2.1.3",
|
|
62
|
-
"@workflow/astro": "5.0.0-beta.
|
|
63
|
-
"@workflow/cli": "5.0.0-beta.
|
|
64
|
-
"@workflow/core": "5.0.0-beta.
|
|
65
|
-
"@workflow/errors": "5.0.0-beta.
|
|
62
|
+
"@workflow/astro": "5.0.0-beta.38",
|
|
63
|
+
"@workflow/cli": "5.0.0-beta.38",
|
|
64
|
+
"@workflow/core": "5.0.0-beta.38",
|
|
65
|
+
"@workflow/errors": "5.0.0-beta.14",
|
|
66
66
|
"@workflow/typescript-plugin": "5.0.0-beta.5",
|
|
67
|
-
"@workflow/utils": "5.0.0-beta.
|
|
68
|
-
"@workflow/next": "5.0.0-beta.
|
|
69
|
-
"@workflow/nest": "5.0.0-beta.
|
|
70
|
-
"@workflow/nitro": "5.0.0-beta.
|
|
71
|
-
"@workflow/nuxt": "5.0.0-beta.
|
|
72
|
-
"@workflow/sveltekit": "5.0.0-beta.
|
|
73
|
-
"@workflow/rollup": "5.0.0-beta.
|
|
67
|
+
"@workflow/utils": "5.0.0-beta.8",
|
|
68
|
+
"@workflow/next": "5.0.0-beta.38",
|
|
69
|
+
"@workflow/nest": "5.0.0-beta.38",
|
|
70
|
+
"@workflow/nitro": "5.0.0-beta.38",
|
|
71
|
+
"@workflow/nuxt": "5.0.0-beta.38",
|
|
72
|
+
"@workflow/sveltekit": "5.0.0-beta.38",
|
|
73
|
+
"@workflow/rollup": "5.0.0-beta.38"
|
|
74
74
|
},
|
|
75
75
|
"devDependencies": {
|
|
76
76
|
"@types/ms": "2.1.0",
|