Skip to content

Releases: sveltejs/language-tools

101.9.1

12 Aug 06:02
800d3fe

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

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

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

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

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

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

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

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)

101.3.0

18 Jul 03:59
ffafc2d

Choose a tag to compare

  • fix svelte2tsx parentheses overwrite issues #302
  • temporarily relax event type #313
  • improve for auto import completion #317
  • syntax highlight for svelte component tags #318

101.2.0

10 Jul 06:46
514187d

Choose a tag to compare

  • Markdown syntax highlighting #301
  • Prevent name clashes when importing something with the same name as the svelte file #294