SveltePackage 3 is right here

Version 3.0 of SveltePackage, the official software framework for Svelte, is now out there.
If you’ve used earlier variations of SveltePackage, every thing will really feel very acquainted — it’s the identical framework with somewhat extra polish, somewhat extra kind security, and rather less junk. We’ve made migration as seamless as we are able to with the sv migrate command…
npx sv migrate sveltekit-3 --duties all --affirm
…which can mechanically migrate as a lot of your codebase as potential, and generate a TODO listing for every thing else. (If you’re agentically inclined, your robotic associates will make brief work of it.)
To create a new app, run sv create:
As with any main model bump there are a handful of breaking modifications to pay attention to, that are coated within the migration guide (or, extra briefly, within the current release candidate announcement).
Quick highlights:
- configuration now lives in
vite.config.tsas a substitute ofsvelte.config.js - the
$libalias is now#lib, making use of normal subpath imports - environment variables are extra highly effective and simpler to make use of
- service workers are much less boilerplatey
- error dealing with is improved throughout the board
Are distant capabilities prepared but?
Not quite. But it’s our top priority!
Remote functions are a set of utilities for safe, environment friendly, type-safe client-server communication. You’ve probably seen some model of this concept in different frameworks, however we expect you’re going to desire this one.
Using them requires Async Svelte, which for now requires an experimental flag. Bear with us.
Join us in Ljubljana subsequent month
This is as good a place as any to remind everyone that the next in-person Svelte Summit is happening on November 19-20 within the beautiful city of Ljubljana, Slovenia. Among different issues it is going to be a celebration of Svelte’s tenth birthday, and we’d like to share some cake with you.
