From 99d7f095bb2ff8b7ad393a88de7359f048947a3f Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 9 Sep 2026 12:28:48 +0000 Subject: [PATCH] Version Packages --- .changeset/clear-machine-ownership.md | 7 ------- .changeset/declarative-machine-definition.md | 12 ------------ packages/devtools/CHANGELOG.md | 16 ++++++++++++++++ packages/devtools/package.json | 2 +- packages/effect-machine-react/CHANGELOG.md | 16 ++++++++++++++++ packages/effect-machine-react/package.json | 2 +- packages/effect-machine/CHANGELOG.md | 16 ++++++++++++++++ packages/effect-machine/package.json | 2 +- packages/oxlint-plugin/CHANGELOG.md | 10 ++++++++++ packages/oxlint-plugin/package.json | 2 +- 10 files changed, 62 insertions(+), 23 deletions(-) delete mode 100644 .changeset/clear-machine-ownership.md delete mode 100644 .changeset/declarative-machine-definition.md diff --git a/.changeset/clear-machine-ownership.md b/.changeset/clear-machine-ownership.md deleted file mode 100644 index bc2c350..0000000 --- a/.changeset/clear-machine-ownership.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@typeonce/effect-machine": patch ---- - -Clarify declarative guards in the machine documentation and add a checked example of guarded state construction. - -Improve internal typing and organization for machine definitions, execution strategies, snapshot validation, and Cluster contracts. Existing public APIs and machine behavior remain unchanged. diff --git a/.changeset/declarative-machine-definition.md b/.changeset/declarative-machine-definition.md deleted file mode 100644 index 7abfe45..0000000 --- a/.changeset/declarative-machine-definition.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -"@typeonce/effect-machine": minor -"@typeonce/effect-machine-react": minor -"@typeonce/effect-machine-devtools": minor -"@typeonce/oxlint-plugin-effect-machine": minor ---- - -Declare transitions as objects using references from `Machine.targets(Root)`. Replace event-local selector chains with `{ target: targets.root.Ready, from: ({ event }) => ({ value: event.value }) }`, and use `update` for retained state data. `initial`, `history`, `none: true`, `guard`, and `reenter` express their respective operations explicitly. - -Register `effects`, `streams`, `timers`, `logic`, and `children` inside `Machine.make`, then invoke them with `{ src, input?, onDone?, onFailure?, onElement?, onSnapshot? }`. Required inputs and reachable outcome handlers are checked from the source types; unused sources do not add service requirements. Pass lazy Effect and Stream values directly, or use a function with one required input and provide an input mapper. - -Declare named `branches` in `make` for conditional outcomes, queued commands, or nested construction. A transition uses `{ branches: "group", resolve }`; its `select` constructors come from the declared destinations. Ordinary transitions stay inline. Full root configuration construction remains available at initialization and history fallback; runtime transitions use explicit destinations and retained owner updates. Devtools, testing, React integrations, and lint rules follow the new declarations. diff --git a/packages/devtools/CHANGELOG.md b/packages/devtools/CHANGELOG.md index 07190ce..f39a96b 100644 --- a/packages/devtools/CHANGELOG.md +++ b/packages/devtools/CHANGELOG.md @@ -1,5 +1,21 @@ # @typeonce/effect-machine-devtools +## 0.34.0 + +### Minor Changes + +- c1b0693: Declare transitions as objects using references from `Machine.targets(Root)`. Replace event-local selector chains with `{ target: targets.root.Ready, from: ({ event }) => ({ value: event.value }) }`, and use `update` for retained state data. `initial`, `history`, `none: true`, `guard`, and `reenter` express their respective operations explicitly. + + Register `effects`, `streams`, `timers`, `logic`, and `children` inside `Machine.make`, then invoke them with `{ src, input?, onDone?, onFailure?, onElement?, onSnapshot? }`. Required inputs and reachable outcome handlers are checked from the source types; unused sources do not add service requirements. Pass lazy Effect and Stream values directly, or use a function with one required input and provide an input mapper. + + Declare named `branches` in `make` for conditional outcomes, queued commands, or nested construction. A transition uses `{ branches: "group", resolve }`; its `select` constructors come from the declared destinations. Ordinary transitions stay inline. Full root configuration construction remains available at initialization and history fallback; runtime transitions use explicit destinations and retained owner updates. Devtools, testing, React integrations, and lint rules follow the new declarations. + +### Patch Changes + +- Updated dependencies [a10e9be] +- Updated dependencies [c1b0693] + - @typeonce/effect-machine@0.34.0 + ## 0.33.0 ### Patch Changes diff --git a/packages/devtools/package.json b/packages/devtools/package.json index e33883b..6a79d9c 100644 --- a/packages/devtools/package.json +++ b/packages/devtools/package.json @@ -1,6 +1,6 @@ { "name": "@typeonce/effect-machine-devtools", - "version": "0.33.0", + "version": "0.34.0", "description": "Local development tools for Effect Machine", "author": "Sandro Maglione", "repository": { diff --git a/packages/effect-machine-react/CHANGELOG.md b/packages/effect-machine-react/CHANGELOG.md index 9590e5b..02b6fa0 100644 --- a/packages/effect-machine-react/CHANGELOG.md +++ b/packages/effect-machine-react/CHANGELOG.md @@ -1,5 +1,21 @@ # @typeonce/effect-machine-react +## 0.34.0 + +### Minor Changes + +- c1b0693: Declare transitions as objects using references from `Machine.targets(Root)`. Replace event-local selector chains with `{ target: targets.root.Ready, from: ({ event }) => ({ value: event.value }) }`, and use `update` for retained state data. `initial`, `history`, `none: true`, `guard`, and `reenter` express their respective operations explicitly. + + Register `effects`, `streams`, `timers`, `logic`, and `children` inside `Machine.make`, then invoke them with `{ src, input?, onDone?, onFailure?, onElement?, onSnapshot? }`. Required inputs and reachable outcome handlers are checked from the source types; unused sources do not add service requirements. Pass lazy Effect and Stream values directly, or use a function with one required input and provide an input mapper. + + Declare named `branches` in `make` for conditional outcomes, queued commands, or nested construction. A transition uses `{ branches: "group", resolve }`; its `select` constructors come from the declared destinations. Ordinary transitions stay inline. Full root configuration construction remains available at initialization and history fallback; runtime transitions use explicit destinations and retained owner updates. Devtools, testing, React integrations, and lint rules follow the new declarations. + +### Patch Changes + +- Updated dependencies [a10e9be] +- Updated dependencies [c1b0693] + - @typeonce/effect-machine@0.34.0 + ## 0.33.0 ### Patch Changes diff --git a/packages/effect-machine-react/package.json b/packages/effect-machine-react/package.json index be26e7f..c93e408 100644 --- a/packages/effect-machine-react/package.json +++ b/packages/effect-machine-react/package.json @@ -1,6 +1,6 @@ { "name": "@typeonce/effect-machine-react", - "version": "0.33.0", + "version": "0.34.0", "description": "React ownership hooks for Effect Machine atoms", "author": "Sandro Maglione", "repository": { diff --git a/packages/effect-machine/CHANGELOG.md b/packages/effect-machine/CHANGELOG.md index 79bd5f5..4511f25 100644 --- a/packages/effect-machine/CHANGELOG.md +++ b/packages/effect-machine/CHANGELOG.md @@ -1,5 +1,21 @@ # @typeonce/effect-machine +## 0.34.0 + +### Minor Changes + +- c1b0693: Declare transitions as objects using references from `Machine.targets(Root)`. Replace event-local selector chains with `{ target: targets.root.Ready, from: ({ event }) => ({ value: event.value }) }`, and use `update` for retained state data. `initial`, `history`, `none: true`, `guard`, and `reenter` express their respective operations explicitly. + + Register `effects`, `streams`, `timers`, `logic`, and `children` inside `Machine.make`, then invoke them with `{ src, input?, onDone?, onFailure?, onElement?, onSnapshot? }`. Required inputs and reachable outcome handlers are checked from the source types; unused sources do not add service requirements. Pass lazy Effect and Stream values directly, or use a function with one required input and provide an input mapper. + + Declare named `branches` in `make` for conditional outcomes, queued commands, or nested construction. A transition uses `{ branches: "group", resolve }`; its `select` constructors come from the declared destinations. Ordinary transitions stay inline. Full root configuration construction remains available at initialization and history fallback; runtime transitions use explicit destinations and retained owner updates. Devtools, testing, React integrations, and lint rules follow the new declarations. + +### Patch Changes + +- a10e9be: Clarify declarative guards in the machine documentation and add a checked example of guarded state construction. + + Improve internal typing and organization for machine definitions, execution strategies, snapshot validation, and Cluster contracts. Existing public APIs and machine behavior remain unchanged. + ## 0.33.0 ### Minor Changes diff --git a/packages/effect-machine/package.json b/packages/effect-machine/package.json index 9ae76e0..1371349 100644 --- a/packages/effect-machine/package.json +++ b/packages/effect-machine/package.json @@ -1,6 +1,6 @@ { "name": "@typeonce/effect-machine", - "version": "0.33.0", + "version": "0.34.0", "description": "Schema-first state machines and statecharts for Effect", "author": "Sandro Maglione", "repository": { diff --git a/packages/oxlint-plugin/CHANGELOG.md b/packages/oxlint-plugin/CHANGELOG.md index 71f6957..c7ac486 100644 --- a/packages/oxlint-plugin/CHANGELOG.md +++ b/packages/oxlint-plugin/CHANGELOG.md @@ -1,5 +1,15 @@ # @typeonce/oxlint-plugin-effect-machine +## 0.34.0 + +### Minor Changes + +- c1b0693: Declare transitions as objects using references from `Machine.targets(Root)`. Replace event-local selector chains with `{ target: targets.root.Ready, from: ({ event }) => ({ value: event.value }) }`, and use `update` for retained state data. `initial`, `history`, `none: true`, `guard`, and `reenter` express their respective operations explicitly. + + Register `effects`, `streams`, `timers`, `logic`, and `children` inside `Machine.make`, then invoke them with `{ src, input?, onDone?, onFailure?, onElement?, onSnapshot? }`. Required inputs and reachable outcome handlers are checked from the source types; unused sources do not add service requirements. Pass lazy Effect and Stream values directly, or use a function with one required input and provide an input mapper. + + Declare named `branches` in `make` for conditional outcomes, queued commands, or nested construction. A transition uses `{ branches: "group", resolve }`; its `select` constructors come from the declared destinations. Ordinary transitions stay inline. Full root configuration construction remains available at initialization and history fallback; runtime transitions use explicit destinations and retained owner updates. Devtools, testing, React integrations, and lint rules follow the new declarations. + ## 0.33.0 ### Patch Changes diff --git a/packages/oxlint-plugin/package.json b/packages/oxlint-plugin/package.json index 8f5f6bd..2948947 100644 --- a/packages/oxlint-plugin/package.json +++ b/packages/oxlint-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@typeonce/oxlint-plugin-effect-machine", - "version": "0.33.0", + "version": "0.34.0", "description": "Oxlint rules for Effect Machine models", "author": "Sandro Maglione", "repository": {