Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xstate v5 support #53

Merged
merged 1 commit into from
Jan 9, 2024
Merged

xstate v5 support #53

merged 1 commit into from
Jan 9, 2024

Conversation

UberMouse
Copy link
Collaborator

@UberMouse UberMouse commented Jan 8, 2024

Upgrades xstate-tree to support xstate v5

This comes with a handful of breaking changes

  • v1 style builders have been removed (buildView etc)
  • Invoked/spawned children that reach their final state are no longer removed from views, they must be manually stopped with stopChild
  • Typescript v5+ is now required

@UberMouse UberMouse changed the base branch from master to beta January 8, 2024 20:05
@UberMouse UberMouse changed the base branch from beta to next January 9, 2024 20:15
@UberMouse UberMouse force-pushed the xstate-v5 branch 3 times, most recently from 314e71c to 036f362 Compare January 9, 2024 22:33
Updates xstate-tree to be compatible with xstate v5

Closes #58

BREAKING CHANGES: v1 style builders (buildView etc) have been removed, along with a handful of testing utilities and a behavioural change with children and final states. They will no longer be automatically from views and instead must be manually stopped using `stopChild`
@UberMouse UberMouse marked this pull request as ready for review January 9, 2024 22:38
@UberMouse UberMouse merged commit 86c7e31 into next Jan 9, 2024
1 check passed
Copy link

github-actions bot commented Jan 9, 2024

🎉 This PR is included in version 4.4.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Copy link

🎉 This PR is included in version 5.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Copy link

🎉 This PR is included in version 5.1.0-next.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant