Skip to content

Releases: sveltejs/language-tools

svelte-check-1.1.32

01 Feb 17:07
c9c6ea7
Compare
Choose a tag to compare
  • (fix) fallback param for built-in transition/animate to silence wrong errors about missing params (#785)

svelte-check-1.1.31

29 Jan 09:12
611e665
Compare
Choose a tag to compare

Test release to test new deployment setup

extensions-104.2.1

29 Jan 09:06
611e665
Compare
Choose a tag to compare

Test release to test new deployment setup

104.1.1

28 Jan 15:58
40fdabf
Compare
Choose a tag to compare
  • (fix) add onorientationchange window event (#787)
  • (fix) range source mapping for semantic tokens (#784)

104.1.0

26 Jan 14:26
a9f40e3
Compare
Choose a tag to compare
  • (feat) listen to TS/JS file changes - you no longer need to save the files for the changes to be noticed by the Svelte extension (#636)
  • (feat) autocompletion schemas for prettier-plugin-svelte options (#770)
  • (perf) cap full file semantic tokens (#772)
  • (fix) remove options from svelteSortOrder if user uses prettier-plugin-svelte version 1.x
  • (fix) turn off diagnostics for coffeescript (#780)
  • (fix) adjust end of range mapping (#762)
  • (fix) correct Events typing in svelte-shims.d.ts (#775)
  • (fix) syntax highlighting for self-closing tags (#773)
  • (fix) different action/animation/transition transformation to avoid incorrect type inference in edge cases (#754)

104.0.0

13 Jan 14:38
f561e2c
Compare
Choose a tag to compare
  • (feat) add support for semantic tokens for TypeScript users. This is enabled by default and adds semantic highlighting to your theme, if it supports it. You can disable this through the extension options (svelte.plugin.typescript.semanticTokens.enable) if you don't like it or it hurts the performance of your IDE. (#71)
  • (feat) better diagnostics (#753, #718)
  • (feat) add "Extract Component" command to context menu (#187)
  • (feat) bump prettier + make some prettier options configurable (#451 , #721)
  • (feat) expose the language server via VS Code's language client for experiments. This is considered private API, so use at your own risk! (#725)
  • (fix) add prefix/suffix to rename (#755)

BREAKING CHANGE

The bump to prettier-plugin-svelte 2.1.0 means that your code is now formatted differently if you do not have prettier-plugin-svelte in your project's node_modules. Read the changelog for all the changes.

103.0.0

08 Jan 14:08
c8718b3
Compare
Choose a tag to compare
  • (feat) if VS Code user disabled auto import suggestions in their config, don't show them (#695)
  • (feat) add sapper:prefetch attribute (#581)
  • (fix) no html hover info for Svelte components that have the same (case insensitive) name as a component (#711)
  • (fix) better autocompletion for global css vars. By making the label contain the var-part, it will show up more likely for users. (#521)
  • (fix) remove wrong import type autocompletions (#687)
  • (fix) comma operator in {@debug ..} tag (#739)
  • (fix) don't transform properties of interfaces/types/classes that start with a $ (#691)
  • (fix) add path svg and as attribute (#745) (#741)
  • (fix) update capture attribute (#728)
  • (fix) more robust syntax highlighting (#743)

BREAKING CHANGES

  • Bump to new language server protocol version 3.16 with corresponding types. Also bump vscode-languageserver/languageclient. The VS Code extension now requires a minimum version of 1.52.0 (#171)

102.8.0

11 Dec 13:58
4862c8d
Compare
Choose a tag to compare
  • (feat) restart language server when tsconfig/jsconfig changed
  • (feat) prettier/emmet VS Code setting updates are now reflected in the LSP (#709)
  • (feat) option to disable emmet for html/css (#708, #677)
  • (fix) only search for imports to update when ts/js/svelte/json file paths changed
  • (fix) add part attribute (#703)
  • (fix) Fall back to any-type when a prop has no fallback value in JS (#697)
  • (fix) Transform if-blocks to ternaries. This way the TypeScript control flow will be broken in less instances of nested if-blocks (#619)

102.7.0

04 Dec 13:49
bed66a1
Compare
Choose a tag to compare
  • (feat) imports now adhere to your ts/js module-ending/quote-style user preferences (#681)
  • (fix) syntax highlighting for each/await when there is a variable that starts with as/then (#692)
  • (fix) syntax highlighting inside template (#694)

102.6.0

25 Nov 10:10
e72c8c4
Compare
Choose a tag to compare
  • (feat) brand new syntax highlighting grammar which gives more fine granular options to color Svelte specific syntax. See here for how to adjust the colors, if you don't like some of the colors your theme chooses. (#657)
  • (fix) import completion: Insert inside script when it's not the first import and module script present (#660)
  • (fix) handle negative lines in mapper (#666)
  • (fix) event handler typing (#672)
  • (fix) make <any>variable usage possible by transform it to a variable as any expression (#477)
  • (fix) ignore html end-tag-like inside moustache (#309)
  • (fix) better tyings for svelte2tsx class generation function (#686)