Skip to main content

# Svelte 5 Release Candidate

We’re almost there

The Svelte team Apr 30 2024

Svelte 5 is now in the Release Candidate phase. This means that the design of the framework is largely settled, with no anticipated breaking changes between now and the stable release, and that the most egregious bugs have been stomped.

It doesn't mean that it's ready for production, or that nothing will change between now and 5.0. But if you've held off on dabbling with Svelte 5 during the public beta phase, now is a great time to try it out. You can select the 'Try the Svelte 5 preview' option when starting a new SvelteKit project...

    npm create svelte@latest

...or you can add Svelte 5 to an existing project...

    npm install --save-dev svelte@next

...or you can tinker in the Svelte 5 Preview website.

## I'm out of the loop. What's Svelte 5?

For the last several months, we've been hard at work rewriting Svelte from the ground up to be faster, easier to use and more robust, applying the lessons we've collectively learned from several years of building apps with Svelte.

You can learn more about the new features from the preview documentation, and by watching the presentation from the most recent Svelte Summit:

What You Can Do For Your Framework

The highlights include:

- runes, the new signal-powered reactivity API that sits at the heart of Svelte 5 and unlocks universal, fine-grained reactivity
- overhauled event handling with less boilerplate and more flexibility
- better component composition through snippets
- native TypeScript support, including inside your markup

## Will I need to rewrite everything?

Components written for Svelte 4 will continue to work with Svelte 5, with a handful of exceptions. If you install Svelte 5 in an existing app, the only real change should be that things get faster. If you maintain a Svelte app, we recommend updating to Svelte 5 as soon as it's stable. (In the meantime, if you're currently on Svelte 3 then you should update to Svelte 4.)

Eventually — in Svelte 6 or 7 — support for certain Svelte 4 features will be dropped in favour of their modern replacements. Because of that, we do encourage you to incrementally migrate your components (you can mix and match old and new components in the same app). We'll release a command line tool for automating much of this migration, and you can try an experimental version of that tool in the playground by pasting in some Svelte 4 code and clicking the 'migrate' button.

## When is the stable release?

When it's done, and we've updated all the documentation. Bear with us!