Skip to content

Releases: sveltejs/vite-plugin-svelte

@sveltejs/[email protected]

23 Feb 19:15
67721b6

Choose a tag to compare

Major Changes

  • breaking(deps): require vite 8 (#1266)

  • breaking(options): remove deprecated options (#1274)

    • vitePlugin.hot in svelte.config.js
      use compilerOptions.hmr instead
    • vitePlugin.ignorePluginPreprocessors in svelte.config.js
      no longer needed
    • api.idFilter of vite-plugin-svelte:api
      use api.filter instead
    • plugin.api.sveltePreprocess of other vite plugins
      Update affected plugins to a newer version or remove them.
      See docs for more information.
  • breaking(dev): no longer overrides compilerOptions.cssHash because Svelte now produces a stable css hash by itself (#1271)

  • breaking(inspector): integrate vite-plugin-svelte-inspector into vite-plugin-svelte to avoid circular dependency (#1270)

  • breaking(deps): require svelte 5.46.4 or later (#1271)

Patch Changes

  • chore: upgrade vitefu to compatible peer dependency range (#1286)

  • remove author field from package.json (#1281)

@sveltejs/[email protected]

23 Feb 16:44
04fbcee

Choose a tag to compare

Pre-release

Patch Changes

  • chore: upgrade vitefu to compatible peer dependency range (#1286)

  • remove author field from package.json (#1281)

@sveltejs/[email protected]

16 Jan 11:43
170bacc

Choose a tag to compare

Pre-release

Major Changes

  • breaking(deps): require vite 8 (#1266)

  • breaking(deps): require svelte 5.46.4 or later (#1271)

  • breaking(options): remove deprecated options (#1274)

    • vitePlugin.hot in svelte.config.js
      use compilerOptions.hmr instead
    • vitePlugin.ignorePluginPreprocessors in svelte.config.js
      no longer needed
    • api.idFilter of vite-plugin-svelte:api
      use api.filter instead
    • plugin.api.sveltePreprocess of other vite plugins
      Update affected plugins to a newer version or remove them.
      See docs for more information.
  • breaking(dev): no longer overrides compilerOptions.cssHash because Svelte now produces a stable css hash by itself (#1271)

  • breaking(inspector): integrate vite-plugin-svelte-inspector into vite-plugin-svelte to avoid circular dependency (#1270)

@sveltejs/[email protected]

09 Jan 19:02
24bf204

Choose a tag to compare

Patch Changes

  • fix(hmr): ensure that svelte files are recompiled and updated css modules returned correctly when reported out of order (#1258)

@sveltejs/[email protected]

07 Jan 10:46
83513a8

Choose a tag to compare

Patch Changes

  • fix(filter): ignore zero-tagged ids per rollup convention (#1255)

@sveltejs/[email protected]

06 Jan 14:16
99bfe1a

Choose a tag to compare

Patch Changes

  • Update experimental support for rolldown-vite to vite 8 beta (#1246)

  • perf: switch from debug to obug (smaller, esm-only) (#1241)

@sveltejs/[email protected]

06 Jan 14:16
99bfe1a

Choose a tag to compare

Patch Changes

@sveltejs/[email protected]

24 Sep 13:16
1b50eb9

Choose a tag to compare

Patch Changes

  • fix: remove unscopable global styles warning (#1223)

  • Remove automatic configuration for rolldownOptions.optimization.inlineConst because latest version of rolldown-vite has it enabled by default. (#1225)

@sveltejs/[email protected]

09 Sep 15:08
2a623f2

Choose a tag to compare

Minor Changes

  • feat(rolldown-vite): enable optimization.inlineConst by default to ensure treeshaking works with esm-env in svelte (#1207)

@sveltejs/[email protected]

02 Sep 19:05
2842159

Choose a tag to compare

Patch Changes

  • fix: allow preprocess plugin to run twice (#1206)

  • fix(types): update urls to PreprocessorGroup and CompileOptions in type documention (#1203)

  • replace kleur dependency with builtin node:utils styleText (#1210)