Skip to content

Version Packages - #210

Merged
SandroMaglione merged 1 commit into
mainfrom
changeset-release/main
Sep 9, 2026
Merged

Version Packages#210
SandroMaglione merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

@github-actions github-actions Bot commented Sep 6, 2026

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@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

@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.

@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

@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.

@github-actions
github-actions Bot force-pushed the changeset-release/main branch from 7b8070c to 99d7f09 Compare September 9, 2026 12:28
@SandroMaglione
SandroMaglione merged commit c258c14 into main Sep 9, 2026
8 checks passed
@SandroMaglione
SandroMaglione deleted the changeset-release/main branch September 9, 2026 12:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant