Skip to content

Releases: sveltejs/language-tools

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

101.5.0

28 Jul 06:22
c0a21b4
Compare
Choose a tag to compare
  • Add note about uninstalling the old Svelte extension #372 - do this if you haven't already.
  • SvelteAction typing fix: allows void as return value #365
  • Reintroduce Svelte tag completions, add snippets to completions #364, #368
  • Fix imports done through code actions #343
  • Split regex to avoid heavy computation when there are comments at the beginning of a file #337
  • Basic Pug syntax highlighting #371
  • Fix/cleanup style attribute typing #345

101.4.0

27 Jul 06:04
5348104
Compare
Choose a tag to compare
  • Support for Svelte Native (#351), also fixes namespace clashing with React types (#228)
  • Exported functions/consts/classes of a component are now visible on the components type (#307)
  • Reactive assignments no longer implicitely have type any (#360)
  • Fix 'Variable is used before being assigned' error when using bind:this in strict mode (#338)
  • Fix type checking getting "disabled" when using directives (#352)
  • Fix dblclick event type (#357)
  • Add resize event to svelte:window (#348)
  • Editor syntax highlighting: Svelte components in template now marked as support.class.component.svelte (#321)