Skip to content

Version Packages (beta)#4534

Merged
davidkpiano merged 1 commit intonextfrom
changeset-release/next
Nov 30, 2023
Merged

Version Packages (beta)#4534
davidkpiano merged 1 commit intonextfrom
changeset-release/next

Conversation

@github-actions
Copy link
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 next, this PR will be updated.

⚠️⚠️⚠️⚠️⚠️⚠️

next is currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, run changeset pre exit on next.

⚠️⚠️⚠️⚠️⚠️⚠️

Releases

xstate@5.0.0-beta.53

Minor Changes

  • #4533 2495aa21d Thanks @Andarist! - The state option of createActor(...) has been renamed to snapshot:

    createActor(machine, {
    - state: someState
    + snapshot: someState
    })

    Likewise, the .getPersistedState() method has been renamed to .getPersistedSnapshot():

    -actor.getPersistedState()
    +actor.getPersistedSnapshot()

@codesandbox-ci
Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit e77b20e:

Sandbox Source
XState Example Template Configuration
XState React Template Configuration

@davidkpiano davidkpiano merged commit e85ee76 into next Nov 30, 2023
@davidkpiano davidkpiano deleted the changeset-release/next branch November 30, 2023 19:01
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