@workflow/core 5.6.0 → 5.7.0
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/dist/runtime/constants.d.ts +21 -0
- package/dist/runtime/constants.js +29 -1
- package/dist/runtime/delete-runs.d.ts +24 -0
- package/dist/runtime/delete-runs.js +27 -0
- package/dist/runtime/helpers.d.ts +19 -0
- package/dist/runtime/helpers.js +48 -5
- package/dist/runtime/replay-recovery-reporter.d.ts +16 -1
- package/dist/runtime/replay-recovery-reporter.js +24 -2
- package/dist/runtime/resume-hook.js +8 -3
- package/dist/runtime/run.d.ts +28 -1
- package/dist/runtime/run.js +36 -2
- package/dist/runtime/runs.d.ts +39 -2
- package/dist/runtime/runs.js +134 -4
- package/dist/runtime/spec8/delivery.js +11 -7
- package/dist/runtime/spec8/inline-steps-in-flight.d.ts +3 -1
- package/dist/runtime/spec8/inline-steps-in-flight.js +4 -2
- package/dist/runtime/spec8/quickjs-entrypoint.js +11 -27
- package/dist/runtime/spec8/step-single-flight.d.ts +2 -0
- package/dist/runtime/spec9/consumed-position.d.ts +44 -0
- package/dist/runtime/spec9/consumed-position.js +69 -1
- package/dist/runtime/spec9/delivery.js +496 -127
- package/dist/runtime/spec9/live-feed.d.ts +75 -4
- package/dist/runtime/spec9/live-feed.js +102 -5
- package/dist/runtime/spec9/quickjs-entrypoint.d.ts +12 -2
- package/dist/runtime/spec9/quickjs-entrypoint.js +178 -79
- package/dist/runtime/step-single-flight.js +13 -5
- package/dist/runtime/vm-mode.d.ts +0 -19
- package/dist/runtime/vm-mode.js +1 -35
- package/dist/runtime.d.ts +3 -3
- package/dist/runtime.js +2 -2
- package/dist/serialization/state-refs.d.ts +13 -1
- package/dist/serialization/state-refs.js +146 -46
- package/dist/serialization.d.ts +26 -0
- package/dist/serialization.js +100 -25
- package/dist/telemetry/semantic-conventions.d.ts +86 -0
- package/dist/telemetry/semantic-conventions.js +61 -1
- package/dist/test-support/append-only-world.d.ts +33 -0
- package/dist/test-support/append-only-world.js +18 -2
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/docs/foundations/errors-and-retries.mdx +0 -4
- package/docs/how-it-works/event-sourcing.mdx +1 -5
- package/docs/how-it-works/framework-integrations.mdx +1 -1
- package/package.json +12 -8
|
@@ -235,7 +235,7 @@ The generated trigger listens to one topic family:
|
|
|
235
235
|
|
|
236
236
|
Both orchestration messages and step messages use this topic family. A step message is distinguished by its payload, not by a second topic or function.
|
|
237
237
|
|
|
238
|
-
If you construct the trigger yourself, set no `maxConcurrency` on it
|
|
238
|
+
If you construct the trigger yourself, set no `maxConcurrency` on it. `isSequentialReplaysEnabled()` is deprecated and always returns `false`; remove any `maxConcurrency: 1` that depended on it.
|
|
239
239
|
|
|
240
240
|
## Security
|
|
241
241
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@workflow/core",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.7.0",
|
|
4
4
|
"description": "Core runtime and engine for Workflow SDK",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -38,6 +38,10 @@
|
|
|
38
38
|
"types": "./dist/runtime/run.d.ts",
|
|
39
39
|
"default": "./dist/runtime/run.js"
|
|
40
40
|
},
|
|
41
|
+
"./runtime/delete-runs": {
|
|
42
|
+
"types": "./dist/runtime/delete-runs.d.ts",
|
|
43
|
+
"default": "./dist/runtime/delete-runs.js"
|
|
44
|
+
},
|
|
41
45
|
"./runtime/lifecycle-hooks": {
|
|
42
46
|
"types": "./dist/runtime/lifecycle-hooks.d.ts",
|
|
43
47
|
"default": "./dist/runtime/lifecycle-hooks.js"
|
|
@@ -90,12 +94,12 @@
|
|
|
90
94
|
"@standard-schema/spec": "1.1.0",
|
|
91
95
|
"@types/ms": "2.1.0",
|
|
92
96
|
"@vercel/functions": "^3.11.1",
|
|
93
|
-
"@workflow/errors": "5.1.
|
|
94
|
-
"@workflow/serde": "5.0.
|
|
95
|
-
"@workflow/utils": "5.1.
|
|
96
|
-
"@workflow/world": "5.
|
|
97
|
-
"@workflow/world-local": "5.
|
|
98
|
-
"@workflow/world-vercel": "5.
|
|
97
|
+
"@workflow/errors": "5.1.4",
|
|
98
|
+
"@workflow/serde": "5.0.1",
|
|
99
|
+
"@workflow/utils": "5.1.1",
|
|
100
|
+
"@workflow/world": "5.3.0",
|
|
101
|
+
"@workflow/world-local": "5.5.0",
|
|
102
|
+
"@workflow/world-vercel": "5.7.0",
|
|
99
103
|
"acorn": "8.19.0",
|
|
100
104
|
"devalue": "6.0.3",
|
|
101
105
|
"ms": "2.1.3",
|
|
@@ -131,7 +135,7 @@
|
|
|
131
135
|
"build": "genversion --es6 src/version.ts && node scripts/build-quickjs-assets.js && tsc",
|
|
132
136
|
"dev": "genversion --es6 src/version.ts && tsc --watch",
|
|
133
137
|
"clean": "tsc --build --clean && rm -rf dist src/version.ts docs ||:",
|
|
134
|
-
"test": "cross-env WORKFLOW_TARGET_WORLD=local vitest run --config
|
|
138
|
+
"test": "cross-env WORKFLOW_TARGET_WORLD=local vitest run --config=vitest.config.ts src e2e/utils.test.ts",
|
|
135
139
|
"test:e2e": "vitest run --config=../../vitest.config.ts e2e",
|
|
136
140
|
"typecheck": "genversion --es6 src/version.ts && tsc --noEmit"
|
|
137
141
|
}
|