Skip to content

Commit 098d4ef

Browse files
Version Packages
1 parent 13af066 commit 098d4ef

6 files changed

Lines changed: 21 additions & 29 deletions

File tree

.changeset/calm-machines-construct.md

Lines changed: 0 additions & 8 deletions
This file was deleted.

.changeset/calm-machines-enter.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

.changeset/steady-machines-bind.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/tidy-states-omit-input.md

Lines changed: 0 additions & 8 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,25 @@
11
# @typeonce/effect-machine
22

3+
## 0.3.0
4+
5+
### Minor Changes
6+
7+
- e556e63: Add safe `.from` state construction to initial and transition target builders.
8+
Constructor inputs are resolved through the selected state schema during
9+
planning, preserving defaults and class identity while reporting validation
10+
failures as `MachineSchemaDecodeError` values.
11+
- 3646067: Allow state builder `.from()` calls to omit the constructor input when the
12+
selected schema accepts `{}`. Required fields and compound or parallel child
13+
selection remain type-safe, and omitted inputs still run through schema
14+
construction during planning.
15+
16+
### Patch Changes
17+
18+
- 607a0c4: Allow local and branch targets to enter inactive nested parallel states. These
19+
targets now require a complete selection for every parallel region while
20+
preserving partial updates for parallel states that are already active.
21+
- 955663f: Preserve every machine protocol channel when creating bound AtomMachine bridges from deeply composed handled machines. Inline invoked children also retain their exact error, service, event, and output types instead of inheriting erased contextual `any` channels.
22+
323
## 0.2.0
424

525
### Minor Changes

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@typeonce/effect-machine",
3-
"version": "0.2.0",
3+
"version": "0.3.0",
44
"description": "Schema-first state machines and statecharts for Effect",
55
"author": "Sandro Maglione",
66
"repository": {

0 commit comments

Comments
 (0)