Skip to content

Releases: sveltejs/language-tools

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)

101.9.3

17 Aug 06:26
925a0b2
Compare
Choose a tag to compare
  • (fix) add tag name (#143)
  • (fix) make organize imports work with module script (#221)
  • (fix) destructuring inside reactive assignments (#444)
  • (fix) add missing focusin/focusout events (#220)
  • (docs) more troubleshooting, overview on internals

101.9.2

13 Aug 07:12
690770e
Compare
Choose a tag to compare
  • (fix) use regex for script/style blanks (#440)
  • (fix) blank if tag content (#449)
  • add "allow" attribute

101.9.1

12 Aug 06:02
800d3fe
Compare
Choose a tag to compare
  • Fix syntax highlighting: _ can be part of attribute name
  • Fix awaited type of promise or plain value (#439)
  • Support sapper:noscroll (#438)
  • Remove svelte from types, add it to every svelte2tsx output instead. One less setup step, makes more global libs searchable (#430)
  • Fix normalize uris coming from client (#443)
  • Add more missing html/svg attributes (#446, #387)
  • Infer svg element type (#447)

101.9.0

10 Aug 05:15
5fe799c
Compare
Choose a tag to compare
  • transform number attributes #366
  • allow #await without then #427
  • missing-custom-element-compile-options cannot be ignored #409

101.8.0

05 Aug 07:03
d48fa0f
Compare
Choose a tag to compare
  • Fix error when using $store as key or index #407
  • lang="..." completions for script/style/template #413
  • Emmet completions for sass #399
  • Markdown in completion resolve #403
  • Always show svelte.config.js parser errors #423
  • Fix svelte:component on:event #418
  • Better typings for actions #416
  • Add missing SVG attributes #387

101.7.1

03 Aug 06:08
79622f6
Compare
Choose a tag to compare
  • Fix element typing #400
  • Empty diagnostics for closed documents #316
  • Add missing event handlers #393 #408 #406
  • Allow empty initializationOptions #411

101.7.0

31 Jul 06:06
f9385cc
Compare
Choose a tag to compare
  • Support for array of preprocessors #279
  • Relax each-typing to accept array-like values #298
  • Remove ref from IntrinsicAttributes #319

101.6.0

30 Jul 06:30
fbb9496
Compare
Choose a tag to compare
  • Type check event forward from element on component #303
  • Mark props as optional in ts when initialized but no typings given #370
  • Fix svelte component rename when using bind:this #308
  • Wrap template with callback to fix used before assigned error #310
  • Fix await type checking, can now be used with PromiseLike / anything #358
  • Fix swallowing used before assigned error #277
  • Fix store.set in reactive statement #380