- 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)
process
augmentation (declaring aprocess.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 totrue
, which may result ind.ts
files now being checked in your project, which they were not before, revealing type errors. Either fix those or add"skipLibCheck": true
to yourtsconfig.json
(#1976, #2463)