diff --git a/.changeset/pre.json b/.changeset/pre.json index 8b8409d2a9..70d775f616 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -69,6 +69,8 @@ "atomic-runs-publish", "atomic-step-created-event", "attr-inprocess-replay", + "attr-set-duplicate-inert", + "attr-set-duplicate-observability", "attributes-mvp-plan", "attributes-row-remove-flex-1", "avoid-peer-major-bumps", @@ -112,6 +114,7 @@ "cache-step-port-discovery", "calm-dodos-retry", "calm-events-guard", + "calm-events-wait", "calm-geese-observe", "calm-geese-share", "cancel-v4-frame-stream", @@ -174,6 +177,7 @@ "duplicate-event-log-level", "durable-agent-stream-result-totalusage", "durable-agent-tool-stop-detection", + "durable-hook-resume", "e2e-ci-retry", "e2e-pickup-watchdog", "e2e-test-budgets", @@ -199,6 +203,7 @@ "error-subclass-serialization", "errors-no-chalk", "esm-builders", + "esm-dirname-filename-shim", "event-count-guard", "event-limit-enforcement", "event-list-solid-borders", @@ -328,6 +333,7 @@ "jk-nav-autoscroll", "large-inline-sourcemap-remap", "large-regions-talk", + "late-hooks-rearm", "lazy-discovery-bare-specifiers", "lazy-discovery-default", "lazy-discovery-hmr", @@ -351,7 +357,9 @@ "local-world-vercel-warning", "log-order-draws", "log-queue-handler-retries", + "lost-payload-terminal", "loud-pugs-recycle", + "lucky-pandas-listen", "lucky-windows-smash", "many-peas-jog", "marker-kind-prefix", @@ -375,6 +383,7 @@ "next-base-path", "next-dev-watch-gitignore", "next-diagnostics-dist", + "next-entry-discovery", "next-respect-package-exports", "next-root-detection", "ninety-buttons-dance", @@ -403,6 +412,7 @@ "otel-api-optional-peer-external", "otel-linked-trace-mode", "outcome-event-workflowname", + "overlap-workflow-compile", "parallel-inline-optimistic-start", "pending-trace-viewer-gray-indicator", "perf-cached-workflow-script", @@ -417,6 +427,7 @@ "precise-timeline-ruler-ticks", "precise-trace-viewer-durations", "precondition-guard-default-on", + "prepare-streamed-replay-payloads", "preserve-imports-used-by-hoisted-steps", "preserve-run-key-status", "preserve-step-fn-names", @@ -424,6 +435,7 @@ "prewarm-appended-payloads", "prewarm-next-swc-cache", "private-member-dce", + "project-step-provenance", "proud-friends-decide", "prune-workflow-sandbox", "python-workbench-app", @@ -444,6 +456,7 @@ "quiet-events-merge", "quiet-lamps-parse", "quiet-marker-shadow", + "quiet-normal-execution-logs", "quiet-runs-poll", "quiet-sourcemap-warnings", "quiet-trace-viewer-duration", @@ -605,13 +618,17 @@ "tidy-dodos-observe", "tidy-hoops-open", "tidy-lamps-sort", + "tidy-local-shutdown", + "tidy-rivers-expand", "timeline-queued-connector", "tired-pigs-hug", "tired-spiders-rhyme", "trace-nav-tooltips", + "trace-replay-phases", "trace-shortcut-helper-text-color", "trace-shortcut-helper-timeline-align", "trace-span-markers", + "trace-viewer-alt-hover", "trace-viewer-cleanup", "trace-viewer-event-icon-tooltips", "trace-viewer-focus-easing", @@ -628,6 +645,7 @@ "turbo-setattr-run-ready", "turbo-skip-run-started-preload", "type-event-create-results", + "typed-replay-stream-failures", "typography-system-tokens", "update-queue-client-version", "update-vercel-queue", diff --git a/docs/content/docs/v4/getting-started/python.mdx b/docs/content/docs/v4/getting-started/python.mdx index b603f5b375..7e3303eb14 100644 --- a/docs/content/docs/v4/getting-started/python.mdx +++ b/docs/content/docs/v4/getting-started/python.mdx @@ -11,11 +11,11 @@ related: --- -The Python SDK is currently in **beta**. APIs and behavior may change. For the latest documentation and updates, see the [official Vercel Workflow Python documentation](https://vercel.com/docs/workflows/python). +The Python SDK is currently in **beta**. APIs and behavior may change. You can build durable workflows in Python using the [`vercel` Python SDK](https://pypi.org/project/vercel/). Your workflow code can pause, resume, and maintain state, just like the JavaScript and TypeScript Workflow SDK. @@ -99,14 +99,17 @@ Each step compiles into an isolated route. While the step executes, the workflow Sleep pauses a workflow for a specified duration without consuming compute resources: -```python filename="app/workflows/ai_refine.py" {7} +```python filename="app/workflows/ai_refine.py" {10} +from datetime import timedelta + +from app.workflow import wf from vercel import workflow @wf.workflow async def ai_refine_workflow(*, draft_id: str): draft = await fetch_draft(draft_id) - await workflow.sleep("7 days") # Wait 7 days to gather more signals. + await workflow.sleep(timedelta(days=7)) # Wait 7 days to gather more signals. refined = await refine_draft(draft) @@ -116,7 +119,31 @@ async def ai_refine_workflow(*, draft_id: str): } ``` -The sleep call pauses the workflow and consumes no resources. The workflow resumes automatically when the time expires. +The parameter accepts four forms: + +| Form | Description | Example | +| --- | --- | --- | +| `str` | Human-readable duration string | `"2 days"`, `"1w"`, `"1h 30m"` | +| `int` or `float` | Seconds from now | `5` (5 seconds) | +| `datetime.timedelta` | Duration from now | `timedelta(days=7)` | +| `datetime.datetime` | Absolute wake-up time (must be timezone-aware) | `datetime(2025, 1, 1, tzinfo=UTC)` | + +The string form accepts one or more `` pairs. Supported units: + +| Duration | Unit | +| --- | --- | +| Milliseconds | `ms` | +| Seconds | `s`, `second`, `seconds` | +| Minutes | `m`, `minute`, `minutes` | +| Hours | `h`, `hour`, `hours` | +| Days | `d`, `day`, `days` | +| Weeks | `w`, `week`, `weeks` | + + +`sleep()` must be called from the workflow body, not from inside a step. Calling it from a step raises a `RuntimeError`. + + +The sleep consumes no resources. The workflow resumes automatically when the time expires. ## Hooks @@ -124,13 +151,17 @@ A hook lets a workflow wait for external events such as user actions, webhooks, Define a hook model with Pydantic and `workflow.BaseHook`: -```python filename="app/workflows/approval.py" {3,14} +```python filename="app/workflows/approval.py" {7,18} +import typing + +import pydantic +from app.workflow import wf from vercel import workflow -class Approval(BaseModel, workflow.BaseHook): +class Approval(pydantic.BaseModel, workflow.BaseHook): """Human approval for AI-generated drafts""" - decision: Literal["approved", "changes"] + decision: typing.Literal["approved", "changes"] notes: str | None = None @wf.workflow @@ -149,7 +180,9 @@ async def ai_approval_workflow(*, topic: str): Resume the workflow when data arrives: -```python filename="app/api/resume.py" {5} +```python filename="app/api/resume.py" {4,7} +from app.workflows.approval import Approval + @app.post("/api/resume") async def resume(approval: Approval): """Resume the workflow when an approval is received""" @@ -160,10 +193,6 @@ async def resume(approval: Approval): When a hook receives data, the workflow resumes automatically. You don't need polling, message queues, or manual state management. -## Learn more - -For comprehensive documentation, examples, and the latest updates, visit the [official Vercel Workflow Python documentation](https://vercel.com/docs/workflows/python). - ## Next steps - Learn more about the [Foundations](/docs/foundations). diff --git a/docs/content/docs/v5/getting-started/python.mdx b/docs/content/docs/v5/getting-started/python.mdx index 901f3c3464..5c6074accb 100644 --- a/docs/content/docs/v5/getting-started/python.mdx +++ b/docs/content/docs/v5/getting-started/python.mdx @@ -11,11 +11,11 @@ related: --- -The Python SDK is currently in **beta**. APIs and behavior may change. For the latest documentation and updates, see the [official Vercel Workflow Python documentation](https://vercel.com/docs/workflows/python). +The Python SDK is currently in **beta**. APIs and behavior may change. You can build durable workflows in Python using the [`vercel` Python SDK](https://pypi.org/project/vercel/). Your workflow code can pause, resume, and maintain state, just like the JavaScript and TypeScript Workflow SDK. @@ -99,14 +99,17 @@ Each step executes separately from the workflow orchestrator. While the step exe Sleep pauses a workflow for a specified duration without consuming compute resources: -```python filename="app/workflows/ai_refine.py" {7} +```python filename="app/workflows/ai_refine.py" {10} +from datetime import timedelta + +from app.workflow import wf from vercel import workflow @wf.workflow async def ai_refine_workflow(*, draft_id: str): draft = await fetch_draft(draft_id) - await workflow.sleep("7 days") # Wait 7 days to gather more signals. + await workflow.sleep(timedelta(days=7)) # Wait 7 days to gather more signals. refined = await refine_draft(draft) @@ -116,7 +119,31 @@ async def ai_refine_workflow(*, draft_id: str): } ``` -The sleep call pauses the workflow and consumes no resources. The workflow resumes automatically when the time expires. +The parameter accepts four forms: + +| Form | Description | Example | +| --- | --- | --- | +| `str` | Human-readable duration string | `"2 days"`, `"1w"`, `"1h 30m"` | +| `int` or `float` | Seconds from now | `5` (5 seconds) | +| `datetime.timedelta` | Duration from now | `timedelta(days=7)` | +| `datetime.datetime` | Absolute wake-up time (must be timezone-aware) | `datetime(2025, 1, 1, tzinfo=UTC)` | + +The string form accepts one or more `` pairs. Supported units: + +| Duration | Unit | +| --- | --- | +| Milliseconds | `ms` | +| Seconds | `s`, `second`, `seconds` | +| Minutes | `m`, `minute`, `minutes` | +| Hours | `h`, `hour`, `hours` | +| Days | `d`, `day`, `days` | +| Weeks | `w`, `week`, `weeks` | + + +`sleep()` must be called from the workflow body, not from inside a step. Calling it from a step raises a `RuntimeError`. + + +The sleep consumes no resources. The workflow resumes automatically when the time expires. ## Hooks @@ -124,13 +151,17 @@ A hook lets a workflow wait for external events such as user actions, webhooks, Define a hook model with Pydantic and `workflow.BaseHook`: -```python filename="app/workflows/approval.py" {3,14} +```python filename="app/workflows/approval.py" {7,18} +import typing + +import pydantic +from app.workflow import wf from vercel import workflow -class Approval(BaseModel, workflow.BaseHook): +class Approval(pydantic.BaseModel, workflow.BaseHook): """Human approval for AI-generated drafts""" - decision: Literal["approved", "changes"] + decision: typing.Literal["approved", "changes"] notes: str | None = None @wf.workflow @@ -149,7 +180,9 @@ async def ai_approval_workflow(*, topic: str): Resume the workflow when data arrives: -```python filename="app/api/resume.py" {5} +```python filename="app/api/resume.py" {4,7} +from app.workflows.approval import Approval + @app.post("/api/resume") async def resume(approval: Approval): """Resume the workflow when an approval is received""" @@ -160,10 +193,6 @@ async def resume(approval: Approval): When a hook receives data, the workflow resumes automatically. You don't need polling, message queues, or manual state management. -## Learn more - -For comprehensive documentation, examples, and the latest updates, visit the [official Vercel Workflow Python documentation](https://vercel.com/docs/workflows/python). - ## Next steps - Learn more about the [Foundations](/docs/foundations). diff --git a/packages/ai/CHANGELOG.md b/packages/ai/CHANGELOG.md index ca915630a5..a1acb197d6 100644 --- a/packages/ai/CHANGELOG.md +++ b/packages/ai/CHANGELOG.md @@ -1,5 +1,13 @@ # @workflow/ai +## 5.0.0-beta.15 + +### Patch Changes + +- Updated dependencies [[`ffc5807`](https://github.com/vercel/workflow/commit/ffc58078d0c3cd2786d69bab7e41614566a9ea4e)]: + - @workflow/utils@5.0.0-beta.10 + - workflow@5.0.0-beta.47 + ## 5.0.0-beta.14 ### Patch Changes diff --git a/packages/ai/package.json b/packages/ai/package.json index 6cf740f0e2..37ffff5f53 100644 --- a/packages/ai/package.json +++ b/packages/ai/package.json @@ -1,6 +1,6 @@ { "name": "@workflow/ai", - "version": "5.0.0-beta.14", + "version": "5.0.0-beta.15", "description": "Workflow SDK compatible helper library for the AI SDK", "type": "module", "main": "dist/index.js", diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md index 8697113626..c8d84e5c27 100644 --- a/packages/astro/CHANGELOG.md +++ b/packages/astro/CHANGELOG.md @@ -1,5 +1,14 @@ # @workflow/astro +## 5.0.0-beta.47 + +### Patch Changes + +- Updated dependencies [[`88f5d21`](https://github.com/vercel/workflow/commit/88f5d214d48b15d3126943313ed03d48667e772c)]: + - @workflow/builders@5.0.0-beta.47 + - @workflow/rollup@5.0.0-beta.47 + - @workflow/vite@5.0.0-beta.47 + ## 5.0.0-beta.46 ### Patch Changes diff --git a/packages/astro/package.json b/packages/astro/package.json index 63f50b98af..4377662c5c 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -1,6 +1,6 @@ { "name": "@workflow/astro", - "version": "5.0.0-beta.46", + "version": "5.0.0-beta.47", "description": "Astro integration for Workflow SDK", "type": "module", "main": "dist/index.js", diff --git a/packages/builders/CHANGELOG.md b/packages/builders/CHANGELOG.md index 32a207f256..d1554162e3 100644 --- a/packages/builders/CHANGELOG.md +++ b/packages/builders/CHANGELOG.md @@ -1,5 +1,18 @@ # @workflow/builders +## 5.0.0-beta.47 + +### Patch Changes + +- [#3876](https://github.com/vercel/workflow/pull/3876) [`88f5d21`](https://github.com/vercel/workflow/commit/88f5d214d48b15d3126943313ed03d48667e772c) Thanks [@TooTallNate](https://github.com/TooTallNate)! - Shim `__dirname`/`__filename` in fully-bundled ESM output so CJS dependencies that reference them at module scope (e.g. `google-gax`) no longer crash the deployed function at init with `ReferenceError: __dirname is not defined in ES module scope`. + + CJS dependencies that feature-detect with `typeof __dirname !== 'undefined'` will now take their CJS branch, where `__dirname` resolves to the function root rather than the dependency's original directory. + +- Updated dependencies [[`855e479`](https://github.com/vercel/workflow/commit/855e47990c0da35419325da27976bae925afb0e9), [`2668e33`](https://github.com/vercel/workflow/commit/2668e3325ba89dec973c3c2f35c49efdb239de8d), [`07ec212`](https://github.com/vercel/workflow/commit/07ec212fe762e0659d4528913716c59870fd6c7d), [`ee6f917`](https://github.com/vercel/workflow/commit/ee6f917cdbfcf50a5fd697c7a9cb70dd1294f931), [`e9d5c56`](https://github.com/vercel/workflow/commit/e9d5c56701821b090108a85b74bf8b0cbef8ea8e), [`ffc5807`](https://github.com/vercel/workflow/commit/ffc58078d0c3cd2786d69bab7e41614566a9ea4e), [`1c28eec`](https://github.com/vercel/workflow/commit/1c28eeca159f022c73912326baf78d69152db876)]: + - @workflow/core@5.0.0-beta.47 + - @workflow/utils@5.0.0-beta.10 + - @workflow/errors@5.0.0-beta.19 + ## 5.0.0-beta.46 ### Patch Changes diff --git a/packages/builders/package.json b/packages/builders/package.json index 06ad41b615..f9fb24ae7d 100644 --- a/packages/builders/package.json +++ b/packages/builders/package.json @@ -1,6 +1,6 @@ { "name": "@workflow/builders", - "version": "5.0.0-beta.46", + "version": "5.0.0-beta.47", "description": "Shared builder infrastructure for Workflow SDK", "type": "module", "main": "./dist/index.js", diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index 6e11590bea..b52f2a06f4 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -1,5 +1,19 @@ # @workflow/cli +## 5.0.0-beta.47 + +### Patch Changes + +- Updated dependencies [[`855e479`](https://github.com/vercel/workflow/commit/855e47990c0da35419325da27976bae925afb0e9), [`2668e33`](https://github.com/vercel/workflow/commit/2668e3325ba89dec973c3c2f35c49efdb239de8d), [`88f5d21`](https://github.com/vercel/workflow/commit/88f5d214d48b15d3126943313ed03d48667e772c), [`07ec212`](https://github.com/vercel/workflow/commit/07ec212fe762e0659d4528913716c59870fd6c7d), [`1c44cc8`](https://github.com/vercel/workflow/commit/1c44cc8c3f76f81553d04d21f56da1d2adbc1746), [`cc6eb7e`](https://github.com/vercel/workflow/commit/cc6eb7e837ff3cf64a09f613df5fdaad40131cb8), [`ee6f917`](https://github.com/vercel/workflow/commit/ee6f917cdbfcf50a5fd697c7a9cb70dd1294f931), [`e9d5c56`](https://github.com/vercel/workflow/commit/e9d5c56701821b090108a85b74bf8b0cbef8ea8e), [`ffc5807`](https://github.com/vercel/workflow/commit/ffc58078d0c3cd2786d69bab7e41614566a9ea4e), [`3e0c18a`](https://github.com/vercel/workflow/commit/3e0c18a4cab731a80942a334a01c7e215a784694), [`1c28eec`](https://github.com/vercel/workflow/commit/1c28eeca159f022c73912326baf78d69152db876), [`aaeb8e4`](https://github.com/vercel/workflow/commit/aaeb8e44633c1974f087ee7ce38666dbc8ad8a4d)]: + - @workflow/world@5.0.0-beta.32 + - @workflow/core@5.0.0-beta.47 + - @workflow/builders@5.0.0-beta.47 + - @workflow/world-vercel@5.0.0-beta.43 + - @workflow/world-local@5.0.0-beta.41 + - @workflow/utils@5.0.0-beta.10 + - @workflow/errors@5.0.0-beta.19 + - @workflow/web@5.0.0-beta.47 + ## 5.0.0-beta.46 ### Patch Changes diff --git a/packages/cli/package.json b/packages/cli/package.json index 229f3d6249..73323b0f7b 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@workflow/cli", - "version": "5.0.0-beta.46", + "version": "5.0.0-beta.47", "description": "Command-line interface for Workflow SDK", "type": "module", "bin": { diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index f23d877b42..b623bf6117 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,5 +1,40 @@ # @workflow/core +## 5.0.0-beta.47 + +### Patch Changes + +- [#3849](https://github.com/vercel/workflow/pull/3849) [`855e479`](https://github.com/vercel/workflow/commit/855e47990c0da35419325da27976bae925afb0e9) Thanks [@VaguelySerious](https://github.com/VaguelySerious)! - Fix runs failing with `CORRUPTED_EVENT_LOG` after every step had already succeeded, when the event log held two attribute writes under one id. + +- [#3841](https://github.com/vercel/workflow/pull/3841) [`2668e33`](https://github.com/vercel/workflow/commit/2668e3325ba89dec973c3c2f35c49efdb239de8d) Thanks [@karthikscale3](https://github.com/karthikscale3)! - Make `resumeHook()` durable before it resolves: the `hook_received` event is + written durably first, and the workflow wake is published only after the write + is acknowledged. A disposal racing the queue delivery can no longer lose a + resume the caller was told succeeded. The wake message is unchanged, so no + consumer or backend coordination is needed; `WORKFLOW_DISABLE_LAZY_HOOK_RESUME` + is now a no-op and the internal `resumeHookDurable()` alias is removed. + + Behavior changes: a resume against an ended run now throws `HookNotFoundError` + instead of resolving (the lazy path never observed the server's rejection, so a + late webhook delivery to a finished run answered 202 where it now answers 404). + A transient write conflict (HTTP 409, e.g. an event-slot conflict under + contention) is no longer re-keyed to `HookNotFoundError`: it surfaces as a + retryable error, since its transaction committed nothing. + +- [#3879](https://github.com/vercel/workflow/pull/3879) [`07ec212`](https://github.com/vercel/workflow/commit/07ec212fe762e0659d4528913716c59870fd6c7d) Thanks [@NathanColosimo](https://github.com/NathanColosimo)! - Keep late-claimed buffered hook payloads from being preempted by workflow suspension in retained VMs. + +- [#3798](https://github.com/vercel/workflow/pull/3798) [`ee6f917`](https://github.com/vercel/workflow/commit/ee6f917cdbfcf50a5fd697c7a9cb70dd1294f931) Thanks [@NathanColosimo](https://github.com/NathanColosimo)! - Compile Node.js workflow scripts while loading the replay event log. + +- [#3548](https://github.com/vercel/workflow/pull/3548) [`e9d5c56`](https://github.com/vercel/workflow/commit/e9d5c56701821b090108a85b74bf8b0cbef8ea8e) Thanks [@NathanColosimo](https://github.com/NathanColosimo)! - Prepare replay payloads as validated event frames arrive, reuse primitive step results across fresh VMs, and preserve replay startup overlap. + +- [#3797](https://github.com/vercel/workflow/pull/3797) [`1c28eec`](https://github.com/vercel/workflow/commit/1c28eeca159f022c73912326baf78d69152db876) Thanks [@NathanColosimo](https://github.com/NathanColosimo)! - Trace event loading, workflow VM creation, bundle compilation and evaluation, input hydration, and replay execution. + +- Updated dependencies [[`855e479`](https://github.com/vercel/workflow/commit/855e47990c0da35419325da27976bae925afb0e9), [`2668e33`](https://github.com/vercel/workflow/commit/2668e3325ba89dec973c3c2f35c49efdb239de8d), [`1c44cc8`](https://github.com/vercel/workflow/commit/1c44cc8c3f76f81553d04d21f56da1d2adbc1746), [`cc6eb7e`](https://github.com/vercel/workflow/commit/cc6eb7e837ff3cf64a09f613df5fdaad40131cb8), [`e9d5c56`](https://github.com/vercel/workflow/commit/e9d5c56701821b090108a85b74bf8b0cbef8ea8e), [`ffc5807`](https://github.com/vercel/workflow/commit/ffc58078d0c3cd2786d69bab7e41614566a9ea4e), [`3e0c18a`](https://github.com/vercel/workflow/commit/3e0c18a4cab731a80942a334a01c7e215a784694), [`aaeb8e4`](https://github.com/vercel/workflow/commit/aaeb8e44633c1974f087ee7ce38666dbc8ad8a4d)]: + - @workflow/world@5.0.0-beta.32 + - @workflow/world-vercel@5.0.0-beta.43 + - @workflow/world-local@5.0.0-beta.41 + - @workflow/utils@5.0.0-beta.10 + - @workflow/errors@5.0.0-beta.19 + ## 5.0.0-beta.46 ### Patch Changes diff --git a/packages/core/package.json b/packages/core/package.json index 3426118f15..156a3cc80b 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@workflow/core", - "version": "5.0.0-beta.46", + "version": "5.0.0-beta.47", "description": "Core runtime and engine for Workflow SDK", "type": "module", "main": "dist/index.js", diff --git a/packages/errors/CHANGELOG.md b/packages/errors/CHANGELOG.md index 15dd8510fc..946c423ad2 100644 --- a/packages/errors/CHANGELOG.md +++ b/packages/errors/CHANGELOG.md @@ -1,5 +1,12 @@ # @workflow/errors +## 5.0.0-beta.19 + +### Patch Changes + +- Updated dependencies [[`ffc5807`](https://github.com/vercel/workflow/commit/ffc58078d0c3cd2786d69bab7e41614566a9ea4e)]: + - @workflow/utils@5.0.0-beta.10 + ## 5.0.0-beta.18 ### Patch Changes diff --git a/packages/errors/package.json b/packages/errors/package.json index 14b4f34309..d12694e94b 100644 --- a/packages/errors/package.json +++ b/packages/errors/package.json @@ -1,7 +1,7 @@ { "name": "@workflow/errors", "description": "A package for standardizing errors in Workflow SDK", - "version": "5.0.0-beta.18", + "version": "5.0.0-beta.19", "type": "module", "main": "dist/index.js", "files": [ diff --git a/packages/nest/CHANGELOG.md b/packages/nest/CHANGELOG.md index 3a4d3cba37..5c2a53582f 100644 --- a/packages/nest/CHANGELOG.md +++ b/packages/nest/CHANGELOG.md @@ -1,5 +1,13 @@ # @workflow/nest +## 5.0.0-beta.47 + +### Patch Changes + +- Updated dependencies [[`88f5d21`](https://github.com/vercel/workflow/commit/88f5d214d48b15d3126943313ed03d48667e772c), [`ffc5807`](https://github.com/vercel/workflow/commit/ffc58078d0c3cd2786d69bab7e41614566a9ea4e)]: + - @workflow/builders@5.0.0-beta.47 + - @workflow/utils@5.0.0-beta.10 + ## 5.0.0-beta.46 ### Patch Changes diff --git a/packages/nest/package.json b/packages/nest/package.json index e304c906ed..0679912f56 100644 --- a/packages/nest/package.json +++ b/packages/nest/package.json @@ -1,6 +1,6 @@ { "name": "@workflow/nest", - "version": "5.0.0-beta.46", + "version": "5.0.0-beta.47", "description": "NestJS integration for Workflow SDK", "type": "module", "main": "dist/index.js", diff --git a/packages/next/CHANGELOG.md b/packages/next/CHANGELOG.md index 921f0886bc..507a752e61 100644 --- a/packages/next/CHANGELOG.md +++ b/packages/next/CHANGELOG.md @@ -1,5 +1,15 @@ # @workflow/next +## 5.0.0-beta.47 + +### Patch Changes + +- [#3801](https://github.com/vercel/workflow/pull/3801) [`a3da6b7`](https://github.com/vercel/workflow/commit/a3da6b791bb2bd3f77abc1fb92b4c15f688c2627) Thanks [@NathanColosimo](https://github.com/NathanColosimo)! - Discover workflows imported by every Next.js file convention entrypoint. + +- Updated dependencies [[`855e479`](https://github.com/vercel/workflow/commit/855e47990c0da35419325da27976bae925afb0e9), [`2668e33`](https://github.com/vercel/workflow/commit/2668e3325ba89dec973c3c2f35c49efdb239de8d), [`88f5d21`](https://github.com/vercel/workflow/commit/88f5d214d48b15d3126943313ed03d48667e772c), [`07ec212`](https://github.com/vercel/workflow/commit/07ec212fe762e0659d4528913716c59870fd6c7d), [`ee6f917`](https://github.com/vercel/workflow/commit/ee6f917cdbfcf50a5fd697c7a9cb70dd1294f931), [`e9d5c56`](https://github.com/vercel/workflow/commit/e9d5c56701821b090108a85b74bf8b0cbef8ea8e), [`1c28eec`](https://github.com/vercel/workflow/commit/1c28eeca159f022c73912326baf78d69152db876)]: + - @workflow/core@5.0.0-beta.47 + - @workflow/builders@5.0.0-beta.47 + ## 5.0.0-beta.46 ### Patch Changes diff --git a/packages/next/package.json b/packages/next/package.json index bc689a40c3..16c3755798 100644 --- a/packages/next/package.json +++ b/packages/next/package.json @@ -1,6 +1,6 @@ { "name": "@workflow/next", - "version": "5.0.0-beta.46", + "version": "5.0.0-beta.47", "description": "Next.js integration for Workflow SDK", "type": "commonjs", "main": "dist/index.js", diff --git a/packages/nitro/CHANGELOG.md b/packages/nitro/CHANGELOG.md index 703fb59f55..3207401294 100644 --- a/packages/nitro/CHANGELOG.md +++ b/packages/nitro/CHANGELOG.md @@ -1,5 +1,16 @@ # @workflow/nitro +## 5.0.0-beta.47 + +### Patch Changes + +- Updated dependencies [[`855e479`](https://github.com/vercel/workflow/commit/855e47990c0da35419325da27976bae925afb0e9), [`2668e33`](https://github.com/vercel/workflow/commit/2668e3325ba89dec973c3c2f35c49efdb239de8d), [`88f5d21`](https://github.com/vercel/workflow/commit/88f5d214d48b15d3126943313ed03d48667e772c), [`07ec212`](https://github.com/vercel/workflow/commit/07ec212fe762e0659d4528913716c59870fd6c7d), [`ee6f917`](https://github.com/vercel/workflow/commit/ee6f917cdbfcf50a5fd697c7a9cb70dd1294f931), [`e9d5c56`](https://github.com/vercel/workflow/commit/e9d5c56701821b090108a85b74bf8b0cbef8ea8e), [`1c28eec`](https://github.com/vercel/workflow/commit/1c28eeca159f022c73912326baf78d69152db876)]: + - @workflow/core@5.0.0-beta.47 + - @workflow/builders@5.0.0-beta.47 + - @workflow/web@5.0.0-beta.47 + - @workflow/rollup@5.0.0-beta.47 + - @workflow/vite@5.0.0-beta.47 + ## 5.0.0-beta.46 ### Patch Changes diff --git a/packages/nitro/package.json b/packages/nitro/package.json index c798bfb21e..e70af27241 100644 --- a/packages/nitro/package.json +++ b/packages/nitro/package.json @@ -1,6 +1,6 @@ { "name": "@workflow/nitro", - "version": "5.0.0-beta.46", + "version": "5.0.0-beta.47", "description": "Nitro integration for Workflow SDK", "type": "module", "main": "dist/index.js", diff --git a/packages/nuxt/CHANGELOG.md b/packages/nuxt/CHANGELOG.md index ffa6feacf3..5deb252793 100644 --- a/packages/nuxt/CHANGELOG.md +++ b/packages/nuxt/CHANGELOG.md @@ -1,5 +1,12 @@ # @workflow/nuxt +## 5.0.0-beta.47 + +### Patch Changes + +- Updated dependencies []: + - @workflow/nitro@5.0.0-beta.47 + ## 5.0.0-beta.46 ### Patch Changes diff --git a/packages/nuxt/package.json b/packages/nuxt/package.json index c40b82e52e..e0c587494d 100644 --- a/packages/nuxt/package.json +++ b/packages/nuxt/package.json @@ -1,6 +1,6 @@ { "name": "@workflow/nuxt", - "version": "5.0.0-beta.46", + "version": "5.0.0-beta.47", "description": "Nuxt integration for Workflow SDK", "license": "Apache-2.0", "type": "module", diff --git a/packages/rollup/CHANGELOG.md b/packages/rollup/CHANGELOG.md index 030bc20164..8012628b82 100644 --- a/packages/rollup/CHANGELOG.md +++ b/packages/rollup/CHANGELOG.md @@ -1,5 +1,12 @@ # @workflow/rollup +## 5.0.0-beta.47 + +### Patch Changes + +- Updated dependencies [[`88f5d21`](https://github.com/vercel/workflow/commit/88f5d214d48b15d3126943313ed03d48667e772c)]: + - @workflow/builders@5.0.0-beta.47 + ## 5.0.0-beta.46 ### Patch Changes diff --git a/packages/rollup/package.json b/packages/rollup/package.json index 13011e92fa..061a92b004 100644 --- a/packages/rollup/package.json +++ b/packages/rollup/package.json @@ -1,6 +1,6 @@ { "name": "@workflow/rollup", - "version": "5.0.0-beta.46", + "version": "5.0.0-beta.47", "description": "Rollup plugin for Workflow SDK", "type": "module", "main": "dist/index.js", diff --git a/packages/sveltekit/CHANGELOG.md b/packages/sveltekit/CHANGELOG.md index 9ce70e64ad..07828a4c3f 100644 --- a/packages/sveltekit/CHANGELOG.md +++ b/packages/sveltekit/CHANGELOG.md @@ -1,5 +1,14 @@ # @workflow/sveltekit +## 5.0.0-beta.47 + +### Patch Changes + +- Updated dependencies [[`88f5d21`](https://github.com/vercel/workflow/commit/88f5d214d48b15d3126943313ed03d48667e772c)]: + - @workflow/builders@5.0.0-beta.47 + - @workflow/rollup@5.0.0-beta.47 + - @workflow/vite@5.0.0-beta.47 + ## 5.0.0-beta.46 ### Patch Changes diff --git a/packages/sveltekit/package.json b/packages/sveltekit/package.json index 50976df6a7..73b85f46d9 100644 --- a/packages/sveltekit/package.json +++ b/packages/sveltekit/package.json @@ -1,6 +1,6 @@ { "name": "@workflow/sveltekit", - "version": "5.0.0-beta.46", + "version": "5.0.0-beta.47", "description": "SvelteKit integration for Workflow SDK", "type": "module", "main": "dist/index.js", diff --git a/packages/utils/CHANGELOG.md b/packages/utils/CHANGELOG.md index 8dd9948ba4..ad0fd8f464 100644 --- a/packages/utils/CHANGELOG.md +++ b/packages/utils/CHANGELOG.md @@ -1,5 +1,11 @@ # @workflow/utils +## 5.0.0-beta.10 + +### Patch Changes + +- [#3878](https://github.com/vercel/workflow/pull/3878) [`ffc5807`](https://github.com/vercel/workflow/commit/ffc58078d0c3cd2786d69bab7e41614566a9ea4e) Thanks [@pranaygp](https://github.com/pranaygp)! - Stop logging on healthy workflow execution: the breadcrumbs that only described the runtime working correctly now print under `DEBUG=workflow:*`. Warnings and errors are unchanged. + ## 5.0.0-beta.9 ### Minor Changes diff --git a/packages/utils/package.json b/packages/utils/package.json index b93b9c82ff..3661732ec1 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -1,7 +1,7 @@ { "name": "@workflow/utils", "description": "Utility functions for Workflow SDK", - "version": "5.0.0-beta.9", + "version": "5.0.0-beta.10", "type": "module", "sideEffects": false, "main": "dist/index.js", diff --git a/packages/vite/CHANGELOG.md b/packages/vite/CHANGELOG.md index 5584504f81..4c217a6766 100644 --- a/packages/vite/CHANGELOG.md +++ b/packages/vite/CHANGELOG.md @@ -1,5 +1,12 @@ # @workflow/vite +## 5.0.0-beta.47 + +### Patch Changes + +- Updated dependencies [[`88f5d21`](https://github.com/vercel/workflow/commit/88f5d214d48b15d3126943313ed03d48667e772c)]: + - @workflow/builders@5.0.0-beta.47 + ## 5.0.0-beta.46 ### Patch Changes diff --git a/packages/vite/package.json b/packages/vite/package.json index 22c6436312..ebee178591 100644 --- a/packages/vite/package.json +++ b/packages/vite/package.json @@ -1,7 +1,7 @@ { "name": "@workflow/vite", "description": "Vite plugin for Workflow SDK", - "version": "5.0.0-beta.46", + "version": "5.0.0-beta.47", "type": "module", "main": "dist/index.js", "files": [ diff --git a/packages/vitest/CHANGELOG.md b/packages/vitest/CHANGELOG.md index 4fac95e077..b2e6134219 100644 --- a/packages/vitest/CHANGELOG.md +++ b/packages/vitest/CHANGELOG.md @@ -1,5 +1,16 @@ # @workflow/vitest +## 5.0.0-beta.47 + +### Patch Changes + +- Updated dependencies [[`855e479`](https://github.com/vercel/workflow/commit/855e47990c0da35419325da27976bae925afb0e9), [`2668e33`](https://github.com/vercel/workflow/commit/2668e3325ba89dec973c3c2f35c49efdb239de8d), [`88f5d21`](https://github.com/vercel/workflow/commit/88f5d214d48b15d3126943313ed03d48667e772c), [`07ec212`](https://github.com/vercel/workflow/commit/07ec212fe762e0659d4528913716c59870fd6c7d), [`ee6f917`](https://github.com/vercel/workflow/commit/ee6f917cdbfcf50a5fd697c7a9cb70dd1294f931), [`e9d5c56`](https://github.com/vercel/workflow/commit/e9d5c56701821b090108a85b74bf8b0cbef8ea8e), [`ffc5807`](https://github.com/vercel/workflow/commit/ffc58078d0c3cd2786d69bab7e41614566a9ea4e), [`3e0c18a`](https://github.com/vercel/workflow/commit/3e0c18a4cab731a80942a334a01c7e215a784694), [`1c28eec`](https://github.com/vercel/workflow/commit/1c28eeca159f022c73912326baf78d69152db876)]: + - @workflow/world@5.0.0-beta.32 + - @workflow/core@5.0.0-beta.47 + - @workflow/builders@5.0.0-beta.47 + - @workflow/world-local@5.0.0-beta.41 + - @workflow/rollup@5.0.0-beta.47 + ## 5.0.0-beta.46 ### Patch Changes diff --git a/packages/vitest/package.json b/packages/vitest/package.json index f8949cc134..c8ec97526e 100644 --- a/packages/vitest/package.json +++ b/packages/vitest/package.json @@ -1,6 +1,6 @@ { "name": "@workflow/vitest", - "version": "5.0.0-beta.46", + "version": "5.0.0-beta.47", "description": "Vitest plugin for testing Workflow SDK workflows", "type": "module", "main": "./dist/index.js", diff --git a/packages/web-shared/CHANGELOG.md b/packages/web-shared/CHANGELOG.md index f76136e97a..b05800f7c0 100644 --- a/packages/web-shared/CHANGELOG.md +++ b/packages/web-shared/CHANGELOG.md @@ -1,5 +1,24 @@ # @workflow/web-shared +## 5.0.0-beta.47 + +### Patch Changes + +- [#3849](https://github.com/vercel/workflow/pull/3849) [`855e479`](https://github.com/vercel/workflow/commit/855e47990c0da35419325da27976bae925afb0e9) Thanks [@VaguelySerious](https://github.com/VaguelySerious)! - Mark the second of two attribute writes under one id as read past, matching what the runtime does with it, and stop treating a run's step-written attribute events as repeats of each other. + +- [#3906](https://github.com/vercel/workflow/pull/3906) [`4f6cc69`](https://github.com/vercel/workflow/commit/4f6cc69eb127fa1340f48943799b83de44a394c0) Thanks [@karthikscale3](https://github.com/karthikscale3)! - Prevent event payload flicker during decryption. + +- [#3825](https://github.com/vercel/workflow/pull/3825) [`36944cd`](https://github.com/vercel/workflow/commit/36944cdcad824f3628c29ecc056f3b9d1293cb05) Thanks [@alangenfeld](https://github.com/alangenfeld)! - Allow trace callers to add product-specific attributes to event-derived step spans. + +- [#3806](https://github.com/vercel/workflow/pull/3806) [`695a1b7`](https://github.com/vercel/workflow/commit/695a1b76d0e14b1093f93757232efa5c2818d0da) Thanks [@mitul-s](https://github.com/mitul-s)! - Render Headers, URLSearchParams, and other iterables in the data inspector. Map-like values use `entries()`; other iterables render as lists. + +- [#3872](https://github.com/vercel/workflow/pull/3872) [`4d5852b`](https://github.com/vercel/workflow/commit/4d5852b901951b8cac3948e5478e8922dc60a8ce) Thanks [@mitul-s](https://github.com/mitul-s)! - Keep the trace viewer Alt+hover delta overlay working after a span click by stopping Chrome from stealing Alt. + +- Updated dependencies [[`855e479`](https://github.com/vercel/workflow/commit/855e47990c0da35419325da27976bae925afb0e9), [`2668e33`](https://github.com/vercel/workflow/commit/2668e3325ba89dec973c3c2f35c49efdb239de8d), [`07ec212`](https://github.com/vercel/workflow/commit/07ec212fe762e0659d4528913716c59870fd6c7d), [`ee6f917`](https://github.com/vercel/workflow/commit/ee6f917cdbfcf50a5fd697c7a9cb70dd1294f931), [`e9d5c56`](https://github.com/vercel/workflow/commit/e9d5c56701821b090108a85b74bf8b0cbef8ea8e), [`ffc5807`](https://github.com/vercel/workflow/commit/ffc58078d0c3cd2786d69bab7e41614566a9ea4e), [`1c28eec`](https://github.com/vercel/workflow/commit/1c28eeca159f022c73912326baf78d69152db876)]: + - @workflow/world@5.0.0-beta.32 + - @workflow/core@5.0.0-beta.47 + - @workflow/utils@5.0.0-beta.10 + ## 5.0.0-beta.46 ### Patch Changes diff --git a/packages/web-shared/package.json b/packages/web-shared/package.json index 4c8fb0ef88..49e459c522 100644 --- a/packages/web-shared/package.json +++ b/packages/web-shared/package.json @@ -1,7 +1,7 @@ { "name": "@workflow/web-shared", "description": "Shared components for Workflow Observability UI", - "version": "5.0.0-beta.46", + "version": "5.0.0-beta.47", "private": false, "files": [ "dist", diff --git a/packages/web/CHANGELOG.md b/packages/web/CHANGELOG.md index 9da9638561..9183f1da11 100644 --- a/packages/web/CHANGELOG.md +++ b/packages/web/CHANGELOG.md @@ -1,5 +1,12 @@ # @workflow/web +## 5.0.0-beta.47 + +### Patch Changes + +- Updated dependencies [[`ffc5807`](https://github.com/vercel/workflow/commit/ffc58078d0c3cd2786d69bab7e41614566a9ea4e), [`3e0c18a`](https://github.com/vercel/workflow/commit/3e0c18a4cab731a80942a334a01c7e215a784694)]: + - @workflow/world-local@5.0.0-beta.41 + ## 5.0.0-beta.46 ### Patch Changes diff --git a/packages/web/package.json b/packages/web/package.json index 315b475a1e..b568b6e1a8 100644 --- a/packages/web/package.json +++ b/packages/web/package.json @@ -1,7 +1,7 @@ { "name": "@workflow/web", "description": "Workflow Observability UI", - "version": "5.0.0-beta.46", + "version": "5.0.0-beta.47", "type": "module", "private": false, "files": [ diff --git a/packages/workflow/CHANGELOG.md b/packages/workflow/CHANGELOG.md index 5bf6722cd0..2e972b61ce 100644 --- a/packages/workflow/CHANGELOG.md +++ b/packages/workflow/CHANGELOG.md @@ -1,5 +1,23 @@ # workflow +## 5.0.0-beta.47 + +### Patch Changes + +- Updated dependencies [[`855e479`](https://github.com/vercel/workflow/commit/855e47990c0da35419325da27976bae925afb0e9), [`2668e33`](https://github.com/vercel/workflow/commit/2668e3325ba89dec973c3c2f35c49efdb239de8d), [`07ec212`](https://github.com/vercel/workflow/commit/07ec212fe762e0659d4528913716c59870fd6c7d), [`a3da6b7`](https://github.com/vercel/workflow/commit/a3da6b791bb2bd3f77abc1fb92b4c15f688c2627), [`ee6f917`](https://github.com/vercel/workflow/commit/ee6f917cdbfcf50a5fd697c7a9cb70dd1294f931), [`e9d5c56`](https://github.com/vercel/workflow/commit/e9d5c56701821b090108a85b74bf8b0cbef8ea8e), [`ffc5807`](https://github.com/vercel/workflow/commit/ffc58078d0c3cd2786d69bab7e41614566a9ea4e), [`1c28eec`](https://github.com/vercel/workflow/commit/1c28eeca159f022c73912326baf78d69152db876)]: + - @workflow/core@5.0.0-beta.47 + - @workflow/next@5.0.0-beta.47 + - @workflow/utils@5.0.0-beta.10 + - @workflow/cli@5.0.0-beta.47 + - @workflow/errors@5.0.0-beta.19 + - @workflow/nitro@5.0.0-beta.47 + - @workflow/typescript-plugin@5.0.0-beta.5 + - @workflow/astro@5.0.0-beta.47 + - @workflow/nest@5.0.0-beta.47 + - @workflow/rollup@5.0.0-beta.47 + - @workflow/sveltekit@5.0.0-beta.47 + - @workflow/nuxt@5.0.0-beta.47 + ## 5.0.0-beta.46 ### Patch Changes diff --git a/packages/workflow/package.json b/packages/workflow/package.json index 7e3336bd28..6d06458adc 100644 --- a/packages/workflow/package.json +++ b/packages/workflow/package.json @@ -1,6 +1,6 @@ { "name": "workflow", - "version": "5.0.0-beta.46", + "version": "5.0.0-beta.47", "description": "Workflow SDK - Build durable, resilient, and observable workflows", "main": "dist/typescript-plugin.cjs", "type": "module", diff --git a/packages/world-local/CHANGELOG.md b/packages/world-local/CHANGELOG.md index 737e82d8b1..cf415fc16b 100644 --- a/packages/world-local/CHANGELOG.md +++ b/packages/world-local/CHANGELOG.md @@ -1,5 +1,18 @@ # @workflow/world-local +## 5.0.0-beta.41 + +### Patch Changes + +- [#3878](https://github.com/vercel/workflow/pull/3878) [`ffc5807`](https://github.com/vercel/workflow/commit/ffc58078d0c3cd2786d69bab7e41614566a9ea4e) Thanks [@pranaygp](https://github.com/pranaygp)! - Stop logging on healthy workflow execution: the breadcrumbs that only described the runtime working correctly now print under `DEBUG=workflow:*`. Warnings and errors are unchanged. + +- [#3824](https://github.com/vercel/workflow/pull/3824) [`3e0c18a`](https://github.com/vercel/workflow/commit/3e0c18a4cab731a80942a334a01c7e215a784694) Thanks [@AndrewBarba](https://github.com/AndrewBarba)! - Abort active local queue deliveries when the World closes, including when transport timeouts are disabled. + +- Updated dependencies [[`855e479`](https://github.com/vercel/workflow/commit/855e47990c0da35419325da27976bae925afb0e9), [`2668e33`](https://github.com/vercel/workflow/commit/2668e3325ba89dec973c3c2f35c49efdb239de8d), [`e9d5c56`](https://github.com/vercel/workflow/commit/e9d5c56701821b090108a85b74bf8b0cbef8ea8e), [`ffc5807`](https://github.com/vercel/workflow/commit/ffc58078d0c3cd2786d69bab7e41614566a9ea4e)]: + - @workflow/world@5.0.0-beta.32 + - @workflow/utils@5.0.0-beta.10 + - @workflow/errors@5.0.0-beta.19 + ## 5.0.0-beta.40 ### Patch Changes diff --git a/packages/world-local/package.json b/packages/world-local/package.json index 13dc6b65dd..b05f24389a 100644 --- a/packages/world-local/package.json +++ b/packages/world-local/package.json @@ -1,6 +1,6 @@ { "name": "@workflow/world-local", - "version": "5.0.0-beta.40", + "version": "5.0.0-beta.41", "description": "Local development World implementation for Workflow SDK", "type": "module", "main": "dist/index.js", diff --git a/packages/world-postgres/CHANGELOG.md b/packages/world-postgres/CHANGELOG.md index acfef903ea..bb6eafa001 100644 --- a/packages/world-postgres/CHANGELOG.md +++ b/packages/world-postgres/CHANGELOG.md @@ -1,5 +1,15 @@ # @workflow/world-postgres +## 5.0.0-beta.39 + +### Patch Changes + +- Updated dependencies [[`855e479`](https://github.com/vercel/workflow/commit/855e47990c0da35419325da27976bae925afb0e9), [`2668e33`](https://github.com/vercel/workflow/commit/2668e3325ba89dec973c3c2f35c49efdb239de8d), [`e9d5c56`](https://github.com/vercel/workflow/commit/e9d5c56701821b090108a85b74bf8b0cbef8ea8e), [`ffc5807`](https://github.com/vercel/workflow/commit/ffc58078d0c3cd2786d69bab7e41614566a9ea4e), [`3e0c18a`](https://github.com/vercel/workflow/commit/3e0c18a4cab731a80942a334a01c7e215a784694)]: + - @workflow/world@5.0.0-beta.32 + - @workflow/world-local@5.0.0-beta.41 + - @workflow/utils@5.0.0-beta.10 + - @workflow/errors@5.0.0-beta.19 + ## 5.0.0-beta.38 ### Patch Changes diff --git a/packages/world-postgres/package.json b/packages/world-postgres/package.json index 6402297829..53140fef61 100644 --- a/packages/world-postgres/package.json +++ b/packages/world-postgres/package.json @@ -1,6 +1,6 @@ { "name": "@workflow/world-postgres", - "version": "5.0.0-beta.38", + "version": "5.0.0-beta.39", "description": "A reference World implementation based on PostgreSQL", "type": "module", "main": "dist/index.js", diff --git a/packages/world-testing/CHANGELOG.md b/packages/world-testing/CHANGELOG.md index 659945823d..51304a8fe8 100644 --- a/packages/world-testing/CHANGELOG.md +++ b/packages/world-testing/CHANGELOG.md @@ -1,5 +1,15 @@ # @workflow/world-testing +## 5.0.0-beta.47 + +### Patch Changes + +- Updated dependencies [[`855e479`](https://github.com/vercel/workflow/commit/855e47990c0da35419325da27976bae925afb0e9), [`2668e33`](https://github.com/vercel/workflow/commit/2668e3325ba89dec973c3c2f35c49efdb239de8d), [`07ec212`](https://github.com/vercel/workflow/commit/07ec212fe762e0659d4528913716c59870fd6c7d), [`ee6f917`](https://github.com/vercel/workflow/commit/ee6f917cdbfcf50a5fd697c7a9cb70dd1294f931), [`e9d5c56`](https://github.com/vercel/workflow/commit/e9d5c56701821b090108a85b74bf8b0cbef8ea8e), [`ffc5807`](https://github.com/vercel/workflow/commit/ffc58078d0c3cd2786d69bab7e41614566a9ea4e), [`1c28eec`](https://github.com/vercel/workflow/commit/1c28eeca159f022c73912326baf78d69152db876)]: + - @workflow/world@5.0.0-beta.32 + - @workflow/core@5.0.0-beta.47 + - @workflow/cli@5.0.0-beta.47 + - workflow@5.0.0-beta.47 + ## 5.0.0-beta.46 ### Patch Changes diff --git a/packages/world-testing/package.json b/packages/world-testing/package.json index 9d71bab087..d843d65d62 100644 --- a/packages/world-testing/package.json +++ b/packages/world-testing/package.json @@ -1,6 +1,6 @@ { "name": "@workflow/world-testing", - "version": "5.0.0-beta.46", + "version": "5.0.0-beta.47", "description": "Testing utilities and World implementation for Workflow SDK", "main": "dist/src/index.mjs", "files": [ diff --git a/packages/world-vercel/CHANGELOG.md b/packages/world-vercel/CHANGELOG.md index 52d38f5bf5..1eda0ac347 100644 --- a/packages/world-vercel/CHANGELOG.md +++ b/packages/world-vercel/CHANGELOG.md @@ -1,5 +1,24 @@ # @workflow/world-vercel +## 5.0.0-beta.43 + +### Patch Changes + +- [#3742](https://github.com/vercel/workflow/pull/3742) [`1c44cc8`](https://github.com/vercel/workflow/commit/1c44cc8c3f76f81553d04d21f56da1d2adbc1746) Thanks [@VaguelySerious](https://github.com/VaguelySerious)! - Fail a run instead of retrying it forever when its event log references a payload the backend can no longer read + +- [#3844](https://github.com/vercel/workflow/pull/3844) [`cc6eb7e`](https://github.com/vercel/workflow/commit/cc6eb7e837ff3cf64a09f613df5fdaad40131cb8) Thanks [@VaguelySerious](https://github.com/VaguelySerious)! - Authenticate `deploymentId: "latest"` with the deployment's own OIDC identity instead of an ambient `VERCEL_TOKEN`, and scope the request to the configured team, fixing spurious 404s when resolving the latest deployment + +- [#3548](https://github.com/vercel/workflow/pull/3548) [`e9d5c56`](https://github.com/vercel/workflow/commit/e9d5c56701821b090108a85b74bf8b0cbef8ea8e) Thanks [@NathanColosimo](https://github.com/NathanColosimo)! - Prepare replay payloads as validated event frames arrive, reuse primitive step results across fresh VMs, and preserve replay startup overlap. + +- [#3878](https://github.com/vercel/workflow/pull/3878) [`ffc5807`](https://github.com/vercel/workflow/commit/ffc58078d0c3cd2786d69bab7e41614566a9ea4e) Thanks [@pranaygp](https://github.com/pranaygp)! - Stop logging on healthy workflow execution: the breadcrumbs that only described the runtime working correctly now print under `DEBUG=workflow:*`. Warnings and errors are unchanged. + +- [#3546](https://github.com/vercel/workflow/pull/3546) [`aaeb8e4`](https://github.com/vercel/workflow/commit/aaeb8e44633c1974f087ee7ce38666dbc8ad8a4d) Thanks [@NathanColosimo](https://github.com/NathanColosimo)! - Classify malformed replay responses as typed world failures and resume incomplete streams from their last validated event. + +- Updated dependencies [[`855e479`](https://github.com/vercel/workflow/commit/855e47990c0da35419325da27976bae925afb0e9), [`2668e33`](https://github.com/vercel/workflow/commit/2668e3325ba89dec973c3c2f35c49efdb239de8d), [`e9d5c56`](https://github.com/vercel/workflow/commit/e9d5c56701821b090108a85b74bf8b0cbef8ea8e), [`ffc5807`](https://github.com/vercel/workflow/commit/ffc58078d0c3cd2786d69bab7e41614566a9ea4e)]: + - @workflow/world@5.0.0-beta.32 + - @workflow/utils@5.0.0-beta.10 + - @workflow/errors@5.0.0-beta.19 + ## 5.0.0-beta.42 ### Patch Changes diff --git a/packages/world-vercel/package.json b/packages/world-vercel/package.json index 6315ca4500..9576fcfc52 100644 --- a/packages/world-vercel/package.json +++ b/packages/world-vercel/package.json @@ -1,6 +1,6 @@ { "name": "@workflow/world-vercel", - "version": "5.0.0-beta.42", + "version": "5.0.0-beta.43", "description": "Vercel platform World implementation for Workflow SDK", "type": "module", "main": "dist/index.js", diff --git a/packages/world/CHANGELOG.md b/packages/world/CHANGELOG.md index c71ff99942..dd3006de2f 100644 --- a/packages/world/CHANGELOG.md +++ b/packages/world/CHANGELOG.md @@ -1,5 +1,29 @@ # @workflow/world +## 5.0.0-beta.32 + +### Patch Changes + +- [#3849](https://github.com/vercel/workflow/pull/3849) [`855e479`](https://github.com/vercel/workflow/commit/855e47990c0da35419325da27976bae925afb0e9) Thanks [@VaguelySerious](https://github.com/VaguelySerious)! - Fix runs failing with `CORRUPTED_EVENT_LOG` after every step had already succeeded, when the event log held two attribute writes under one id. + +- [#3841](https://github.com/vercel/workflow/pull/3841) [`2668e33`](https://github.com/vercel/workflow/commit/2668e3325ba89dec973c3c2f35c49efdb239de8d) Thanks [@karthikscale3](https://github.com/karthikscale3)! - Make `resumeHook()` durable before it resolves: the `hook_received` event is + written durably first, and the workflow wake is published only after the write + is acknowledged. A disposal racing the queue delivery can no longer lose a + resume the caller was told succeeded. The wake message is unchanged, so no + consumer or backend coordination is needed; `WORKFLOW_DISABLE_LAZY_HOOK_RESUME` + is now a no-op and the internal `resumeHookDurable()` alias is removed. + + Behavior changes: a resume against an ended run now throws `HookNotFoundError` + instead of resolving (the lazy path never observed the server's rejection, so a + late webhook delivery to a finished run answered 202 where it now answers 404). + A transient write conflict (HTTP 409, e.g. an event-slot conflict under + contention) is no longer re-keyed to `HookNotFoundError`: it surfaces as a + retryable error, since its transaction committed nothing. + +- [#3548](https://github.com/vercel/workflow/pull/3548) [`e9d5c56`](https://github.com/vercel/workflow/commit/e9d5c56701821b090108a85b74bf8b0cbef8ea8e) Thanks [@NathanColosimo](https://github.com/NathanColosimo)! - Prepare replay payloads as validated event frames arrive, reuse primitive step results across fresh VMs, and preserve replay startup overlap. + +- [#3878](https://github.com/vercel/workflow/pull/3878) [`ffc5807`](https://github.com/vercel/workflow/commit/ffc58078d0c3cd2786d69bab7e41614566a9ea4e) Thanks [@pranaygp](https://github.com/pranaygp)! - Stop logging on healthy workflow execution: the breadcrumbs that only described the runtime working correctly now print under `DEBUG=workflow:*`. Warnings and errors are unchanged. + ## 5.0.0-beta.31 ### Patch Changes diff --git a/packages/world/package.json b/packages/world/package.json index 3f01c5e51d..d09bd54299 100644 --- a/packages/world/package.json +++ b/packages/world/package.json @@ -1,6 +1,6 @@ { "name": "@workflow/world", - "version": "5.0.0-beta.31", + "version": "5.0.0-beta.32", "description": "The Workflows World interface", "type": "module", "main": "dist/index.js",