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: 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)
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)
Commits
156bd7d fix: correctly position quick fixes in instance and module (#2531)
a167a93 feat: provide Svelte 5 component migration command
b12afd1 fix: include named exports in svelte 5 type (#2528)
4dfb988 fix: relax component constructor type (#2524)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps svelte-check from 3.8.6 to 4.0.5.
Release notes
Sourced from svelte-check's releases.
Commits
156bd7d
fix: correctly position quick fixes in instance and module (#2531)a167a93
feat: provide Svelte 5 component migration commandb12afd1
fix: include named exports in svelte 5 type (#2528)4dfb988
fix: relax component constructor type (#2524)fc2144b
chore: upgrade to chokidar 4 (#2502)7c76ec5
fix: check project files update more aggressively before assigning service (#...837b61f
breaking(svelte5): only generate function component shape in runes mode (#2517)35af691
perf: auto import cache for svelte-kit language service proxy (#2513)81019d9
fix: revert additional two-way-binding checks (#2508)e74f1d7
chore: revert accidental commitDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show