Skip to content

Version Packages - #204

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

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

Conversation

@github-actions

@github-actions github-actions Bot commented Aug 31, 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.32.0

Minor Changes

  • 1160040: Model each machine with one Machine.state root, passed to Machine.make({ root }). Root fields support data-only machines and shared data that survives child transitions. Replace the former top-level state map with a root descriptor, put child handlers under handle({ states }), and use initial for root values or initialConfiguration for a complete startup override. Add direct target construction, non-reentering self.update, and guards with ancestor fallback. Construct local event protocols from field records or import existing schemas with the explicit FromSchemas constructors.

    Render typed state paths with React MachineState and own isolated instances with createMachineContext(AtomMachine.factory(machine)). Providers capture startup input without subscribing to state. Replace Atom bridge .state reads with .result or path selectors; .snapshot retains runtime status. Core MachineRef.state remains available. Testing runs and probes accept public deferred event inputs and record decoded receipts.

    Encoded snapshots use version 2 and include the root at path ""; explicitly migrate older persisted snapshots before decoding. Replace removed Machine.Emit, Machine.Emits, Machine.EmitOf, and Machine.PseudoStateAnnotations aliases with EmittedEvent, EmittedEvents, EmittedEventOf, and SchemaLessStateAnnotations.

Patch Changes

  • 163be91: Align Machine.can types with its existing support for public and internal events. Querying an internal event does not make it sendable through MachineRef.send. Preserve interruption during snapshot encoding and decoding, validate reused event and emission values, and capture machine definitions independently of caller mutations.

    Make MachineTest.verify lazy and compare decoded values without lossy JSON serialization. Serialize concurrent devtools refreshes, stop watcher work with its server scope, and prevent lint rules from matching shadowed machine bindings.

  • f0ba15d: Keep charts available for machines that transition between compound states and nested children.

    Hierarchy routes now follow the vertical chart direction with stable source, terminal, label, and initial-marker clearance. This includes multi-branch fan-out and returns to a parent's initial configuration.

    Parent-origin cues now identify transitions from an ancestor into deeply nested descendants. Transitions owned by parallel states, including child-invocation outcomes, use short local corridors instead of long ELK detours across the container.

  • Updated dependencies [1160040]

  • Updated dependencies [163be91]

    • @typeonce/effect-machine@0.32.0

@typeonce/effect-machine@0.32.0

Minor Changes

  • 1160040: Model each machine with one Machine.state root, passed to Machine.make({ root }). Root fields support data-only machines and shared data that survives child transitions. Replace the former top-level state map with a root descriptor, put child handlers under handle({ states }), and use initial for root values or initialConfiguration for a complete startup override. Add direct target construction, non-reentering self.update, and guards with ancestor fallback. Construct local event protocols from field records or import existing schemas with the explicit FromSchemas constructors.

    Render typed state paths with React MachineState and own isolated instances with createMachineContext(AtomMachine.factory(machine)). Providers capture startup input without subscribing to state. Replace Atom bridge .state reads with .result or path selectors; .snapshot retains runtime status. Core MachineRef.state remains available. Testing runs and probes accept public deferred event inputs and record decoded receipts.

    Encoded snapshots use version 2 and include the root at path ""; explicitly migrate older persisted snapshots before decoding. Replace removed Machine.Emit, Machine.Emits, Machine.EmitOf, and Machine.PseudoStateAnnotations aliases with EmittedEvent, EmittedEvents, EmittedEventOf, and SchemaLessStateAnnotations.

Patch Changes

  • 163be91: Align Machine.can types with its existing support for public and internal events. Querying an internal event does not make it sendable through MachineRef.send. Preserve interruption during snapshot encoding and decoding, validate reused event and emission values, and capture machine definitions independently of caller mutations.

    Make MachineTest.verify lazy and compare decoded values without lossy JSON serialization. Serialize concurrent devtools refreshes, stop watcher work with its server scope, and prevent lint rules from matching shadowed machine bindings.

@typeonce/effect-machine-react@0.32.0

Minor Changes

  • 1160040: Model each machine with one Machine.state root, passed to Machine.make({ root }). Root fields support data-only machines and shared data that survives child transitions. Replace the former top-level state map with a root descriptor, put child handlers under handle({ states }), and use initial for root values or initialConfiguration for a complete startup override. Add direct target construction, non-reentering self.update, and guards with ancestor fallback. Construct local event protocols from field records or import existing schemas with the explicit FromSchemas constructors.

    Render typed state paths with React MachineState and own isolated instances with createMachineContext(AtomMachine.factory(machine)). Providers capture startup input without subscribing to state. Replace Atom bridge .state reads with .result or path selectors; .snapshot retains runtime status. Core MachineRef.state remains available. Testing runs and probes accept public deferred event inputs and record decoded receipts.

    Encoded snapshots use version 2 and include the root at path ""; explicitly migrate older persisted snapshots before decoding. Replace removed Machine.Emit, Machine.Emits, Machine.EmitOf, and Machine.PseudoStateAnnotations aliases with EmittedEvent, EmittedEvents, EmittedEventOf, and SchemaLessStateAnnotations.

Patch Changes

  • Updated dependencies [1160040]
  • Updated dependencies [163be91]
    • @typeonce/effect-machine@0.32.0

@typeonce/oxlint-plugin-effect-machine@0.32.0

Minor Changes

  • 1160040: Model each machine with one Machine.state root, passed to Machine.make({ root }). Root fields support data-only machines and shared data that survives child transitions. Replace the former top-level state map with a root descriptor, put child handlers under handle({ states }), and use initial for root values or initialConfiguration for a complete startup override. Add direct target construction, non-reentering self.update, and guards with ancestor fallback. Construct local event protocols from field records or import existing schemas with the explicit FromSchemas constructors.

    Render typed state paths with React MachineState and own isolated instances with createMachineContext(AtomMachine.factory(machine)). Providers capture startup input without subscribing to state. Replace Atom bridge .state reads with .result or path selectors; .snapshot retains runtime status. Core MachineRef.state remains available. Testing runs and probes accept public deferred event inputs and record decoded receipts.

    Encoded snapshots use version 2 and include the root at path ""; explicitly migrate older persisted snapshots before decoding. Replace removed Machine.Emit, Machine.Emits, Machine.EmitOf, and Machine.PseudoStateAnnotations aliases with EmittedEvent, EmittedEvents, EmittedEventOf, and SchemaLessStateAnnotations.

Patch Changes

  • 163be91: Align Machine.can types with its existing support for public and internal events. Querying an internal event does not make it sendable through MachineRef.send. Preserve interruption during snapshot encoding and decoding, validate reused event and emission values, and capture machine definitions independently of caller mutations.

    Make MachineTest.verify lazy and compare decoded values without lossy JSON serialization. Serialize concurrent devtools refreshes, stop watcher work with its server scope, and prevent lint rules from matching shadowed machine bindings.

@github-actions
github-actions Bot force-pushed the changeset-release/main branch from fd8b9f0 to 6d6f1a6 Compare September 6, 2026 10:02
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from 6d6f1a6 to 306050d Compare September 6, 2026 12:48
@SandroMaglione
SandroMaglione merged commit 4685868 into main Sep 6, 2026
8 checks passed
@SandroMaglione
SandroMaglione deleted the changeset-release/main branch September 6, 2026 13:58
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