From 6ebb14b20725b2405f115bfe8d334cfbb9fa4141 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 20 Aug 2026 09:04:03 +0000 Subject: [PATCH] Version Packages --- .changeset/calm-machines-travel.md | 23 -------------------- .changeset/fresh-ravens-smile.md | 5 ----- .changeset/quiet-machines-document.md | 7 ------ CHANGELOG.md | 31 +++++++++++++++++++++++++++ package.json | 2 +- 5 files changed, 32 insertions(+), 36 deletions(-) delete mode 100644 .changeset/calm-machines-travel.md delete mode 100644 .changeset/fresh-ravens-smile.md delete mode 100644 .changeset/quiet-machines-document.md diff --git a/.changeset/calm-machines-travel.md b/.changeset/calm-machines-travel.md deleted file mode 100644 index 1a8baba..0000000 --- a/.changeset/calm-machines-travel.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -"@typeonce/effect-machine": minor ---- - -Make `Machine.encodeSnapshot` return a canonical JSON representation or fail -with `MachineSchemaEncodeError`. Encoded state values, completion outputs, and -history values are now typed as `Schema.Json`; rich schema values use their -canonical JSON codecs, while cycles and other non-JSON values fail at the -machine boundary instead of causing a later serialization crash. -Declared `Schema.Void` and `Schema.Undefined` completion outputs now use their -canonical `null` encoding; an omitted output is reserved for final states that -do not declare an output schema. - -`ClusterMachine.make` now requires JSON-encoded state, completion-output, and -public input-event schemas. Keep process-local capabilities in services, -adapters, or internal events, and give transported values an explicit JSON -codec. Cluster snapshot encoding failures are reported as -`SnapshotEncodeFailure` without advancing the checkpoint. - -`MachineTest.observedGraph` continues to support process-local state. Its node -`encoded` field is now optional: portable snapshots retain their canonical JSON -form, while non-portable snapshots use local structural identity and omit it. -Snapshot encoding failures no longer appear in the operation's error channel. diff --git a/.changeset/fresh-ravens-smile.md b/.changeset/fresh-ravens-smile.md deleted file mode 100644 index b77b76d..0000000 --- a/.changeset/fresh-ravens-smile.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@typeonce/effect-machine": patch ---- - -Upgrade the exact Effect peer dependency and companion Effect packages to `4.0.0-rc.110`. diff --git a/.changeset/quiet-machines-document.md b/.changeset/quiet-machines-document.md deleted file mode 100644 index 505743f..0000000 --- a/.changeset/quiet-machines-document.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@typeonce/effect-machine": patch ---- - -Document the nested configuration and callback APIs used by `Machine.states`, event protocols, `Machine.make`, `Definition.handle`, execution, transitions, and state invocation. - -The documentation site now presents those core authoring APIs on a standalone guide-reference page while keeping module pages focused on public exports. Parameters remain grouped under their point of use with searchable signatures, lifecycle contexts, target semantics, defaults, source links, focused examples, and a complete nested page outline. Redundant configuration headings are omitted, and each parameter is presented as a named API block with its signature, description, and attached source link. Long signatures stay contained within their documentation blocks across responsive layouts. diff --git a/CHANGELOG.md b/CHANGELOG.md index 860f2f9..72b3902 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,36 @@ # @typeonce/effect-machine +## 0.19.0 + +### Minor Changes + +- b1a1f75: Make `Machine.encodeSnapshot` return a canonical JSON representation or fail + with `MachineSchemaEncodeError`. Encoded state values, completion outputs, and + history values are now typed as `Schema.Json`; rich schema values use their + canonical JSON codecs, while cycles and other non-JSON values fail at the + machine boundary instead of causing a later serialization crash. + Declared `Schema.Void` and `Schema.Undefined` completion outputs now use their + canonical `null` encoding; an omitted output is reserved for final states that + do not declare an output schema. + + `ClusterMachine.make` now requires JSON-encoded state, completion-output, and + public input-event schemas. Keep process-local capabilities in services, + adapters, or internal events, and give transported values an explicit JSON + codec. Cluster snapshot encoding failures are reported as + `SnapshotEncodeFailure` without advancing the checkpoint. + + `MachineTest.observedGraph` continues to support process-local state. Its node + `encoded` field is now optional: portable snapshots retain their canonical JSON + form, while non-portable snapshots use local structural identity and omit it. + Snapshot encoding failures no longer appear in the operation's error channel. + +### Patch Changes + +- 928017e: Upgrade the exact Effect peer dependency and companion Effect packages to `4.0.0-rc.110`. +- f4f9bdf: Document the nested configuration and callback APIs used by `Machine.states`, event protocols, `Machine.make`, `Definition.handle`, execution, transitions, and state invocation. + + The documentation site now presents those core authoring APIs on a standalone guide-reference page while keeping module pages focused on public exports. Parameters remain grouped under their point of use with searchable signatures, lifecycle contexts, target semantics, defaults, source links, focused examples, and a complete nested page outline. Redundant configuration headings are omitted, and each parameter is presented as a named API block with its signature, description, and attached source link. Long signatures stay contained within their documentation blocks across responsive layouts. + ## 0.18.0 ### Minor Changes diff --git a/package.json b/package.json index a89ae5f..a8b19c4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@typeonce/effect-machine", - "version": "0.18.0", + "version": "0.19.0", "description": "Schema-first state machines and statecharts for Effect", "author": "Sandro Maglione", "repository": {