Zum Inhalt springen

Svelte Updates & Release Notes

Einträge
109
Quellen
1
Zuletzt aktualisiert

Folge Svelte, um die Release Notes in deinen Feed zu holen.

Svelte

What’s new in Svelte: December and November 2026

I was busy and totally forgot to write November’s newsletter! But don’t you worry... This month’s post will cover two months’ worth of updates 😎 The biggest news came out of Svelte Summit in Ljubljana, where the community celebrated Svelte’s 10th birthday. Rich wrote up the highlights in Celebrating ten years of Svelte - check it out for a cruise through custom renderers, async Svelte, the new DevTools, rsvelte, Storybook and mdsvex 1.0.

Below you’ll find everything that shipped since SvelteKit 3: an experimental custom renderer API, a new Bun adapter, a big Cloudflare adapter update and Svelte DevTools as an official sv add-on.

There’s two months worth of community showcase too... so let’s get to it!

What’s new in Svelte

  • Dev-time component metadata now includes snippet names and the component instance an element was rendered in, so Svelte devtools can track them (5.58.0, #19283, #19286) …

Originalquelle(öffnet in neuem Tab)Problem melden

Svelte

Celebrating ten years of Svelte

It started with a commit — specifically, this one. Ten years later, we’re far from done; software never is. But we’ve come an awful long way. Last week the community gathered in Ljubljana, at the third in-person Svelte Summit, to mark the anniversary.

A white rectangular cake with a Svelte logo and the words '10th Anniversary'

One of several cakes that were eaten at the conference

To be completely honest, I expected the atmosphere to be a little subdued. Being enthusiastic about front end frameworks feels somewhat passé in the era of agentic coding and software factories, so a conference dedicated to one of the more boutique ones could easily have felt like a bit of a throwback.

But I was wrong. The energy was fantastic. We had two days of lively conversation and unbelievable demos in one of Europe’s most beautiful cities, with a slew of announcements that we’ll follow up on in more detail soon:

  • Custom renderers are now supported behind an experimental flag, allowing you to use Svelte to build native apps and terminal UIs and PDFs and just about anything else you can imagine.
  • Async Svelte is making real progress towards production readiness. …

Originalquelle(öffnet in neuem Tab)Problem melden

Svelte

SvelteKit 3 ist da

SvelteKit 3 ist mit SvelteKit 3 veröffentlicht, inklusive Adapter-API-Updates und Zero-Config-Deploys zu Render; sv erreicht Version 1.0 und macht das Community-Add-on-API offiziell.

SvelteKit 3 is here! Check out the announcement post for the highlights, then run sv migrate to handle most of the upgrade for you. sv itself hit 1.0 on the same day, making the community add-on API official. Below you’ll find the last round of changes that landed before 3.0 - adapter API updates, zero-config deploys to Render and a few final breaking changes.

Svelte Summit is also back for Svelte’s 10th birthday! It’s happening in Ljubljana on November 19-20 with talks from Rich Harris, Elliott Johnson, Paolo Ricciuti, Stanislav Khromov, pngwn and more. In-person and virtual tickets are available at sveltesummit.com.

Svelte itself had a quiet month - 5.57.1 is all bug fixes and parser performance work. Per usual, there’s still plenty in the showcase... so let’s dive in!

What’s new in SvelteKit 3

  • Adapters now receive the Svelte config as a function argument when adding Vite plugins (3.0.0-next.27, #16986)
  • Adapters can override getRequest and setResponse during vite dev and vite preview, so local requests behave more like the target platform (3.0.0-next.27, Docs, #16753) …

Originalquelle(öffnet in neuem Tab)Problem melden

Svelte

SvelteKit 3 ist veröffentlicht

SvelteKit 3.0 ist verfügbar und bringt unter anderem die Konfiguration in vite.config.ts, den Alias #lib statt $lib, leistungsfähigere Umgebungsvariablen, schlankere Service Worker und besseres Error Handling, wobei sv migrate die Migration weitgehend automatisiert.

Version 3.0 of SvelteKit, the official application framework for Svelte, is now available.

If you’ve used earlier versions of SvelteKit, everything will feel very familiar — it’s the same framework with a little more polish, a little more type safety, and a little less junk. We’ve made migration as seamless as we can with the sv migrate command...

npx sv migrate sveltekit-3 --tasks all --confirm

...which will automatically migrate as much of your codebase as possible, and generate a TODO list for everything else. (If you’re agentically inclined, your robot friends will make short work of it.)

To create a new app, run sv create:

npx sv create my-new-app

As with any major version bump there are a handful of breaking changes to be aware of, which are covered in the migration guide (or, more briefly, in the recent release candidate announcement).

Quick highlights:

  • configuration now lives in vite.config.ts instead of svelte.config.js
  • the $lib alias is now #lib, making use of standard subpath imports
  • environment variables are more powerful and easier to use
  • service workers are less boilerplatey
  • error handling is improved across the board …

Originalquelle(öffnet in neuem Tab)Problem melden

Svelte

Neue Funktionen in Svelte 5.57

Svelte 5.57 fügt SvelteMap-Methoden, eine has-Funktion in createContext, defaultValue für <select> und neue serverbezogene Typen hinzu; SvelteKit 3 erreicht den Release-Kandidaten.

This month, Svelte 5.57 shipped with new SvelteMap methods and a few quality-of-life additions while SvelteKit 3 got closer to the finish line with its Release Candidate.

The sv CLI also got a new ai-tools add-on that replaces the old mcp one, and sv@next now ships a task-based sveltekit-3 migration for existing apps.

Let’s dive a bit deeper!

What’s new in Svelte

  • SvelteMap now has getOrInsert and getOrInsertComputed methods for the common “read or initialize” pattern (5.57.0, Docs, #18728)
  • createContext now returns a third has function so you can check whether a context has been set without triggering the get error (5.57.0, Docs, #18472)
  • <select> now supports the defaultValue attribute, so the select reverts to that value on form reset (5.57.0, #18591)
  • svelte/server now exports the RenderOutput, SyncRenderOutput, Csp and Sha256Source types for typing server render output and CSP sources (5.57.0, #18648)

For the full list of patches and bug fixes, see the Svelte CHANGELOG. …

Originalquelle(öffnet in neuem Tab)Problem melden

Svelte

SvelteKit 3 Release Candidate ist da

SvelteKit 3 befindet sich im Release-Candidate-Stadium mit einigen Breaking Changes gegenüber SvelteKit 2, und bestehende Apps lassen sich mit npx sv@next migrate sveltekit-3 weitgehend automatisch migrieren.

SvelteKit 3 is now in the Release Candidate phase. If all goes well — meaning that people like you try it out and find that it works as expected — we will follow it up with a stable release in the near future, with no further breaking changes.

But there are some breaking changes since SvelteKit 2. We’re taking advantage of this release to prune some of the weeds in the codebase and lay the groundwork for SvelteKit’s continued evolution, more on which below.

To migrate an existing app, you can use the next version of sv migrate:

npx sv@next migrate sveltekit-3 --tasks all --confirm

This will automatically migrate as much of your code as possible. For everything else, it will generate a TODO list for you (or your clanker of choice) to work through. Wherever possible, SvelteKit will print useful diagnostic warnings and errors if you try to run code that hasn’t yet been updated.

To create a new app, run sv create:

npx sv@next create my-new-app

What’s changed?

For the full list of changes, consult the migration guide over on next.svelte.dev which is where the SvelteKit 3 documentation will live until the stable release. Most changes are fairly minor, but a few are worth calling out: …

Originalquelle(öffnet in neuem Tab)Problem melden

Svelte

Erste SvelteKit 3 Preview

Die ersten Preview-Versionen von SvelteKit 3 sind erschienen, unter anderem mit neuen Modulen, verbesserter Service-Worker-Unterstützung und Shallow Routing; Svelte Summit findet am 18. und 19. November statt.

The biggest news this month is the first @next releases of SvelteKit 3. Thirteen preview versions shipped in July: previewing new $app/manifest and $app/service-worker modules, improved API availability and type checking in service workers, tracing out of the experimental namespace, shallow routing baked into goto and a lot more. It’s a prerelease, but it’s worth trying out to see what’s coming to SvelteKit!

Alongside the preview releases, the stable line kept moving with submitted on remote forms and a new home for defineEnvVars. The language tools also picked up zero-config +error.svelte props so error pages get their page and error types with no extra setup.

And, in case you missed it, Svelte Summit Ljubljana 2026 is happening November 19-20, with a workshop day on November 18, the day before the summit. Save the date!

What’s new in SvelteKit

  • Remote forms now expose a submitted property so you can react to the moment a form is submitted without waiting for the response (2.69.0, Docs, #14811)
  • defineEnvVars has moved from @sveltejs/kit to @sveltejs/kit/env so environment helpers live in a dedicated subpath (2.70.0, Docs, #16378)

SvelteKit 3 preview …

Originalquelle(öffnet in neuem Tab)Problem melden

Svelte

SvelteKit-Konfiguration in vite.config.js

SvelteKit-Konfiguration kann nun direkt in vite.config.js definiert werden, außerdem gibt es eine experimentelle Unterstützung für explizite Umgebungsvariablen; neue {const ...}-Tags werden von den Sprachwerkzeugen unterstützt.

This month brought a real shift in how SvelteKit projects are configured. You can now define your SvelteKit config directly inside vite.config.js and skip svelte.config.js entirely. We also got the first preview of explicit environment variables, which will eventually replace $env/* modules in SvelteKit 3.

On top of that, the language tools and the sv CLI both caught up with Svelte’s new {const ...} declaration tags, so the whole toolchain is now in sync.

Let’s dive in!

What’s new in SvelteKit

  • You can now pass your SvelteKit config directly to the Vite plugin, so a separate svelte.config.js is no longer required, as a preview of how Kit 3 will require config to live in vite.config.js (2.62.0, Docs, #15944)
  • Experimental explicit environment variables let you declare and type your env vars in one place, as a preview of how $env/* will work in SvelteKit 3 (2.63.0, Docs, #15934)
  • Remote function commands can now receive File objects directly, so you can upload files without manually wrapping them in FormData (2.64.0, Docs, #15978) …

Originalquelle(öffnet in neuem Tab)Problem melden

Svelte

Verbesserungen bei Formularen und Remote-Funktionen

Formulare und Remote-Funktionen in SvelteKit wurden verbessert: submit gibt einen Boolean zurück, eine neue .live(...)-Abfragefunktion und unterstützte Felder für Booleans sind hinzugekommen, mit einigen Breaking Changes.

This month we got a bunch of improvements in SvelteKit’s forms and remote functions. Plus, a new query function (.live(...)) that makes accessing real-time data from the server easier.

Keep an eye out for a few breaking changes in remote functions, if you’re using those. Otherwise, enjoy all the new SvelteKit features and bug fixes in the latest versions of Svelte.

Let’s dive in!

What’s new in SvelteKit

  • Form submit now returns a boolean to indicate submission validity for enhanced remote forms (2.57.0, Docs, #15530)
  • Breaking: requested(...) now requires limit and yields { arg, query } entries instead of returning the validated argument directly (2.58.0, Docs, #15739)
  • requested(...) now supports query.batch(...), which makes batch remote query workflows easier to inspect in request-time logic (2.59.0, Docs, #15751)
  • submit and hidden remote form fields can now accept booleans and numbers directly (2.60.0, Docs, #15802) …

Originalquelle(öffnet in neuem Tab)Problem melden

Svelte

SvelteKit unterstützt TypeScript 6.0

SvelteKit 2.56.0 unterstützt TypeScript 6.0, Formularfelder können Standardwerte über field.as(type, value) festlegen, der Transport nutzt hydratable für reichere Datentypen, und Remote-Funktionen haben Breaking Changes.

This month we got a ton of improvements to SvelteKit’s remote functions, TypeScript 6.0 support and the experimental release of community plugins in the Svelte CLI.

Svelte was also featured in ThoughtWorks Technology Radar!

Big month, bigger showcase... so let’s dive in!

What’s new in SvelteKit

  • SvelteKit now supports TypeScript 6.0 (2.56.0, Docs, #15595)
  • form fields can now specify a default value using field.as(type, value), reducing boilerplate for pre-populated forms (2.56.0, Docs, #15577)
  • Remote function transport now uses hydratable, enabling richer data types in query results (2.56.0, #15533)
  • Form submit now returns a boolean to indicate submission validity for enhanced form remote functions (2.57.0, Docs, #15530)
  • Remote Function Breaking Changes (2.56.0)
    • Client-requested query refreshes must obtain permission from the server (#15562) …

Originalquelle(öffnet in neuem Tab)Problem melden

Svelte

Best Practices Leitfaden und MCP-Verbesserungen

Im April wurde ein neuer Best-Practices-Leitfaden ergänzt, die OpenCode-Konfiguration in sv verbessert, svelte.config.js enthält nun Funktionen für Optionen und neue Typen in svelte/motion wurden exportiert.

This month, a new best practices guide was added to the Svelte docs. Check it out, if you haven’t already!

On the code side, the Svelte MCP got even easier to use with improvements to the official OpenCode package. Combined with the improvements to svelte.config.js, server-side error boundaries in SvelteKit and better types all around, this month is full of great improvements!

As always, there’s plenty in the showcase too!

What’s new in Svelte and SvelteKit

  • MCP: Svelte’s OpenCode config can now be found in sv’s .opencode/ folder - including the generated svelte.json plugin config (sv@0.12.6, Docs, #977)
  • svelte.config.js now contains functions for setting certain options (css, runes, customElement) so that there’s a single source of truth for everything that needs to interact with Svelte config (svelte@5.54.0, Docs, #17951)
  • svelte/motion now exports TweenOptions, SpringOptions, SpringUpdateOptions and Updater - these types cover the public method signatures of spring and tweened (svelte@5.55.0, Docs, #17967) …

Originalquelle(öffnet in neuem Tab)Problem melden

Svelte

Neuigkeiten aus März 2026

Svelte 5.50 unterstützt createContext bei programmatischer Komponentenerstellung, {@html} akzeptiert jetzt TrustedHTML, Kommentare in HTML-Tags, Server-Fehler-Grenzen und CSP in hydratable für SvelteKit.

This month, we got a ton of new features across Svelte, SvelteKit and even the Svelte CLI. Plus, the State of JS 2025 is out and Svelte continues to hold the top spot among reactive frameworks in terms of positive sentiment.

So, without further ado, let’s dive in!

What’s new in Svelte

For a full list of changes - including all the important bugfixes that went into the releases this month - check out the Svelte compiler’s CHANGELOG

What’s new in SvelteKit

Originalquelle(öffnet in neuem Tab)Problem melden

Svelte

Neue Features und Sicherheitspatches im Februar

Svelte 5.47 ermöglicht anpassbare <select>-Elemente, exportiert den CSS-Parser als parseCss, fügt ShadowRootInit für Custom Elements hinzu; Sicherheitspatches für 5 Schwachstellen wurden veröffentlicht.

This month brings a few new features to Svelte and SvelteKit and quite a few new libraries from around the community.

Also, in case you missed it last month, the Svelte maintainers released patches for 5 vulnerabilities across the Svelte ecosystem. So be sure you’re up to date by reading the blog post, CVEs affecting the Svelte ecosystem.

Now, without further ado, let’s dive in...

What’s new in Svelte & SvelteKit

  • To support newer browsers that allow it, you can now customize <select> elements using CSS and rich HTML content (svelte@5.47.0, Docs, #17429)
  • Svelte’s CSS parser is now exported from svelte/compiler as parseCss. It’s a partial but lightweight CSS AST parser that is currently being used in SvelteKit (svelte@5.48.0, #17496)
  • A ShadowRootInit object can now be passed to attachShadow() when shadow root is created with a customElement (svelte@5.49.0, Docs, #17088) …

Originalquelle(öffnet in neuem Tab)Problem melden

Svelte

Sicherheitsupdates für Svelte-Ökosystem

Es wurden Patches für fünf Sicherheitslücken in devalue, svelte, @sveltejs/kit und @sveltejs/adapter-node veröffentlicht, die Nutzer auf die genannten Versionen aktualisieren sollten.

We’ve released patches for 5 vulnerabilities across devalue, svelte, @sveltejs/kit, and @sveltejs/adapter-node. Here’s what you need to know:

Upgrade now

If you’re using any of these packages, upgrade them to their corresponding non-vulnerable versions:

  • devalue: 5.6.2
  • svelte: 5.46.4
  • @sveltejs/kit: 2.49.5
  • @sveltejs/adapter-node: 5.5.1

For cross-dependent packages — svelte and @sveltejs/kit depend on devalue — patched versions already include upgraded dependencies.

Commentary

We’re extremely thankful to all of the security researchers who responsibly disclosed these vulnerabilities and worked with us to get them fixed, to the security team at Vercel who helped us navigate the disclosure process, and to the maintainers who worked to publish the fixes.

Over the last few weeks, we’ve seen a spate of high profile vulnerabilities affecting popular tools across the web development ecosystem. While they are unfortunate, it has been encouraging to see the community pulling together to keep end users safe. Using the lessons learned from these vulnerabilities, we will invest in processes that will help catch future bugs during the writing and review phases, before they go live. …

Originalquelle(öffnet in neuem Tab)Problem melden

Svelte

Neuerungen im Januar 2026

Im Januar gibt es eine csp-Option für hydratable, der Vercel-Adapter unterstützt Node 24, das Svelte-CLI setups Cloudflare-Projekte automatisch und das MCP bietet eine JS-API.

During the December holiday season, the Svelte team shared 24 days of Svelte knowledge, tips, and insights to unwrap in 2025’s Advent of Svelte. Learn more about under-utilized Svelte features through a series of fun and interactive videos!

There were also a bunch of improvements and showcase items across the Svelte ecosystem this last month. So let’s have a look...

What’s new in Svelte & SvelteKit

  • The hydratable option (which adds an inline <script> block to the head) now has a csp option in render to support Content Security Policies (svelte@5.46.0, Docs, #17338)
  • The Vercel adapter now supports Node 24 (adapter-vercel@6.2.0/adapter-auto@7.0.0, #14982 and #14737)
  • The Svelte CLI is now able to fully setup a SvelteKit project for Cloudflare Workers/Pages development (sv@0.11.0, Docs, #851)
  • The Svelte MCP now exposes tools as both a JS API and CLI (mcp@0.1.16, #128) …

Originalquelle(öffnet in neuem Tab)Problem melden

Svelte

Svelte Society Website komplett erneuert

Die neue Svelte Society Website bietet einen dynamischen Feed mit aktuellen Svelte-Inhalten, über den Nutzer Pakete einreichen sowie Inhalte liken und speichern können; zudem gibt es neue APIs wie hydratable und print in Svelte.

Just in time for the end of the year, there’s a new Svelte Society Website! It brings a whole new experience. Instead of just being a site with static resources, it now serves a dynamic feed of all the latest Svelte content out there. Videos, libraries, events, etc.

Instead of opening PRs to add libraries and packages you can now just submit them on the website. If you find an interesting package, head on over and submit it. Logged in users also have the ability to like and save content. So be sure to try it out and share your feedback!

There’s a bunch of updates to SvelteKit and a showcase to cover, so lets dive in...

What’s new in Svelte & SvelteKit

  • hydratable API is a low-level API to coordinate hydration between the server and client (svelte@5.44.0, Docs, #17154)
  • print converts a Svelte AST node back into Svelte source code. It is primarily intended for tools that parse and transform components using the compiler’s modern AST representation (svelte@5.45.0, Docs, #16188) …

Originalquelle(öffnet in neuem Tab)Problem melden

Svelte

Advent of Svelte 2025 gestartet

Vom 1. bis 24. Dezember öffnet sich täglich ein Türchen mit kurzen Videos zu Svelte-Features, beginnend mit einer Demo zur $inspect-Rune, auf advent.sveltesociety.dev/2025.

It’s Advent of Svelte time!

This year, we’re doing something different: every day between now and Christmas, a new door will be unlocked on advent.sveltesociety.dev/2025. Behind each door is a short video about a feature in Svelte that you might not have heard about, or a useful tip on how to get the most out of the framework.

We’re kicking things off with a demo of the $inspect(...) rune. Check back every day for updates!

Originalquelle(öffnet in neuem Tab)Problem melden

Svelte

Offizieller Svelte MCP-Server verfügbar

Der offizielle Svelte MCP-Server ist verfügbar und ersetzt das Kopieren der Doku für LLMs; außerdem unterstützen createContext-Typen, die $state.eager-Rune und die fork-API die Entwicklung.

The official Svelte MCP server (for all your agentic needs) is now available with its own section of the docs site and GitHub repo. If you haven’t gotten a chance to try it out with the AI of your choice, definitely take it for a spin. It should replace the copy/pasting of the Svelte docs that’s often required to get LLMs to write valid Svelte 5 code and can provide suggestions on the generated code with static analysis.

But it’s not just AIs that have been writing code; our maintainers have too! Let’s take a look at what they’ve been up to in Svelte/Kit before diving into our community showcase...

What’s new in Svelte

  • createContext passes types with a stored context - replacing the need to type every getContext return value (5.40.0, Docs, #16948)
  • The $state.eager(value) rune will update the UI immediately instead of waiting for the corresponding await to resolve (5.41.0, Docs, #16849)
  • The fork API lets you change some state ‘offscreen’ in such a way that you can discover any async work resulting from the state change without committing it to the screen. (5.42.0, Docs, #17004) …

Originalquelle(öffnet in neuem Tab)Problem melden

Svelte

Verbesserungen bei Remote-Funktionen und Async SSR

Remote-Funktionen erhielten neue Batching-Tools und verbesserte Leistung; experimentelles Async SSR ist verfügbar, und die event-Eigenschaft wird nun bei Navigationen bereitgestellt.

There were lots of improvements to remote functions this month - including new batching tools and improved performance via lazy discovery. For more info, check out the Docs and PR links in each bullet. Async SSR is also available for those who would like to try it out while it’s still experimental. It’s included when the config option in svelte.config.js has the compilerOptions.experimental.async setting enabled.

We’ve got a hefty showcase this month too, so let’s dive in!

What’s new in Svelte, SvelteKit and Svelte CLI (sv)

  • The event property is now included on popstate, link and form navigation (kit@2.40.0, #14307)
  • The %sveltekit.version% placeholder can now be used in app.html to easily include the current SvelteKit version in the output (kit@2.41.0, Docs, #12132)
  • You can now create projects from the Svelte playground with npx sv create --from-playground <url> (sv@0.9.5, #662) …

Originalquelle(öffnet in neuem Tab)Problem melden

Svelte

Neue Observability-Traces und Deno-Support

SvelteKit unterstützt OpenTelemetry-Traces in einer neuen Datei für Beobachtbarkeit; außerdem sind await in @const erlaubt und Deno wird als Paketmanager unterstützt.

In case you missed it, the main Svelte blog covered how to use SvelteKit’s new OpenTelemetry traces to reliably set up observability instrumentation using instrumentation.server.ts. This month’s round up covers that release and a few other features that rolled out before and after it.

Plenty in the showcase, as well, so let’s dive in!

What’s new in Svelte and Svelte CLI (sv)

  • await is now allowed inside @const declarations (svelte@5.38.0, Docs, #16542)
  • The sv add command has been updated to remove the --no-preconditions and add --no-git-check. With this new flag, even if some files are dirty, no prompt will be shown (sv@0.9.0, Docs, #650)

What’s new in SvelteKit and its adapters

Originalquelle(öffnet in neuem Tab)Problem melden