Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 0 additions & 14 deletions .changeset/dynamic-child-machines.md

This file was deleted.

15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# @typeonce/effect-machine

## 0.20.0

### Minor Changes

- 782c6ba: Add process-owned child machine spawning for runtime-sized child sets.

Use `Machine.childFamily(machine)` to bind a child machine once, then call
`children.spawn(Family(id), { input })` inside an invoked Effect. Successfully
started children survive owner state changes and remain addressable through
machine references and `AtomMachine` until they stop or their parent stops.

`Logic.Scope.spawn` accepts the same child descriptors for lower-level process
logic. Dynamic spawn calls retain child input, startup failure and service
inference, and check the child's declared parent protocol.

## 0.19.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@typeonce/effect-machine",
"version": "0.19.1",
"version": "0.20.0",
"description": "Schema-first state machines and statecharts for Effect",
"author": "Sandro Maglione",
"repository": {
Expand Down