Releases: sveltejs/language-tools
Releases · sveltejs/language-tools
101.2.0
101.1.1
- Support optional chaining and nullish coalescing (introduced in
svelte 3.24
) #274 - Possibility to add component documentation #280
- Support default languages (introduced in
svelte-preprocess 4.0
) #291 - Fix incorrect semicolon error before dollar label #289
- Initialized props (
export let bla = 'blubb';
) are marked as optional now #276
101.0.0
- 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.
100.1.0
First production release
This release marks the first official prod release of the Svelte for VSCode extension. After a few months in beta and valuable feedback and help from the community, we feel now is the time. Thanks to everyone who helped us find and fix issues!