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

Svelte 5 #117

Open
boylett opened this issue Aug 20, 2024 · 5 comments
Open

Svelte 5 #117

boylett opened this issue Aug 20, 2024 · 5 comments
Labels
enhancement New feature or request

Comments

@boylett
Copy link

boylett commented Aug 20, 2024

Are there plans for Svelte 5 support? :)

@BearToCode
Copy link
Owner

Hi! I've not tried Svelte 5 yet. I think it was supposed to be backward compatible(?)

@tvanriper
Copy link

Yes and no. They do have some breaking changes that they can't get around, although I haven't seen those impact this library (yet). They also need library authors to create a separate branch for Svelte 5 changes, particularly since eventually the changes will become breaking.

It'll be advantageous to move to Svelte 5 as it addresses some shortcomings for the environment, although some people find it controversial, I suppose ("Oh no! It's become ReactJS!").

Currently, I am trying to use this library with Svelte 5, and while it works, I'm constantly having to apply --force or --legacy-peer-deps to work with my project.

FWIW, this site might clarify some things, now that Svelte 5 has reached release candidate phases.

@BearToCode BearToCode added the enhancement New feature or request label Oct 9, 2024
@BearToCode
Copy link
Owner

I checked out the resources you provided and then added svelte ^5.0.0 to the package.json of almost all packages. Only the component plugin requires some changes and a new version would need to be published.

Feel free to answer here or open new issues for anything going wrong in the new Svelte version!

@mithi
Copy link

mithi commented Oct 26, 2024

@BearToCode hi! Long time no see 🤗
Svelte 5 is officially alive! 🥳 https://svelte.dev/blog/svelte-5-is-alive

@katriellucas
Copy link

katriellucas commented Nov 3, 2024

I also want to add that by using the new CLI command sv migrate, upgrading to Svelte 5 might be painless. The migration guide gives you an overview of the changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants