Skip to content

Releases: sveltejs/vite-plugin-svelte

@sveltejs/vite-plugin-svelte@3.1.0

10 Apr 19:46
acb1f88
Compare
Choose a tag to compare

Minor Changes

  • feat(svelte5): enable hmr option in dev (#836)

Patch Changes

@sveltejs/vite-plugin-svelte-inspector@2.1.0

10 Apr 19:46
acb1f88
Compare
Choose a tag to compare

Minor Changes

  • Implements escapeKeys to close the inspector via hotkey (default keys are Backspace and Escape). (#880)

Patch Changes

@sveltejs/vite-plugin-svelte@3.0.2

27 Jan 16:07
e04c9a8
Compare
Choose a tag to compare

Patch Changes

  • fix(compile): correctly determine script lang in files where a comment precedes the script tag (#844)

@sveltejs/vite-plugin-svelte@2.5.3

22 Nov 13:50
3c37482
Compare
Choose a tag to compare

Patch Changes

  • fix: handle closing tags in attributes when detecting script language (#796)

@sveltejs/vite-plugin-svelte@3.0.1

21 Nov 14:28
63fafd4
Compare
Choose a tag to compare

Patch Changes

  • fix: improve checking of script and style in .svelte code to work with new generic= attribute (#799)

  • Fix optional parameter types (#797)

  • Update log level for HMR updates where the output is functionally equivalent to the previous version to "debug" (#806)

@sveltejs/vite-plugin-svelte@3.0.0

16 Nov 11:05
cf1ef58
Compare
Choose a tag to compare

Major Changes

  • breaking: update minimum supported node version to node18 (#744)

  • breaking: update supported vite version to vite 5 (#743)

  • breaking: remove support for svelte 3 (#746)

  • Preprocess style tags by default with vitePreprocess (#756)

  • breaking: remove package.json export (#751)

  • breaking(types): emit types with dts-buddy to include type map (#751)

  • breaking(debug): remove 'vite:' and add suffixes to debug namespace (#749)

  • breaking(types): rename SvelteOptions to SvelteConfig (#751)

  • breaking: prefer svelte exports condition over package.json svelte field (#747)

Minor Changes

  • feat(preprocess): add warnings in case preprocess dependencies contain anomalies (#767)

  • Add experimental support for svelte5 (#787)

Patch Changes

  • fix(types): use correct type Options for svelte function arg (#751)

  • Improve compile error messages (#757)

  • feat(compile): promote experimental.dynamicCompileOptions to stable (#765)

  • update peer dependencies to use final releases (#794)

  • Updated dependencies [d5b952f, bd5d43e, 10ec2a4, 62afd80, 1be1c08]:

    • @sveltejs/vite-plugin-svelte-inspector@2.0.0

@sveltejs/vite-plugin-svelte-inspector@2.0.0

16 Nov 11:05
cf1ef58
Compare
Choose a tag to compare

Major Changes

  • breaking: update minimum supported node version to node18 (#744)

  • breaking: update supported vite version to vite 5 (#743)

  • breaking: remove support for svelte 3 (#746)

  • breaking(types): emit types with dts-buddy to include type map (#751)

Patch Changes

@sveltejs/vite-plugin-svelte@3.0.0-next.3

14 Nov 23:00
da0cda9
Compare
Choose a tag to compare

Minor Changes

  • Add experimental support for svelte5 (#787)

@sveltejs/vite-plugin-svelte@2.5.2

10 Nov 16:35
84d9fa9
Compare
Choose a tag to compare

Patch Changes

  • fix compileModule call for optimizing libraries (#788)

@sveltejs/vite-plugin-svelte@2.5.1

09 Nov 22:15
ec4c530
Compare
Choose a tag to compare

Patch Changes

  • feat: support Svelte 5 compiler API (#785)