Releases: sveltejs/language-tools
Releases · sveltejs/language-tools
101.9.3
101.9.2
101.9.1
- Fix syntax highlighting:
_
can be part of attribute name - Fix awaited type of promise or plain value (#439)
- Support
sapper:noscroll
(#438) - Remove
svelte
fromtypes
, add it to everysvelte2tsx
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
101.8.0
- 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
101.7.0
101.6.0
- 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
- 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
- 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)