summaryrefslogtreecommitdiff
path: root/packages/integrations/svelte/CHANGELOG.md
diff options
context:
space:
mode:
Diffstat (limited to 'packages/integrations/svelte/CHANGELOG.md')
-rw-r--r--packages/integrations/svelte/CHANGELOG.md21
1 files changed, 21 insertions, 0 deletions
diff --git a/packages/integrations/svelte/CHANGELOG.md b/packages/integrations/svelte/CHANGELOG.md
index 5e996c716..4199a0dd6 100644
--- a/packages/integrations/svelte/CHANGELOG.md
+++ b/packages/integrations/svelte/CHANGELOG.md
@@ -1,5 +1,26 @@
# @astrojs/svelte
+## 6.0.0
+
+### Major Changes
+
+- [#12364](https://github.com/withastro/astro/pull/12364) [`9fc2ab8`](https://github.com/withastro/astro/commit/9fc2ab8cc848739a21bfa3f754e9bec4926dc034) Thanks [@jdtjenkins](https://github.com/jdtjenkins)! - 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.
+
## 5.7.3
### Patch Changes