github sveltejs/language-tools svelte-check-4.0.0

latest releases: extensions-109.2.2, svelte-check-4.0.7, language-server-0.17.5...
2 months ago
  • 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 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)

Don't miss a new language-tools release

NewReleases is sending notifications on new releases.