首页›发现›编程›Svelte Blog

Svelte Blog

RSS运行正常
访问网站
文章数101
更新频率每月约 1.3 篇
最近抓取24分钟前
订阅方式RSS
订阅地址https://svelte.dev/blog/rss.xml

最近的文章

订阅后,这些文章和以后的新文章都会出现在你的阅读器里

What’s new in Svelte: December and November 2026

AI 摘要This combined November/December 2026 newsletter covers Svelte's 10th birthday celebration at Svelte Summit in Ljubljana and two months of major updates, including an experimental custom renderer API in Svelte 5.59, big reliability improvements to async mode, a new official Bun adapter, and breaking Cloudflare adapter changes that drop Cloudflare Pages in favor of Workers. Svelte DevTools became an official sv add-on and moved into the Svelte org, mdsvex finally hit 1.0, and the CLI gained typed add-on options, searchable prompts, and new AI tools support. The post also rounds up an extensive community showcase of apps, libraries, design systems, and learning resources built with or for Svelte.

Celebrating ten years of Svelte

AI 摘要The Svelte project celebrated its ten-year anniversary at the third in-person Svelte Summit in Ljubljana, featuring two days of talks, demos, and announcements. Key highlights include experimental custom renderers, progress toward production-ready Async Svelte, the Rust-based rsvelte toolchain, Svelte becoming a core Storybook framework, and mdsvex reaching version 1.0. Despite expectations of subdued enthusiasm in the age of AI-driven coding, the event had fantastic energy, with many announcements relevant to agentic development and the authors feeling Svelte's best years are still ahead.

SvelteKit 3 is here

AI 摘要SvelteKit 3.0, the official application framework for Svelte, is now available with a seamless migration path via the 'sv migrate' command, bringing polish, better type safety, and breaking changes such as configuration moving to vite.config.ts and the '$lib' alias becoming '#lib'. Remote functions for type-safe client-server communication are not yet ready but remain the top priority. The team also announced the next Svelte Summit on November 19-20 in Ljubljana, Slovenia, which will celebrate Svelte's 10th birthday.

What’s new in Svelte: October 2026

AI 摘要The October 2026 Svelte update announces the release of SvelteKit 3 with adapter API changes, zero-config Render deployments, and several breaking changes, alongside the Svelte CLI (sv) reaching 1.0 with an official community add-on API. It also promotes the upcoming Svelte Summit in Ljubljana on November 19-20, celebrating Svelte's 10th birthday, and notes that Svelte 5.57.1 was a quiet release focused on bug fixes. The post rounds up community showcases, learning resources, and new UI libraries and developer tools built with Svelte.

What’s new in Svelte: September 2026

AI 摘要Svelte 5.57 shipped with new SvelteMap getOrInsert methods, a createContext has function, and select defaultValue support, while SvelteKit 3 advanced with its Release Candidate, bringing enhanced cross-page form actions, adapter plugin improvements, and a QUERY method handler. The sv CLI replaced its mcp add-on with a broader ai-tools add-on and now ships a task-based sveltekit-3 migration, with new projects using #lib subpath imports to match SvelteKit 3. The update also rounds up community apps, learning resources, and libraries such as TanStack Table v9's Svelte-native adapter and ogygia's SSR islands for SvelteKit.

The SvelteKit 3 Release Candidate is here

