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

V2: Upgrade to Svelte 5 #1971

Merged
merged 4 commits into from
Nov 1, 2024
Merged

V2: Upgrade to Svelte 5 #1971

merged 4 commits into from
Nov 1, 2024

Conversation

timostamm
Copy link
Member

@timostamm timostamm commented Oct 30, 2024

Svelte 5 has significantly improved support for SSR:

  • universal load functions can record fetch responses with binary data now, not just JSON.
  • server load functions use devalue to serialize, which supports BigInt, Infinity, NaN, and Uint8Array

This PR re-creates the project with npx sv create. It's currently missing:

I'm noticing strange type errors with generated descriptors in a JetBrains IDE, but npm run check is clean. I don't see this issue in VSCode.

timostamm and others added 3 commits October 31, 2024 16:06
Signed-off-by: Timo Stamm <ts@timostamm.de>
Signed-off-by: Steve Ayers <sayers@buf.build>
Signed-off-by: Steve Ayers <sayers@buf.build>
Connect.

Signed-off-by: Steve Ayers <sayers@buf.build>
@smaye81
Copy link
Member

smaye81 commented Oct 31, 2024

@timostamm finished off the remaining tasks in 80fbf97

Signed-off-by: Timo Stamm <ts@timostamm.de>
@timostamm timostamm merged commit 5f748fd into v2 Nov 1, 2024
6 checks passed
@timostamm timostamm deleted the tstamm/svelte5 branch November 1, 2024 10:42
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