svelte-check-4.0.0
·
164 commits
to master
since this release
- chore: bump magic-string (#2476)
- chore: switch from fast-glob to fdir (#2433)
- fix: detect <script module> tag (#2482)
- feat: better type checking for bindings in Svelte 5 (#2477)
- feat: replace svelte-preprocess with barebones TS preprocessor (#2452)
- feat: project reference support (#2463)
Breaking changes
- require Svelte 4 or later (#2453)
- make TypeScript a peer dependency, require TS 5 or later (#2453)
- require node 18 or later (#2453)
processaugmentation (declaring aprocess.browserfield) was removed- slight changes to how files are assigned to which tsconfig.json (#1234, #2463)
- slight changes to how Svelte module resolution works;
.sveltefiles now take precedence over.svelte.js/tsfiles (if both exist) (#2481) - language-server now forces fewer TypeScript options. Most notably
skipLibCheckis no longer forced totrue, which may result ind.tsfiles now being checked in your project, which they were not before, revealing type errors. Either fix those or add"skipLibCheck": trueto yourtsconfig.json(#1976, #2463)