Releases: sveltejs/language-tools
Releases · sveltejs/language-tools
language-server-0.17.2
- feat: provide Svelte 5 component migration command
- fix: correctly position quick fixes in instance and module (#2531)
extensions-109.1.0
svelte2tsx-0.7.21
- fix: relax component constructor type (#2524)
svelte-check-4.0.4
- fix: relax component constructor type (#2524)
extensions-109.0.3
- fix: relax component constructor type (#2524)
typescript-plugin-0.3.42
svelte2tsx-0.7.20
svelte-check-4.0.3
- 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 withtypeof
. 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
. Afterlet x: typeof Component
(no change)
- ...when typing a component instance: Before:
- 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)
language-server-0.17.1
- 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 withtypeof
. 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
. Afterlet x: typeof Component
(no change)
- ...when typing a component instance: Before:
- 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
- breaking(svelte5): only generate function component shape in runes mode. This means you may need to do
typeof Component
instead ofComponent
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)