From 6fefb5b62d4e5711d56d71c66a654ad143c21b56 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 10 Sep 2026 07:41:07 +0000 Subject: [PATCH] Version Packages --- .changeset/fresh-root-object-construction.md | 9 --------- packages/devtools/CHANGELOG.md | 7 +++++++ packages/devtools/package.json | 2 +- packages/effect-machine-react/CHANGELOG.md | 7 +++++++ packages/effect-machine-react/package.json | 2 +- packages/effect-machine/CHANGELOG.md | 10 ++++++++++ packages/effect-machine/package.json | 2 +- packages/oxlint-plugin/CHANGELOG.md | 2 ++ packages/oxlint-plugin/package.json | 2 +- 9 files changed, 30 insertions(+), 13 deletions(-) delete mode 100644 .changeset/fresh-root-object-construction.md diff --git a/.changeset/fresh-root-object-construction.md b/.changeset/fresh-root-object-construction.md deleted file mode 100644 index d85250eb..00000000 --- a/.changeset/fresh-root-object-construction.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"@typeonce/effect-machine": minor ---- - -Pass machine input directly to root initial constructors, including parallel regions, without retaining startup-only values in root data. A root transition uses `{ target: targets.root, input }` to reconstruct root and its initial children with fresh input; `reenter: true` restarts the root lifecycle when the handler is at root. Root updates continue to use `{ update: targets.root, data }` and retain active children. - -Use `target` instead of `initial` on event transitions. Named branch selectors now accept one construction object: `select.checkout({ data: cart, states: { Review: { data: review } } })`. Replace `.from(value)` with `({ data: value })`, `.decoded(value)` with `({ decoded: true, data: value })`, and chained owner updates with `update: { data: owner }` inside the same call. History fallbacks use `target({ states: ... })` with a complete tree containing their owner. - -Input remains limited to root construction and the root's initial callbacks. Nested initializers use state data and ancestors. Explicit subtree construction preserves source-local parallel retention, schema validation, and declared branch inspection. diff --git a/packages/devtools/CHANGELOG.md b/packages/devtools/CHANGELOG.md index e8913ed0..4964c507 100644 --- a/packages/devtools/CHANGELOG.md +++ b/packages/devtools/CHANGELOG.md @@ -1,5 +1,12 @@ # @typeonce/effect-machine-devtools +## 0.36.0 + +### Patch Changes + +- Updated dependencies [21fbf58] + - @typeonce/effect-machine@0.36.0 + ## 0.35.0 ### Minor Changes diff --git a/packages/devtools/package.json b/packages/devtools/package.json index 79529638..276b787d 100644 --- a/packages/devtools/package.json +++ b/packages/devtools/package.json @@ -1,6 +1,6 @@ { "name": "@typeonce/effect-machine-devtools", - "version": "0.35.0", + "version": "0.36.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 588ac085..c0bd4141 100644 --- a/packages/effect-machine-react/CHANGELOG.md +++ b/packages/effect-machine-react/CHANGELOG.md @@ -1,5 +1,12 @@ # @typeonce/effect-machine-react +## 0.36.0 + +### Patch Changes + +- Updated dependencies [21fbf58] + - @typeonce/effect-machine@0.36.0 + ## 0.35.0 ### Minor Changes diff --git a/packages/effect-machine-react/package.json b/packages/effect-machine-react/package.json index cbe1ab21..c1f14cdd 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.35.0", + "version": "0.36.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 d8af467b..1622be4e 100644 --- a/packages/effect-machine/CHANGELOG.md +++ b/packages/effect-machine/CHANGELOG.md @@ -1,5 +1,15 @@ # @typeonce/effect-machine +## 0.36.0 + +### Minor Changes + +- 21fbf58: Pass machine input directly to root initial constructors, including parallel regions, without retaining startup-only values in root data. A root transition uses `{ target: targets.root, input }` to reconstruct root and its initial children with fresh input; `reenter: true` restarts the root lifecycle when the handler is at root. Root updates continue to use `{ update: targets.root, data }` and retain active children. + + Use `target` instead of `initial` on event transitions. Named branch selectors now accept one construction object: `select.checkout({ data: cart, states: { Review: { data: review } } })`. Replace `.from(value)` with `({ data: value })`, `.decoded(value)` with `({ decoded: true, data: value })`, and chained owner updates with `update: { data: owner }` inside the same call. History fallbacks use `target({ states: ... })` with a complete tree containing their owner. + + Input remains limited to root construction and the root's initial callbacks. Nested initializers use state data and ancestors. Explicit subtree construction preserves source-local parallel retention, schema validation, and declared branch inspection. + ## 0.35.0 ### Minor Changes diff --git a/packages/effect-machine/package.json b/packages/effect-machine/package.json index 362b7fd7..a0121b62 100644 --- a/packages/effect-machine/package.json +++ b/packages/effect-machine/package.json @@ -1,6 +1,6 @@ { "name": "@typeonce/effect-machine", - "version": "0.35.0", + "version": "0.36.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 a8e6ec8f..bcbae27a 100644 --- a/packages/oxlint-plugin/CHANGELOG.md +++ b/packages/oxlint-plugin/CHANGELOG.md @@ -1,5 +1,7 @@ # @typeonce/oxlint-plugin-effect-machine +## 0.36.0 + ## 0.35.0 ### Minor Changes diff --git a/packages/oxlint-plugin/package.json b/packages/oxlint-plugin/package.json index 2ecffb06..86b00431 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.35.0", + "version": "0.36.0", "description": "Oxlint rules for Effect Machine models", "author": "Sandro Maglione", "repository": {