You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: state the wire-marker deploy ordering and the options-type rename
- The v8 upgrade guide now has a rolling-upgrade warning for the typed-error
wire marker. A data-less contract error emitted by a 7.x worker carries no
marker, so an 8.0 reader degrades it to a generic failure — silently, unless
`onRehydrationMiss` is registered. Documents workers-before-callers ordering,
the hook, and that schema-bearing errors are unaffected. Added to the
checklist.
- `ActivityDefaultOptions` -> `ContractActivityOptions` in the rename table,
the checklist, the contract-surface reference, and the changeset.
Copy file name to clipboardExpand all lines: .changeset/v8-audit-remediation.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ v8 audit remediation — a second full-surface pass hardening robustness, the un
16
16
**`@temporal-contract/contract`:**
17
17
18
18
- Type-helper renames to the family-standard `Infer*` prefix: `SignalNamesOf`/`QueryNamesOf`/`UpdateNamesOf`/`DeclaredErrorsOf` → `InferSignalNames`/`InferQueryNames`/`InferUpdateNames`/`InferDeclaredErrors`.
19
-
-`defineActivity`'s `defaultOptions` key is renamed `activityOptions` (merge precedence unchanged).
19
+
-`defineActivity`'s `defaultOptions` key is renamed `activityOptions` (merge precedence unchanged), and its type `ActivityDefaultOptions` → `ContractActivityOptions` — the new name keeps the contract-level, portable subset distinct from Temporal's own `ActivityOptions`, which is what the worker-side `activityOptionsByName` overrides take.
20
20
- Duration strings are validated against the `ms` grammar at `defineContract` time — `"5 minutos"`, `""`, and negative durations now fail at definition, naming the offending path, instead of at the worker.
21
21
- Temporal-reserved names are rejected at `defineContract`: the `__temporal_` prefix and the exact `__stack_trace` / `__enhanced_stack_trace` query names.
22
22
- Activity-only contracts are allowed — `workflows` may be `{}` when at least one global activity is declared (dedicated activity-pool task queues).
0 commit comments