From fd4b845c1bff45e078f4051bbbcb713c1a2e0bc2 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 15 Aug 2026 08:06:46 +0000 Subject: [PATCH] Version Packages --- .changeset/calm-events-build.md | 7 ------- .changeset/inline-invocation-lifecycles.md | 9 --------- CHANGELOG.md | 14 ++++++++++++++ package.json | 2 +- 4 files changed, 15 insertions(+), 17 deletions(-) delete mode 100644 .changeset/calm-events-build.md delete mode 100644 .changeset/inline-invocation-lifecycles.md diff --git a/.changeset/calm-events-build.md b/.changeset/calm-events-build.md deleted file mode 100644 index 1115403..0000000 --- a/.changeset/calm-events-build.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@typeonce/effect-machine": minor ---- - -Add `Machine.events(machine)` and `Machine.internalEvents(machine)` as the standard way to construct protocol events. - -The returned tag-keyed constructors preserve schema make inputs and defer decoding until machine delivery, so invalid values fail with `MachineSchemaDecodeError` through planning or the running machine instead of throwing at the construction call site. diff --git a/.changeset/inline-invocation-lifecycles.md b/.changeset/inline-invocation-lifecycles.md deleted file mode 100644 index 4038ea5..0000000 --- a/.changeset/inline-invocation-lifecycles.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"@typeonce/effect-machine": minor ---- - -Replace `Machine.invokeEffect`, `Machine.after`, `Machine.invokeMachine`, and `Machine.effect` with one inline `invoke` lifecycle object API and a zero-runtime `Machine.invoke` inference helper. - -Choose an `effect`, `after`, `logic`, or `child` source and handle typed outcomes directly with `onDone`, `onFailure`, and `onSnapshot`. Lifecycle handlers can now transition the owning state without routing results through mapped machine events. - -State-dependent Effect sources infer their owner state, output, error, and service requirements together without a manual return annotation. diff --git a/CHANGELOG.md b/CHANGELOG.md index 7826f1d..d8cd36a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,19 @@ # @typeonce/effect-machine +## 0.9.0 + +### Minor Changes + +- d471d42: Add `Machine.events(machine)` and `Machine.internalEvents(machine)` as the standard way to construct protocol events. + + The returned tag-keyed constructors preserve schema make inputs and defer decoding until machine delivery, so invalid values fail with `MachineSchemaDecodeError` through planning or the running machine instead of throwing at the construction call site. + +- 59580de: Replace `Machine.invokeEffect`, `Machine.after`, `Machine.invokeMachine`, and `Machine.effect` with one inline `invoke` lifecycle object API and a zero-runtime `Machine.invoke` inference helper. + + Choose an `effect`, `after`, `logic`, or `child` source and handle typed outcomes directly with `onDone`, `onFailure`, and `onSnapshot`. Lifecycle handlers can now transition the owning state without routing results through mapped machine events. + + State-dependent Effect sources infer their owner state, output, error, and service requirements together without a manual return annotation. + ## 0.8.0 ### Minor Changes diff --git a/package.json b/package.json index 879d6f9..0827ce4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@typeonce/effect-machine", - "version": "0.8.0", + "version": "0.9.0", "description": "Schema-first state machines and statecharts for Effect", "author": "Sandro Maglione", "repository": {