Skip to content

Releases: sveltejs/language-tools

language-server-0.17.1

26 Sep 12:19
fc2144b
Compare
Choose a tag to compare
  • breaking(svelte5): only generate function component shape in runes mode (#2517). This means you can no longer just do Component in type positions. Instead you need to prepend it with typeof. Here's how you do it:
    • ...when typing a component instance: Before: let x: Component. After: let x: ReturnType<typeof Component>
    • ...when typing a component constructor/function: Before let x: typeof Component. After let x: typeof Component (no change)
  • fix: include files indirectly belonging to a project into correct project (#2488)
  • fix: check project files update more aggressively before assigning service (#2518)
  • chore: upgrade to chokidar 4 (#2502)

extensions-109.0.2

26 Sep 12:24
fc2144b
Compare
Choose a tag to compare
  • breaking(svelte5): only generate function component shape in runes mode. This means you may need to do typeof Component instead of Component in type situations (#2517)
  • fix: update SvelteKit trailingSlash types (#2496)
  • fix: revert additional two-way-binding checks as they were causing bugs (#2508)
  • fix: include files indirectly belonging to a project into correct project (#2488)
  • fix: check project files update more aggressively before assigning service (#2518)
  • chore: upgrade to chokidar 4 (#2502)
  • perf: auto import cache for svelte-kit language service proxy (#2513)

svelte-check-4.0.2

12 Sep 11:23
0921d65
Compare
Choose a tag to compare
  • fix: ensure components typed through Svelte 5's Component interface get proper intellisense

extensions-109.0.1

12 Sep 11:23
0921d65
Compare
Choose a tag to compare
  • fix: ensure components typed through Svelte 5's Component interface get proper intellisense

svelte2tsx-0.7.19

12 Sep 11:15
Compare
Choose a tag to compare
  • fix: ensure components typed through Svelte 5's Component interface get proper intellisense

svelte2tsx-0.7.18

04 Sep 11:43
Compare
Choose a tag to compare
  • fix: remove ancient process augmentation from internal d.ts file

svelte-check-4.0.1

04 Sep 11:47
Compare
Choose a tag to compare
  • fix: remove ancient process augmentation from internal d.ts file

typescript-plugin-0.3.41

02 Sep 11:49
Compare
Choose a tag to compare
  • chore: slight changes to how Svelte module resolution works; .svelte files now take precedence over .svelte.js/ts files (if both exist) (#2481)

svelte-check-4.0.0

02 Sep 11:54
Compare
Choose a tag to compare
  • chore: bump magic-string (#2476)
  • chore: switch from fast-glob to fdir (#2433)
  • fix: detect <script module> tag (#2482)
  • feat: better type checking for bindings in Svelte 5 (#2477)
  • feat: replace svelte-preprocess with barebones TS preprocessor (#2452)
  • feat: project reference support (#2463)

Breaking changes

  • require Svelte 4 or later (#2453)
  • make TypeScript a peer dependency, require TS 5 or later (#2453)
  • require node 18 or later (#2453)
  • process augmentation (declaring a process.browser field) was removed
  • slight changes to how files are assigned to which tsconfig.json (#1234, #2463)
  • slight changes to how Svelte module resolution works; .svelte files now take precedence over .svelte.js/ts files (if both exist) (#2481)
  • language-server now forces fewer TypeScript options. Most notably skipLibCheck is no longer forced to true, which may result in d.ts files now being checked in your project, which they were not before, revealing type errors. Either fix those or add "skipLibCheck": true to your tsconfig.json (#1976, #2463)

extensions-109.0.0

02 Sep 11:56
Compare
Choose a tag to compare
  • chore: bump magic-string (#2476)
  • chore: switch from fast-glob to fdir (#2433)
  • fix: detect <script module> tag (#2482)
  • feat: better type checking for bindings in Svelte 5 (#2477)
  • feat: replace svelte-preprocess with barebones TS preprocessor (#2452)
  • feat: project reference support (#2463)
  • feat: allow autoImportFileExcludePatterns to ignore files outside the root (#2480)

Breaking changes

  • use Svelte 4 as built-in version now (#2475)
  • bump vs code ls/client version to 9 (#2475)
  • require VS Code 1.82 or later (#2475)
  • slight changes to how files are assigned to which tsconfig.json (#1234, #2463)
  • slight changes to how Svelte module resolution works; .svelte files now take precedence over .svelte.js/ts files (if both exist) (#2481)
  • language-server now forces fewer TypeScript options. Most notably skipLibCheck is no longer forced to true, which may result in d.ts files now being checked in your project, which they were not before, revealing type errors. Either fix those or add "skipLibCheck": true to your tsconfig.json (#1976, #2463)