Skip to content

Releases: sveltejs/language-tools

102.0.0

23 Sep 07:51
7e74770
Compare
Choose a tag to compare
  • (chore) bump cosmiconfig to support .cjs config endings (#548)
  • (fix) Don't track a in import {a as b} from .. as a declared variable (#551, #549)
  • (fix) fall back to FormattingOptions in case no prettier configs are found (#554, #539)

BREAKING CHANGE:

If user has no prettier config, he now gets the tab size / space/tabs-settings of his IDE, not the default prettier config

101.14.0

18 Sep 06:18
3fee94d
Compare
Choose a tag to compare
  • (feat) event typings/better autocompletion: Now tries to detect event names from script/template if no typings given. Supports typed createEventDispatcher (#424, #535)
  • (feat) better document symbols (#532, #536)
  • (feat) support for diagnostic tags (unused and deprecated) (#543)

101.13.1

10 Sep 11:31
a9934c3
Compare
Choose a tag to compare
  • (fix) prevent // comment being treat as props docstring (#530)

101.13.0

08 Sep 05:29
cc2fc95
Compare
Choose a tag to compare
  • (feat) region folding, script/style/template folding (#525, #523)
  • (feat) add option to set css files which will be checked for global vars which will appear in autocompletion (#521)
  • (feat) add a warning message which shows up at the start if you have the old extension installed (#528)
  • (feat) show documentation of props on hover/completion (#306)

101.12.2

04 Sep 14:29
64ff96a
Compare
Choose a tag to compare
  • (fix) let for svelte:component and svelte:self (#513)
  • (refactor) move htmlx2jsx handlers into own files (#518)

101.12.1

02 Sep 05:53
048e467
Compare
Choose a tag to compare
  • (fix) vscode minimum version requirements (#508)
  • (fix) take .prettierignore into account (#506)
  • (devexp) enhance diagnostics for "no typings for components" (#510)
  • (fix) svelte media bindings (#502)
  • (fix) (svelte2tsx) also transform element true attribute to lowercase (#511)

101.12.0

31 Aug 06:10
7f013c7
Compare
Choose a tag to compare
  • Bump deps. Most notably those of prettier which fixes some formatting bugs (#323, #474). If you don't see changes, you have an old prettier-plugin-svelte version in your workspace's node_modules. Bump that to the latest version. (#505)
  • (feat) component events hover info (for now only when using ComponentEvents interface) (#485)
  • (fix) innerHTML and textContent attributes (#496)
  • Alway include source map in ts-preprocess of internal svelte compile (#495)
  • (fix) sequence expression in each block (#501)
  • (fix) align Svelte2TsxComponent definition (#486)
  • (fix) failure to start with emacs/lsp-mode (#507)

101.11.1

27 Aug 07:30
bf1d78d
Compare
Choose a tag to compare
  • (fix) correct draggable typing (#481)
  • (fix) support for multiple folders in workspace (#480)
  • (fix) mark more warnings as non-ignorable
  • (fix) moustache highlighting multiline (#483)
  • (fix) quote slot name to avoid invalid syntax and number slot name (#491)
  • (fix) only provide extension version of prettier plugin if there is no workspace version (#492)

101.11.0

26 Aug 06:51
4ee8912
Compare
Choose a tag to compare
  • (fix) Slot type inference now works for (nested) await/each/let (#458)
  • (feat) possibility to ignore compiler warnings/treat them as errors (#476)
  • (fix) bump prettier plugin version. Makes it work with prettier 2.1.x again, fixes #324 (#482)

101.10.0

24 Aug 05:58
afcd008
Compare
Choose a tag to compare
  • (feat) better component events completion; possibility to type component events through ComponentEvents interface. See the docs for more info. Another way of typing component events coming soon. (#459)
  • (feat) support upcoming $$slots feature of Svelte (#464)
  • (chore) bump ts to 4.0 (#470)
  • (fix) do not suggest lang when editing attributes (#469)
  • (fix) ignore script/styles inside comments (#460)
  • (docs) more precise settings docs (#467)
  • (fix) filter out component import if already one present (#466)
  • (fix) check path aliases (#471)