hn.today

SvelteKit 3 Is Here

svelte.dev389 points166 comments
Screenshot of SvelteKit 3 Is Here

SvelteKit 3 is released as an incremental, more polished version of the official Svelte application framework, focused on improved type safety, reduced boilerplate, and easier migrations. Upgrading is supported by a CLI migration tool that attempts automatic fixes and generates a TODO list for remaining changes, and a separate create command scaffolds new projects. Notable breaking changes include moving configuration into Vite’s config file, replacing the $lib import alias with a standard #lib subpath, more powerful and easier-to-use environment variables, reduced service-worker boilerplate, and broadly improved error handling.

A major feature - remote functions for secure, type-safe client-server calls - is not yet finalized but is the top priority; they depend on Async Svelte and currently require an experimental flag. The release announcement also highlights community plans, including an in-person Svelte Summit in Ljubljana on November 19-20 to celebrate Svelte’s 10th birthday. The overall message: a familiar framework with practical refinements, a supported migration path, and further innovations coming soon.

Read on svelte.dev166 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in Web

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.