Add Svelte 5 support
ghostdevv opened this issue ยท 7 comments
Looks like all that is needed is to add it to the peer deps range but need to verify
Hi @ghostdevv ,thank you for this great implementation of Turnstile for Sveltekit. How is Svelte 5 support coming along. Thanks for any updates! :)
Svelte 5 just came out today.
Working on this now ๐
Working on this now ๐
@ghostdevv any news?
Thanks! Now I can remove --force from everything!
This has been released in v0.9.0! I opted to go with using the Svelte 4 compatibility mode rather than making a Svelte 5 only version. In the future I will do a Svelte 5 only version, which will be a breaking change - but I'll give everyone some time to update to Svelte 5. The compatibility mode works fine here, and it'll mean I won't need to try and maintain two versions of the library to ensure everyone is getting the new features. I tested this both in Svelte 4 & 5 and it seemed to work fine, but let me know if there are any issues!
This has been released in
v0.9.0! I opted to go with using the Svelte 4 compatibility mode rather than making a Svelte 5 only version. In the future I will do a Svelte 5 only version, which will be a breaking change - but I'll give everyone some time to update to Svelte 5. The compatibility mode works fine here, and it'll mean I won't need to try and maintain two versions of the library to ensure everyone is getting the new features. I tested this both in Svelte 4 & 5 and it seemed to work fine, but let me know if there are any issues!
greate job chief