Skip to content

Version Packages #1164

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jul 10, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions .changeset/better-moles-brake.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/cuddly-bars-clap.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/easy-dancers-smile.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fair-pets-crash.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/heavy-dots-repeat.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/huge-lamps-greet.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/hungry-phones-prove.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/nasty-ghosts-warn.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/old-peaches-refuse.md

This file was deleted.

63 changes: 0 additions & 63 deletions .changeset/pre.json

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/real-cups-scream.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/shiny-hats-move.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/smart-paths-eat.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/social-bottles-look.md

This file was deleted.

10 changes: 0 additions & 10 deletions .changeset/tall-rivers-sleep.md

This file was deleted.

8 changes: 0 additions & 8 deletions .changeset/tangy-cars-dress.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/thirty-roses-tell.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/two-facts-sink.md

This file was deleted.

21 changes: 21 additions & 0 deletions packages/vite-plugin-svelte-inspector/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,26 @@
# @sveltejs/vite-plugin-svelte-inspector

## 5.0.0
### Major Changes


- drop support for node18 and update exports map to use default export. cjs is supported via require esm in node 20.19+ ([#1129](https://github.com/sveltejs/vite-plugin-svelte/pull/1129))


- bump vite peer dependency to ^6.3.0 || ^7.0.0 ([#1130](https://github.com/sveltejs/vite-plugin-svelte/pull/1130))


### Patch Changes


- use vite environment api internally ([#1145](https://github.com/sveltejs/vite-plugin-svelte/pull/1145))


- remove vite7 beta releases from peerDependency range. ([#1151](https://github.com/sveltejs/vite-plugin-svelte/pull/1151))

- Updated dependencies [[`63d1fc6`](https://github.com/sveltejs/vite-plugin-svelte/commit/63d1fc6809c5f9e1e5ed3116d417c82d8781079d), [`47e8a9f`](https://github.com/sveltejs/vite-plugin-svelte/commit/47e8a9f6b4141a877b92d86f64061de8076c807b), [`a494b03`](https://github.com/sveltejs/vite-plugin-svelte/commit/a494b0351763245642f870cf65b5b364956912d1), [`74e701f`](https://github.com/sveltejs/vite-plugin-svelte/commit/74e701f2ee306b70196641ea0cb6fc23c58b6296), [`7cd6064`](https://github.com/sveltejs/vite-plugin-svelte/commit/7cd606497336b08882eb8538dca178071eb88847), [`7cd6064`](https://github.com/sveltejs/vite-plugin-svelte/commit/7cd606497336b08882eb8538dca178071eb88847), [`7cd6064`](https://github.com/sveltejs/vite-plugin-svelte/commit/7cd606497336b08882eb8538dca178071eb88847), [`b875b0c`](https://github.com/sveltejs/vite-plugin-svelte/commit/b875b0c57e131ec360f32b2257b0978de3616da0), [`fac52a4`](https://github.com/sveltejs/vite-plugin-svelte/commit/fac52a477ef621f31eb875ce4045357057a2206b), [`bac3e1c`](https://github.com/sveltejs/vite-plugin-svelte/commit/bac3e1c9a8451885500606fe00d5134b3ad43f8c), [`74e701f`](https://github.com/sveltejs/vite-plugin-svelte/commit/74e701f2ee306b70196641ea0cb6fc23c58b6296), [`921ba4e`](https://github.com/sveltejs/vite-plugin-svelte/commit/921ba4eded98091b8da2cbdf316e1f75af709e67), [`59e082e`](https://github.com/sveltejs/vite-plugin-svelte/commit/59e082e50277aeb71a7ce8373128d73f4ceeb5fd), [`b875b0c`](https://github.com/sveltejs/vite-plugin-svelte/commit/b875b0c57e131ec360f32b2257b0978de3616da0), [`7af3cd2`](https://github.com/sveltejs/vite-plugin-svelte/commit/7af3cd281a3d6e22de2f5f7e60822455b0d56c29), [`74e701f`](https://github.com/sveltejs/vite-plugin-svelte/commit/74e701f2ee306b70196641ea0cb6fc23c58b6296), [`74e701f`](https://github.com/sveltejs/vite-plugin-svelte/commit/74e701f2ee306b70196641ea0cb6fc23c58b6296)]:
- @sveltejs/vite-plugin-svelte@6.0.0

## 5.0.0-next.1
### Patch Changes

Expand Down
2 changes: 1 addition & 1 deletion packages/vite-plugin-svelte-inspector/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sveltejs/vite-plugin-svelte-inspector",
"version": "5.0.0-next.1",
"version": "5.0.0",
"license": "MIT",
"author": "dominikg",
"files": [
Expand Down
75 changes: 75 additions & 0 deletions packages/vite-plugin-svelte/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,80 @@
# @sveltejs/vite-plugin-svelte

## 6.0.0
### Major Changes


- drop support for node18 and update exports map to use default export. cjs is supported via require esm in node 20.19+ ([#1129](https://github.com/sveltejs/vite-plugin-svelte/pull/1129))


- Remove experimental "advanced raw queries" feature. Basic `File.svelte?raw` is still supported. ([#1145](https://github.com/sveltejs/vite-plugin-svelte/pull/1145))


- Using the typescript preprocessor now requires a tsconfig.json with verbatimModuleSyntax enabled, eg @tsconfig/svelte ([#1135](https://github.com/sveltejs/vite-plugin-svelte/pull/1135))


- remove support for loading commonjs svelte config files ([#1142](https://github.com/sveltejs/vite-plugin-svelte/pull/1142))


- bump vite peer dependency to ^6.3.0 || ^7.0.0 ([#1130](https://github.com/sveltejs/vite-plugin-svelte/pull/1130))


- define filters using object hook syntax and optimize the filter for resolveId ([#1132](https://github.com/sveltejs/vite-plugin-svelte/pull/1132))

> **NOTE**
> include logic has changed to files matching `svelteConfig.include` **OR** `svelteConfig.extensions`. Previously only files matching both were loaded and transformed.

- split preprocess and compile into separate plugins ([#1145](https://github.com/sveltejs/vite-plugin-svelte/pull/1145))

It allows vite plugins to transform code between preprocess and compile, see [docs](https://github.com/sveltejs/vite-plugin-svelte/blob/main/docs/advanced-usage.md#transform-svelte-files-with-vite-plugins) and is the recommended way to replace `plugin.api.sveltePreprocess` usage in other vite plugins.
You can also use [vite-plugin-inspect](https://github.com/antfu-collective/vite-plugin-inspect) now to inspect the result of svelte.preprocess by checking the transform of `vite-plugin-svelte:preprocess`

> **NOTE**
> This can be a breaking change in case you have other plugins besides vite-plugin-svelte transforming your svelte code
> To fix this, read the [docs](https://github.com/sveltejs/vite-plugin-svelte/blob/main/docs/advanced-usage.md#transform-svelte-files-with-vite-plugins) on how to order plugins in relation to preprocess and compile



### Minor Changes


- Add experimental support for rolldown-vite ([#1135](https://github.com/sveltejs/vite-plugin-svelte/pull/1135))


- replace esbuild optimizer with rolldown optimizer if rolldown-vite is used ([#1135](https://github.com/sveltejs/vite-plugin-svelte/pull/1135))


- add support for loading TypeScript Svelte config files in runtimes that support it ([#1142](https://github.com/sveltejs/vite-plugin-svelte/pull/1142))

> **NOTE**
> This change only applies to vite-plugin-svelte.
>
> To use `svelte.config.ts` in SvelteKit, with the Svelte VS Code extension or other tools reading the Svelte config file, you have to wait until support is implemented there.

### Patch Changes


- reduce deprecation logging to info and allow disabling it with a flag ([#1158](https://github.com/sveltejs/vite-plugin-svelte/pull/1158))


- refactor internal caching to reduce code, memory use and avoid perEnvironmentCache ([#1154](https://github.com/sveltejs/vite-plugin-svelte/pull/1154))


- fix: crawl local workspace private packages devDependencies for generating vite config ssr.noExternal ([#1155](https://github.com/sveltejs/vite-plugin-svelte/pull/1155))


- log known-issues link when using rolldown-vite ([#1144](https://github.com/sveltejs/vite-plugin-svelte/pull/1144))


- use vite environment api internally ([#1145](https://github.com/sveltejs/vite-plugin-svelte/pull/1145))


- remove vite7 beta releases from peerDependency range. ([#1151](https://github.com/sveltejs/vite-plugin-svelte/pull/1151))


- deprecate `plugin.api.sveltePreprocess` ([#1145](https://github.com/sveltejs/vite-plugin-svelte/pull/1145))


## 6.0.0-next.3
### Patch Changes

Expand Down
2 changes: 1 addition & 1 deletion packages/vite-plugin-svelte/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sveltejs/vite-plugin-svelte",
"version": "6.0.0-next.3",
"version": "6.0.0",
"license": "MIT",
"author": "dominikg",
"files": [
Expand Down