Skip to content

101.0.0

Compare
Choose a tag to compare
@dummdidumm dummdidumm released this 06 Jul 08:50
· 1057 commits to master since this release
6f30321
  • New "Extract into component" refactoring (simple version) #262
  • Better typing for union types in reactive assignments and props #214
  • Props with default values are now marked as optional #276
  • Docs restructuring, FAQ/Troubleshooting for TypeScript #275
  • Hover info now contains docs #281
  • More bindings for svelte:window #265
  • Grave accent wrapping #264

BREAKING CHANGE

Adjusted svelte.config.js interface #270

If you want to pass svelte compiler options to the svelte language server (which you probably never will/need to do), you now need to pass them inside compilerOptions. Note that preprocess stays where it was before, so you are most likely not affected by this change.

Before:

svelte.config.js:

module.exports = {
   dev: true,
   preprocess: ...
};

After:

svelte.config.js:

module.exports = {
   compilerOptions: {
      dev: true
   },
   preprocess: ...
};

This was done as an attempt to harmonize/standarize svelte.config.js and open up its usage to other tools.