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

Bump svelte version to include svelte 5 #5131

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

lendle
Copy link

@lendle lendle commented Nov 28, 2024

Svelte 5 is "almost" entirely backwards compatible with svelte 4. Breaking changes can be found here.

@xstate/svelte only uses onDestroy, readable, and Readable from svelte, which are backwards compatible.

Copy link

changeset-bot bot commented Nov 28, 2024

🦋 Changeset detected

Latest commit: 7b4082d

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@xstate/svelte Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@lendle
Copy link
Author

lendle commented Nov 28, 2024

There are some failing svelte related tests, but I think this is coincidental, they're also failing in main. I created the branch from the last working commit on main (65088b6) and it works locally. So I think the ci build will succeed once main is fixed.

@Andarist
Copy link
Member

Would you be willing to help out with fixing those tests on main?

@lendle
Copy link
Author

lendle commented Nov 28, 2024

Wish I could! I just tried a handful of things but no luck. I don't know anything about jest or babel so don't really know how to debug.

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.

2 participants