Skip to content

Version Packages - #154

Merged
SandroMaglione merged 1 commit into
mainfrom
changeset-release/main
Aug 20, 2026
Merged

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

Conversation

@github-actions

@github-actions github-actions Bot commented Aug 19, 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@0.19.0

Minor Changes

  • b1a1f75: Make Machine.encodeSnapshot return a canonical JSON representation or fail
    with MachineSchemaEncodeError. Encoded state values, completion outputs, and
    history values are now typed as Schema.Json; rich schema values use their
    canonical JSON codecs, while cycles and other non-JSON values fail at the
    machine boundary instead of causing a later serialization crash.
    Declared Schema.Void and Schema.Undefined completion outputs now use their
    canonical null encoding; an omitted output is reserved for final states that
    do not declare an output schema.

    ClusterMachine.make now requires JSON-encoded state, completion-output, and
    public input-event schemas. Keep process-local capabilities in services,
    adapters, or internal events, and give transported values an explicit JSON
    codec. Cluster snapshot encoding failures are reported as
    SnapshotEncodeFailure without advancing the checkpoint.

    MachineTest.observedGraph continues to support process-local state. Its node
    encoded field is now optional: portable snapshots retain their canonical JSON
    form, while non-portable snapshots use local structural identity and omit it.
    Snapshot encoding failures no longer appear in the operation's error channel.

Patch Changes

  • 928017e: Upgrade the exact Effect peer dependency and companion Effect packages to 4.0.0-rc.110.

  • f4f9bdf: Document the nested configuration and callback APIs used by Machine.states, event protocols, Machine.make, Definition.handle, execution, transitions, and state invocation.

    The documentation site now presents those core authoring APIs on a standalone guide-reference page while keeping module pages focused on public exports. Parameters remain grouped under their point of use with searchable signatures, lifecycle contexts, target semantics, defaults, source links, focused examples, and a complete nested page outline. Redundant configuration headings are omitted, and each parameter is presented as a named API block with its signature, description, and attached source link. Long signatures stay contained within their documentation blocks across responsive layouts.

@github-actions
github-actions Bot force-pushed the changeset-release/main branch from 6bb6d4b to f3389d9 Compare August 20, 2026 03:49
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from f3389d9 to 6ebb14b Compare August 20, 2026 09:04
@SandroMaglione
SandroMaglione merged commit 2e4d7c0 into main Aug 20, 2026
13 checks passed
@SandroMaglione
SandroMaglione deleted the changeset-release/main branch August 20, 2026 14:59
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