Releases: sveltejs/language-tools
Releases · sveltejs/language-tools
svelte2tsx-0.7.22
- fix: include named exports in svelte 5 type (#2528)
svelte-check-4.0.5
- fix: include named exports in svelte 5 type (#2528)
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)