Skip to content

Commit cedaf96

Browse files
committed
Release v0.5.1
1 parent 18df6c0 commit cedaf96

2 files changed

Lines changed: 15 additions & 1 deletion

File tree

packages/restate-xstate/CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
# @restatedev/xstate
22

3+
## 0.5.1
4+
5+
### Patch Changes
6+
7+
- Fix TypeError when calling handlers on non-existent workflow ID (#41)
8+
9+
Require 'create' to be called before send, snapshot, subscribe, or
10+
waitFor, aligning with standard xstate actor lifecycle semantics.
11+
Handlers now return a 404 TerminalError with a clear message instead
12+
of crashing with 'actor.getSnapshot().tags is not iterable'.
13+
14+
Also make persistedSnapshotWithTags defensive against missing tags
15+
as a safety net.
16+
317
## 0.5.0
418

519
### Minor Changes

packages/restate-xstate/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@restatedev/xstate",
3-
"version": "0.5.0",
3+
"version": "0.5.1",
44
"description": "Run XState state machines on Restate",
55
"license": "MIT",
66
"author": "Restate developers",

0 commit comments

Comments
 (0)