AI 摘要SvelteKit 3 has entered the Release Candidate phase, introducing several breaking changes ahead of an imminent stable release, with an automated migration tool available to help upgrade existing apps. Key changes include configuration moving into vite.config.ts, the $lib alias replaced by Node subpath imports (#lib), simplified TypeScript configuration, improved service workers, explicit type-safe environment variables, and comprehensive error handling now that Svelte 5 is required. SvelteKit 3 also requires Vite 8 for faster Rolldown-based builds, handles shallow routing via goto, and keeps the eagerly awaited remote functions feature behind an experimental flag as the team solicits community feedback.

What’s new in Svelte: August 2026

AI 摘要The August 2026 Svelte update highlights the first @next preview releases of SvelteKit 3, featuring thirteen July previews with new $app/manifest and $app/service-worker modules, shallow routing built into goto, production sourcemaps, tracing moved out of the experimental namespace, and various breaking changes. The stable line added a submitted property to remote forms and moved defineEnvVars to a dedicated env subpath, while language tools gained zero-config typing for +error.svelte props. The article also announces Svelte Summit Ljubljana 2026 on November 19-20 and rounds up community projects, learning resources, and new libraries built around Svelte.

What’s new in Svelte: July 2026

AI 摘要July 2026 brought major SvelteKit configuration changes, allowing developers to define their SvelteKit config directly in vite.config.js instead of a separate svelte.config.js, alongside a first preview of explicit environment variables that will replace the $env/* modules in SvelteKit 3. Remote functions gained improvements like direct File uploads and query refreshing, while the sv CLI and language tools caught up with Svelte's new {const ...} declaration tags for a fully synchronized toolchain. The community also contributed a wide range of projects, from a performance-focused SvelteKit alternative called Mochi to charting libraries, video editors, and high-profile sites like the official Guild Wars 3 page.

What’s new in Svelte: June 2026

AI 摘要The June 2026 Svelte update brings numerous improvements to SvelteKit's forms and remote functions, including a new query.live(...) function for real-time server data, though it also introduces several breaking changes for remote function users. On the Svelte side, templates now support declarations directly in markup, and ecosystem tooling gained TypeScript 6.0 support along with various optimizer improvements. The post also showcases community apps, learning resources, and a wide range of new libraries and developer tools built with Svelte.

What’s new in Svelte: May 2026

AI 摘要The May 2026 Svelte update highlights major SvelteKit improvements, including TypeScript 6.0 support, richer remote function transport, form default values, and several breaking changes to remote functions. The Svelte CLI (sv) now experimentally supports community add-ons and was split into separate sv and sv-utils packages, while Svelte itself gained new motion type exports. The post also showcases community-built apps, libraries, and learning resources, and notes that Svelte was featured in ThoughtWorks Technology Radar.

What’s new in Svelte: April 2026

AI 摘要The April 2026 Svelte update highlights a new best practices guide in the docs and improvements to the Svelte MCP, including a relocated OpenCode config in sv's .opencode/ folder. Code changes include new functions in svelte.config.js for a single source of truth, exported motion types, server-side error boundaries in SvelteKit, and improved type narrowing for page and layout params. The post also features a community showcase of apps, learning resources, and libraries built with Svelte.

What’s new in Svelte: March 2026

AI 摘要The March 2026 Svelte update brings numerous new features across the ecosystem, including programmatic component context support, server-side error boundaries, and TrustedHTML support in Svelte, plus scroll position information in navigation callbacks, Vite 8 support, and a modernized Netlify adapter in SvelteKit, with better-auth added as an official CLI addon. The article also notes that Svelte retains the top spot for positive sentiment among reactive frameworks in the State of JS 2025 survey. Finally, it showcases community-built apps, learning resources, and new libraries such as Laravel's official Svelte starter kit and various Svelte 5 tools.

What’s new in Svelte: February 2026

AI 摘要The February 2026 Svelte update covers new features in Svelte and SvelteKit, including customizable elements with CSS and rich HTML, an exported CSS parser (parseCss), a breaking change removing buttonProps from experimental remote form functions, and new configuration options for the Node and Vercel adapters. It also reminds readers of the recently patched vulnerabilities across the Svelte ecosystem and points to changelogs for full details. Additionally, the post showcases a wide range of community-built apps, sites, libraries, and tools, such as Frame, LogTide, Pelican, mapcn-svelte, Reddo.js, and kit-on-lambda.

CVEs affecting the Svelte ecosystem

AI 摘要The Svelte team has released patches for 5 CVEs affecting devalue, svelte, @sveltejs/kit, and @sveltejs/adapter-node, urging users to upgrade to fixed versions (devalue 5.6.2, svelte 5.46.4, @sveltejs/kit 2.49.5, @sveltejs/adapter-node 5.5.1). The vulnerabilities include denial-of-service issues from memory/CPU exhaustion in devalue.parse and the Remote Functions deserializer, a DoS/possible SSRF related to prerendering, and an XSS via unsanitized hydratable keys. The team thanked the security researchers who disclosed the issues and encouraged users to privately report future vulnerabilities via the Security tab on the relevant repository.

What’s new in Svelte: January 2026

AI 摘要This January 2026 Svelte update recaps December's 'Advent of Svelte'—a 24-day series of interactive videos sharing Svelte tips—along with notable ecosystem releases including the new csp option for render, Vercel adapter support for Node 24, full Cloudflare Workers/Pages setup via the Svelte CLI, MCP tooling updates, and major language-tools performance improvements. The post also highlights community-built apps and sites, learning resources like courses, podcasts, and articles, and a roundup of new libraries, tools, and components such as SvelteDoc, pocket-mocker, and Svelte Drawer.

Advent of Svelte is back

AI 摘要Advent of Svelte has returned for 2025, with a new door unlocking daily until Christmas at advent.sveltesociety.dev/2025. Behind each door is a short video highlighting lesser-known Svelte features or tips for getting more out of the framework. The event kicked off with a demo of the $inspect(...) rune.

What’s new in Svelte: December 2025

AI 摘要The December 2025 Svelte update announces a new dynamic Svelte Society website where users can submit and discover Svelte libraries, videos, and events, alongside notable updates to Svelte, SvelteKit, and the Svelte CLI. It also features a community showcase—including Apple's new web-based App Store built with Svelte—plus learning resources and a roundup of new community libraries and tools.

What’s new in Svelte: November 2025

AI 摘要The November 2025 Svelte update highlights the launch of the official Svelte MCP server for AI-assisted coding, alongside new compiler features like typed createContext, $state.eager, and the fork API, plus SvelteKit improvements to remote functions, form validation, and request signals. The post also showcases community-built apps and tools, learning resources, and library releases such as Skeleton v5 and TanStack Query Svelte v6.

What’s new in Svelte: October 2025

AI 摘要The October 2025 Svelte update brings significant improvements to remote functions, including a new query.batch function, lazy discovery for better tree shaking, and enhanced schema support for the form function, along with experimental async SSR now available in Svelte v5.39.3 and SvelteKit v2.43.0+. The release also includes smaller updates like the %sveltekit.version% placeholder and project creation from the playground, plus a large community showcase featuring apps, tutorials, libraries, and tools built with or for Svelte.

What’s new in Svelte: September 2025

AI 摘要This September 2025 Svelte update highlights new releases including await support in @const declarations, OpenTelemetry observability via instrumentation.server.ts, and Deno support as a package manager. The article also features a community showcase of apps built with Svelte, such as Pollinate, Ferndesk, and Wplace, along with learning resources from contributors. Additionally, it rounds up new libraries, tools, and components like EXE, Markdown UI, and wuchale for i18n.