Skip to content

Version Packages - #245

Merged
SandroMaglione merged 1 commit into
mainfrom
changeset-release/main
Oct 23, 2026
Merged

SandroMaglione merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

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-react@0.44.0

Minor Changes

  • 401fee7: createMachineContext factories now take one options object instead of positional parameters. Each option the factory declares, input or layer, is a Provider prop of the same name and type, so a machine that needs only a capability layer no longer declares a placeholder input. Options other than input and layer are rejected.

    A factory for a machine without input can still be passed directly, as in createMachineContext(AtomMachine.factory(Machine)). Factories that take input or a layer destructure them:

    const Profile = createMachineContext(({ input }: { input: ProfileInput }) => AtomMachine.make(ProfileMachine, input))
    
    const Onboarding = createMachineContext(({ layer }: { layer: Layer.Layer<Navigation> }) =>
      AtomMachine.bind(Atom.runtime(Layer.provideMerge(layer, AppLayer))).make(OnboardingMachine)
    )
    
    <Onboarding.Provider layer={navigationLayer(router)} />

Patch Changes

  • @typeonce/effect-machine@0.44.0

@typeonce/effect-machine-devtools@0.44.0

Patch Changes

  • @typeonce/effect-machine@0.44.0

@typeonce/effect-machine@0.44.0

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

@SandroMaglione
SandroMaglione merged commit 1ef52aa into main Oct 23, 2026
9 checks passed
@SandroMaglione
SandroMaglione deleted the changeset-release/main branch October 23, 2026 00:20
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