sveltejs/language-tools (svelte-check)
### [`v4.0.9`](https://redirect.github.com/sveltejs/language-tools/releases/tag/svelte-check-4.0.9)
[Compare Source](https://redirect.github.com/sveltejs/language-tools/compare/svelte-check-4.0.8...svelte-check-4.0.9)
- fix: detect shadowed variables/types during type hoisting ([#2590](https://redirect.github.com/sveltejs/language-tools/issues/2590))
### [`v4.0.8`](https://redirect.github.com/sveltejs/language-tools/releases/tag/svelte-check-4.0.8)
[Compare Source](https://redirect.github.com/sveltejs/language-tools/compare/svelte-check-4.0.7...svelte-check-4.0.8)
- fix: fall back to any instead of unknown for untyped $props ([#2582](https://redirect.github.com/sveltejs/language-tools/issues/2582))
- fix: robustify and fix file writing ([#2584](https://redirect.github.com/sveltejs/language-tools/issues/2584))
- fix: hoist types related to $props rune if possible ([#2571](https://redirect.github.com/sveltejs/language-tools/issues/2571))
### [`v4.0.7`](https://redirect.github.com/sveltejs/language-tools/releases/tag/svelte-check-4.0.7)
[Compare Source](https://redirect.github.com/sveltejs/language-tools/compare/svelte-check-4.0.6...svelte-check-4.0.7)
- fix: `$props`: infer types for `$bindable`, infer function type from arrow function
### [`v4.0.6`](https://redirect.github.com/sveltejs/language-tools/releases/tag/svelte-check-4.0.6)
[Compare Source](https://redirect.github.com/sveltejs/language-tools/compare/svelte-check-4.0.5...svelte-check-4.0.6)
- chore: autotype `const load = ...` declarations ([#2540](https://redirect.github.com/sveltejs/language-tools/issues/2540))
- chore: provide component instance type in Svelte 5 ([#2553](https://redirect.github.com/sveltejs/language-tools/issues/2553))
- chore: support typescript 5.6 ([#2545](https://redirect.github.com/sveltejs/language-tools/issues/2545))
- fix: infer object and array shapes from fallback types ([#2562](https://redirect.github.com/sveltejs/language-tools/issues/2562))
### [`v4.0.5`](https://redirect.github.com/sveltejs/language-tools/releases/tag/svelte-check-4.0.5)
[Compare Source](https://redirect.github.com/sveltejs/language-tools/compare/svelte-check-4.0.4...svelte-check-4.0.5)
- fix: include named exports in svelte 5 type ([#2528](https://redirect.github.com/sveltejs/language-tools/issues/2528))
### [`v4.0.4`](https://redirect.github.com/sveltejs/language-tools/releases/tag/svelte-check-4.0.4)
[Compare Source](https://redirect.github.com/sveltejs/language-tools/compare/svelte-check-4.0.3...svelte-check-4.0.4)
- fix: relax component constructor type ([#2524](https://redirect.github.com/sveltejs/language-tools/issues/2524))
### [`v4.0.3`](https://redirect.github.com/sveltejs/language-tools/releases/tag/svelte-check-4.0.3)
[Compare Source](https://redirect.github.com/sveltejs/language-tools/compare/svelte-check-4.0.2...svelte-check-4.0.3)
- breaking(svelte5): only generate function component shape in runes mode ([#2517](https://redirect.github.com/sveltejs/language-tools/issues/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`
- ...when typing a component constructor/function: Before `let x: typeof Component`. After `let x: typeof Component` (no change)
- fix: revert additional two-way-binding checks as they were causing bugs ([#2508](https://redirect.github.com/sveltejs/language-tools/issues/2508))
- fix: include files indirectly belonging to a project into correct project ([#2488](https://redirect.github.com/sveltejs/language-tools/issues/2488))
- fix: check project files update more aggressively before assigning service ([#2518](https://redirect.github.com/sveltejs/language-tools/issues/2518))
- chore: upgrade to chokidar 4 ([#2502](https://redirect.github.com/sveltejs/language-tools/issues/2502))
### [`v4.0.2`](https://redirect.github.com/sveltejs/language-tools/releases/tag/svelte-check-4.0.2)
[Compare Source](https://redirect.github.com/sveltejs/language-tools/compare/svelte-check-4.0.1...svelte-check-4.0.2)
- fix: ensure components typed through Svelte 5's `Component` interface get proper intellisense
### [`v4.0.1`](https://redirect.github.com/sveltejs/language-tools/releases/tag/svelte-check-4.0.1)
[Compare Source](https://redirect.github.com/sveltejs/language-tools/compare/svelte-check-4.0.0...svelte-check-4.0.1)
- fix: remove ancient `process` augmentation from internal `d.ts` file
### [`v4.0.0`](https://redirect.github.com/sveltejs/language-tools/releases/tag/svelte-check-4.0.0)
[Compare Source](https://redirect.github.com/sveltejs/language-tools/compare/svelte-check-3.8.6...svelte-check-4.0.0)
- chore: bump magic-string ([#2476](https://redirect.github.com/sveltejs/language-tools/issues/2476))
- chore: switch from fast-glob to fdir ([#2433](https://redirect.github.com/sveltejs/language-tools/issues/2433))
- fix: detect Githubissues.
Githubissues is a development platform for aggregating issues.
This PR contains the following updates:
^3.4.3
->^4.0.0
Release Notes
sveltejs/language-tools (svelte-check)
### [`v4.0.9`](https://redirect.github.com/sveltejs/language-tools/releases/tag/svelte-check-4.0.9) [Compare Source](https://redirect.github.com/sveltejs/language-tools/compare/svelte-check-4.0.8...svelte-check-4.0.9) - fix: detect shadowed variables/types during type hoisting ([#2590](https://redirect.github.com/sveltejs/language-tools/issues/2590)) ### [`v4.0.8`](https://redirect.github.com/sveltejs/language-tools/releases/tag/svelte-check-4.0.8) [Compare Source](https://redirect.github.com/sveltejs/language-tools/compare/svelte-check-4.0.7...svelte-check-4.0.8) - fix: fall back to any instead of unknown for untyped $props ([#2582](https://redirect.github.com/sveltejs/language-tools/issues/2582)) - fix: robustify and fix file writing ([#2584](https://redirect.github.com/sveltejs/language-tools/issues/2584)) - fix: hoist types related to $props rune if possible ([#2571](https://redirect.github.com/sveltejs/language-tools/issues/2571)) ### [`v4.0.7`](https://redirect.github.com/sveltejs/language-tools/releases/tag/svelte-check-4.0.7) [Compare Source](https://redirect.github.com/sveltejs/language-tools/compare/svelte-check-4.0.6...svelte-check-4.0.7) - fix: `$props`: infer types for `$bindable`, infer function type from arrow function ### [`v4.0.6`](https://redirect.github.com/sveltejs/language-tools/releases/tag/svelte-check-4.0.6) [Compare Source](https://redirect.github.com/sveltejs/language-tools/compare/svelte-check-4.0.5...svelte-check-4.0.6) - chore: autotype `const load = ...` declarations ([#2540](https://redirect.github.com/sveltejs/language-tools/issues/2540)) - chore: provide component instance type in Svelte 5 ([#2553](https://redirect.github.com/sveltejs/language-tools/issues/2553)) - chore: support typescript 5.6 ([#2545](https://redirect.github.com/sveltejs/language-tools/issues/2545)) - fix: infer object and array shapes from fallback types ([#2562](https://redirect.github.com/sveltejs/language-tools/issues/2562)) ### [`v4.0.5`](https://redirect.github.com/sveltejs/language-tools/releases/tag/svelte-check-4.0.5) [Compare Source](https://redirect.github.com/sveltejs/language-tools/compare/svelte-check-4.0.4...svelte-check-4.0.5) - fix: include named exports in svelte 5 type ([#2528](https://redirect.github.com/sveltejs/language-tools/issues/2528)) ### [`v4.0.4`](https://redirect.github.com/sveltejs/language-tools/releases/tag/svelte-check-4.0.4) [Compare Source](https://redirect.github.com/sveltejs/language-tools/compare/svelte-check-4.0.3...svelte-check-4.0.4) - fix: relax component constructor type ([#2524](https://redirect.github.com/sveltejs/language-tools/issues/2524)) ### [`v4.0.3`](https://redirect.github.com/sveltejs/language-tools/releases/tag/svelte-check-4.0.3) [Compare Source](https://redirect.github.com/sveltejs/language-tools/compare/svelte-check-4.0.2...svelte-check-4.0.3) - breaking(svelte5): only generate function component shape in runes mode ([#2517](https://redirect.github.com/sveltejs/language-tools/issues/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