Skip to content

Releases: volarjs/volar.js

v2.2.0

01 May 03:34
Compare
Choose a tag to compare

Features

  • Add ESLint integration #171
  • language-service: auto insertion does not abstract selection #156

Bug Fixes

  • typescript: runTsc cannot display source code for errors vuejs/language-tools#4099
  • typescript: runTsc cannot display source code for errors with --incremental #158 #162 - Thanks @wangshunnn
  • typescript: handle invalid references result
  • typescript: parameter hints not working in TS plugin vuejs/language-tools#3948
  • typescript: fault tolerance with TS file size assertion vuejs/language-tools#4278
  • typescript: TS plugin find reference result's definition span should be able to fall back to file root
  • typescript: prioritize resolving JS virtual script to matched .d.ts file
  • typescript: more inclusive performance rename operation vuejs/language-tools#4297
  • typescript: normalize filePath for language service APIs vuejs/language-tools#4297
  • typescript: avoid eagerly updating source scripts #166
  • vscode: newly created file failed to match tsconfig immediately vuejs/language-tools#4297
  • vscode: avoid crash when workspace tsdk does not exist
  • language-server: fault-tolerant URI translation #159
  • language-core: handle empty mappings in updateVirtualCodeMapOfMap #161 - Thanks @remcohaszing

Performance

Refactors

  • More accurate interface design and terminology #154
  • language-server: architecture improvements #167
  • language-server: remove ConfigurationHost abstract
  • language-service: expose changed setting sections on onDidChangeConfiguration
  • language-service: ServiceContext.inject method return nullable
  • typescript: decorateLanguageServiceHost less side effects #160
  • language-core: make CodeInformation properties optional
  • language-core: resolved language ID by LangaugePlugin #168

Please refer to CHANGELOG.md for details.

Sponsors

Special Sponsor

Stay in the flow with instant dev experiences.
No more hours stashing/pulling/installing locally

β€” just click, and start coding.

Platinum Sponsors

An approachable, performant and versatile framework for building web user interfaces.

Astro powers the world's fastest websites, client-side web apps, dynamic API endpoints, and everything in-between.

Essential tools for software developers and teams.

Silver Sponsors

Become a sponsor

v2.1.6

28 Mar 02:26
Compare
Choose a tag to compare

Bug Fixes

Please refer to CHANGELOG.md for details.


(This project is mainly supported by StackBlitz)

Our Platinum Sponsors

Our Silver Sponsors

v2.1.5

22 Mar 20:53
Compare
Choose a tag to compare

Bug Fixes

  • language-server: GetVirtualCodeRequest incorrectly responses empty vritual code if no mappings
  • typescript: mark the parent directory as exists when created a file

Please refer to CHANGELOG.md for details.


(This project is mainly supported by StackBlitz)

Our Platinum Sponsors

Our Silver Sponsors

v2.1.4

22 Mar 00:00
Compare
Choose a tag to compare

Features

  • test-utils: add 3 APIs: updateTextDocument, updateConfiguration, didChangeWatchedFiles

Bug Fixes

  • typescript: sys cache is not updated correctly in case sensitive file system #153
  • typescript: create a new file did not update sys cache (withastro/language-tools#685)

Please refer to CHANGELOG.md for details.


(This project is mainly supported by StackBlitz)

Our Platinum Sponsors

Our Silver Sponsors

v2.1.3

21 Mar 01:35
Compare
Choose a tag to compare

Bug Fixes

  • typescript: fix emit signature to enable incremental work to function properly #150 - thanks @skywalker512
  • language-server: also consider deletions for getRootFiles #152 - thanks @Princesseuh

Other Changes

  • language-service: add name for SemanticToken tuple members
  • vscode: migrate from StatusBarItem to LanguageStatusItem

Please refer to CHANGELOG.md for details.


(This project is mainly supported by StackBlitz)

Our Platinum Sponsors

Our Silver Sponsors

v2.1.2

21 Mar 01:28
Compare
Choose a tag to compare

Bug Fixes

Please refer to CHANGELOG.md for details.


(This project is mainly supported by StackBlitz)

Our Platinum Sponsors

Our Silver Sponsors

v2.1.1

05 Mar 14:03
Compare
Choose a tag to compare

Fixes

  • test-utils: allow unknown initialization options and expose locale option #142
  • typescript: virtual file update condition should be based generated snapshot rather than source script version
  • monaco: correct package name resolve on ATA #149
  • language-service: provideCodeActions's range param is not accurately mapped
  • language-service: provideInlayHints's range param is not accurately mapped

Refactors

  • Webpack compatibility #144
  • language-service: add provide generic to ServicePlugin type #143

Please refer to CHANGELOG.md for details.


(This project is mainly supported by StackBlitz)

Our Platinum Sponsors

Our Silver Sponsors

v2.1.0

26 Feb 05:09
Compare
Choose a tag to compare

Features

  • language-service: more reliable embedded code formatting #138

Refactors

  • test-utils: server tester support ClientCapabilities param for initialize() API
  • test-utils: server tester expose sendDocumentRangeFormattingRequestRequest() and shutdown() API
  • language-core: make embeddedCodes optional in VirtualCode #137
  • language-server: SemanticTokens requests are no longer delayed by 200ms
  • language-server: APIs updates #140

Bug Fixes

  • language-server: language features not working for untitled documents #135
  • language-server: pushDiagnostics should not be notified when closing a file if server push diagnostics are not enabled
  • language-service provideSelectionRanges API multiple result merging method is inconsistent with VSCode
  • language-service provideDocumentSemanticTokens API's range param is not mapped to virtual code
  • language-service provideDocumentFormattingEdits API's range param is not accurately mapped to virtual code #136
  • language-service fix caching of semantic diagnostics #141
  • test-utils: invalidate cache when calling openInMemoryDocument()
  • monaco: insertText and range properties of completion item not converted correctly
  • typescript:: ts plugin incorrectly resolve module name

Please refer to CHANGELOG.md for details.


(This project is mainly supported by StackBlitz)

Our Platinum Sponsors

Our Silver Sponsors

v2.0.4

13 Feb 00:57
Compare
Choose a tag to compare

Features

Bug Fixes

  • language-service: transform markdown links in completion items #133
  • typescript: typescript plugin module resolve behavior inconsistent with language server
  • typescript: typescript plugin breaks semantic highlighting for .ts files (withastro/language-tools#788)

Please refer to CHANGELOG.md for details.


(This project is mainly supported by StackBlitz)

Our Platinum Sponsors

Our Silver Sponsors

v2.0.3

09 Feb 18:51
Compare
Choose a tag to compare

Features

  • labs: recognize Glint and other file extensions via reading installed extensions language configuration
  • labs: improve mapping decorations display

Bug Fixes

Please refer to CHANGELOG.md for details.


(This project is mainly supported by StackBlitz)

Our Platinum Sponsors

Our Silver Sponsors