# What's new in Svelte: June 2025

DevFeed: [What's new in Svelte: June 2025](<https://devfeed.tech/articles/what-s-new-in-svelte-june-2025-3096.md>)

Original publisher: [Read original article](<https://svelte.dev/blog/whats-new-in-svelte-june-2025>)

Author: Dani Sandoval

Published: 2025-06-01T00:00:00Z

Content type: article

Language: en

Sources: [Svelte blog](<https://devfeed.tech/sources/svelte-blog.md>)

Topics: [Svelte](<https://devfeed.tech/topics/svelte.md>), [Web Development](<https://devfeed.tech/topics/web-development.md>), [Markdown](<https://devfeed.tech/topics/markdown.md>), [AI Chat](<https://devfeed.tech/topics/ai-chat.md>), [Game engine](<https://devfeed.tech/topics/game-engine.md>)

Tags: [2025](<https://devfeed.tech/tags/2025.md>), [agent](<https://devfeed.tech/tags/agent.md>), [ai-models](<https://devfeed.tech/tags/ai-models.md>), [blog](<https://devfeed.tech/tags/blog.md>), [blog-post](<https://devfeed.tech/tags/blog-post.md>), [browser](<https://devfeed.tech/tags/browser.md>), [extension](<https://devfeed.tech/tags/extension.md>), [local-first](<https://devfeed.tech/tags/local-first.md>), [markdown](<https://devfeed.tech/tags/markdown.md>), [svelte](<https://devfeed.tech/tags/svelte.md>)

## AI overview

This June 2025 Svelte update covers ongoing Async Svelte work, the introduction of Attachments as a more flexible alternative to actions, and several improvements to Svelte, SvelteKit, and language tools. It also showcases applications built with Svelte and highlights related community videos and articles involving AI models and GitHub Copilot.

## Source excerpt

In addition to advancing the work on Async Svelte, the maintainers have been hard at work introducing long requested features like Attachments. This month, we'll share a bit about the new API along with a huge showcase of apps/sites built with Svelte... Let's dive in! What's new in Svelte and SvelteKit Attachments are essentially a more flexible and modern version of actions. Read more about their use-cases and improvements over actions in the PR (#1500) or in the Svelte docs (svelte@5.29.0, language-tools@109.7.0) Do you have actions you love and want to use them as attachments? The fromAction utility lets you convert actions into attachments (svelte@5.32.0, #15933) Generics are now allowed on snippets - improving typing and type hints (svelte@5.30.0, language-tools@109.8.0, #15915) The Svelte extension will now allow you to add missing imports on save (language-tools@109.6.0, #2744) State fields can now be declared inside class constructors (svelte@5.31.0, #15820) Svelte is now XHTML compliant and the new fragments: 'html' | 'tree' option adds wider CSP compliance (svelte@5.33.0, #15538) Client-side code is now allowed to run at the top-level of universal pages/layouts when SSR is disabled and page options are only boolean or string literals (kit@2.21.0, #13684) For a full list of bug fixes in Svelte, SvelteKit and its adapters, check out their CHANGELOGs here and here. Community ShowcaseApps & Sites built with Svelte Whimsy is a small game engine and a fantasy console for making interactive stories DASHBOT is a 1v1 Space Robot Sprint Battle game for two players - with local and online modes Kraa is a web-based markdown editor that does things a little differently Shovel AI is a batch tool for interacting with large amounts of a text data with AI models md.uy is a collaborative, local-first, peer-to-peer markdown editor BringYourAI is a browser extension that provides instant codebase context on any AI chat website Joe Malatesta figured out a way to present his fi