Skip to content

Commit ca101ee

Browse files
Version Packages (#6)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 89bed90 commit ca101ee

8 files changed

Lines changed: 25 additions & 41 deletions

.changeset/bright-machines-remember.md

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

.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/clear-machines-diagnose.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: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,29 @@
11
# @typeonce/effect-machine
22

3+
## 0.3.0
4+
5+
### Minor Changes
6+
7+
- 1d1f35f: Add fully typed shallow and deep history states. History targets restore schema-validated state values, support typed defaults before the first capture, require only the initializers needed by shallow restoration, preserve parallel configurations, and round-trip through snapshot encoding and decoding.
8+
- e556e63: Add safe `.from` state construction to initial and transition target builders.
9+
Constructor inputs are resolved through the selected state schema during
10+
planning, preserving defaults and class identity while reporting validation
11+
failures as `MachineSchemaDecodeError` values.
12+
- 3646067: Allow state builder `.from()` calls to omit the constructor input when the
13+
selected schema accepts `{}`. Required fields and compound or parallel child
14+
selection remain type-safe, and omitted inputs still run through schema
15+
construction during planning.
16+
17+
### Patch Changes
18+
19+
- 607a0c4: Allow local and branch targets to enter inactive nested parallel states. These
20+
targets now require a complete selection for every parallel region while
21+
preserving partial updates for parallel states that are already active.
22+
- ea8e165: Improve compile-time diagnostics for invalid state definitions, event protocols,
23+
and handler configurations. Errors now retain the relevant configuration shape
24+
and state path while preserving existing inference and type safety.
25+
- 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.
26+
327
## 0.2.0
428

529
### 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)