sveltejs/language-tools (svelte-check)
### [`v4.1.1`](https://redirect.github.com/sveltejs/language-tools/releases/tag/svelte-check-4.1.1)
[Compare Source](https://redirect.github.com/sveltejs/language-tools/compare/svelte-check-4.1.0...svelte-check-4.1.1)
- fix: support each without as ([#2615](https://redirect.github.com/sveltejs/language-tools/issues/2615))
### [`v4.1.0`](https://redirect.github.com/sveltejs/language-tools/releases/tag/svelte-check-4.1.0)
[Compare Source](https://redirect.github.com/sveltejs/language-tools/compare/svelte-check-4.0.9...svelte-check-4.1.0)
- fix: don't move appended content from previous node while hoisting interface ([#2596](https://redirect.github.com/sveltejs/language-tools/issues/2596))
- fix: ensure hoisted interfaces are moved after hoisted imports ([#2597](https://redirect.github.com/sveltejs/language-tools/issues/2597))
- fix: preserve bind:... mapping on elements for better source maps
- feat: prepare for some upcoming features of Svelte 5
### [`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.7.1
->^4.1.1
Release Notes
sveltejs/language-tools (svelte-check)
### [`v4.1.1`](https://redirect.github.com/sveltejs/language-tools/releases/tag/svelte-check-4.1.1) [Compare Source](https://redirect.github.com/sveltejs/language-tools/compare/svelte-check-4.1.0...svelte-check-4.1.1) - fix: support each without as ([#2615](https://redirect.github.com/sveltejs/language-tools/issues/2615)) ### [`v4.1.0`](https://redirect.github.com/sveltejs/language-tools/releases/tag/svelte-check-4.1.0) [Compare Source](https://redirect.github.com/sveltejs/language-tools/compare/svelte-check-4.0.9...svelte-check-4.1.0) - fix: don't move appended content from previous node while hoisting interface ([#2596](https://redirect.github.com/sveltejs/language-tools/issues/2596)) - fix: ensure hoisted interfaces are moved after hoisted imports ([#2597](https://redirect.github.com/sveltejs/language-tools/issues/2597)) - fix: preserve bind:... mapping on elements for better source maps - feat: prepare for some upcoming features of Svelte 5 ### [`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