Skip to content

Version Packages - #149

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

Version Packages#149
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.18.0

Minor Changes

  • 9e54de3: Add consumer-facing state and startup-input extractors. Machine.Snapshot, Machine.Value, and Machine.SnapshotAt accept either the object returned by Machine.states or a machine definition, while preserving exact path validation and excluding control-only paths from Value.

    Machine.Machine.Input<M> now extracts the decoded startup value and is never when the machine uses Schema.Void. Code that needs the startup schema should migrate from Machine.Machine.Input<M> to Machine.Machine.InputSchema<M>; code that previously used Machine.Machine.Input<M>["Type"] can use Machine.Machine.Input<M> directly.

  • d6d19c1: Replace Machine.invoke and its object-configuration helper types with state-local fluent invocation chains. Select an Effect, Stream, timer, process logic, or child from the handler's from parameter, then handle every reachable lifecycle channel before returning the chain:

    machine.handle({
      Loading: {
        invoke: (from) =>
          from
            .effect("load", () => loadUser())
            .onDone((to) => to.full.Ready())
            .onFailure((to) => to.full.Failed())
      }
    })

    Return an array of completed chains for multiple activities. Sources and child descriptors remain reusable, while keeping the invocation declaration local preserves exact owner-state, event, parent, output, failure, element, snapshot, and service inference.

@github-actions
github-actions Bot force-pushed the changeset-release/main branch from d0ee2a4 to 3e756cf Compare August 19, 2026 14:05
@SandroMaglione
SandroMaglione force-pushed the changeset-release/main branch from 3e756cf to 8ecb760 Compare August 19, 2026 14:13
@SandroMaglione
SandroMaglione merged commit a4c831e into main Aug 19, 2026
13 checks passed
@SandroMaglione
SandroMaglione deleted the changeset-release/main branch August 19, 2026 14:16
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