diff --git a/.changeset/five-dolls-smash.md b/.changeset/five-dolls-smash.md
new file mode 100644
index 000000000000..ad5e83fd9a84
--- /dev/null
+++ b/.changeset/five-dolls-smash.md
@@ -0,0 +1,20 @@
+---
+'@astrojs/svelte': major
+---
+
+Adds support for Svelte 5. Svelte 3 and 4 are no longer supported.
+
+The integration will now also no longer add `vitePreprocess()` by default if a preprocessor is not set up in `svelte.config.js`. It is recommended to set up the Svelte config manually so that features like IDE completion and syntax highlighting work properly.
+
+If you're using SCSS, Stylus, etc in your Svelte component style tags, make sure that the preprocessor is also set up in `svelte.config.js`. For example:
+
+```js
+// svelte.config.js
+import { vitePreprocess } from '@astrojs/svelte';
+
+export default {
+ preprocess: vitePreprocess(),
+};
+```
+
+Refer to the [Svelte 5 migration guide](https://svelte.dev/docs/svelte/v5-migration-guide) and [`@sveltejs/vite-plugin-svelte` changelog](https://github.com/sveltejs/vite-plugin-svelte/blob/main/packages/vite-plugin-svelte/CHANGELOG.md#400) for details of their respective breaking changes.
diff --git a/.changeset/tasty-coats-repair.md b/.changeset/tasty-coats-repair.md
new file mode 100644
index 000000000000..10b97e1c3d45
--- /dev/null
+++ b/.changeset/tasty-coats-repair.md
@@ -0,0 +1,5 @@
+---
+'@astrojs/solid-js': patch
+---
+
+Handles checking Svelte 5 component functions to avoid processing them as Solid components
diff --git a/examples/framework-multiple/package.json b/examples/framework-multiple/package.json
index 1e63e0247928..fa0af0805e23 100644
--- a/examples/framework-multiple/package.json
+++ b/examples/framework-multiple/package.json
@@ -23,7 +23,7 @@
"react": "^18.3.1",
"react-dom": "^18.3.1",
"solid-js": "^1.9.3",
- "svelte": "^4.2.19",
+ "svelte": "^5.1.16",
"vue": "^3.5.12"
}
}
diff --git a/examples/framework-multiple/src/components/svelte/SvelteCounter.svelte b/examples/framework-multiple/src/components/svelte/SvelteCounter.svelte
index 01e58574a6ec..641312ae1b9f 100644
--- a/examples/framework-multiple/src/components/svelte/SvelteCounter.svelte
+++ b/examples/framework-multiple/src/components/svelte/SvelteCounter.svelte
@@ -2,7 +2,14 @@
A counter written with Svelte
-->