2.1.5 (2024-03-23)
- language-server:
GetVirtualCodeRequestincorrectly responses empty vritual code if no mappings - typescript: mark the parent directory as exists when created a file
2.1.4 (2024-03-22)
- test-utils: add 3 APIs:
updateTextDocument,updateConfiguration,didChangeWatchedFiles
- 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)
2.1.3 (2024-03-20)
- typescript: fix emit signature to enable incremental work to function properly #150 - thanks @skywalker512
- language-server: also consider deletions for getRootFiles #152 - thanks @Princesseuh
- language-service: add name for
SemanticTokentuple members - vscode: migrate from
StatusBarItemtoLanguageStatusItem
2.1.2 (2024-03-07)
- typescript: reverted f041c79 as it caused severe performance regressions vuejs/language-tools#4024
2.1.1 (2024-03-05)
- test-utils: allow unknown initialization options and expose
localeoption #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
2.1.0 (2024-02-26)
- language-service: more reliable embedded code formatting #138
- Embedded code indentation is no longer handled by
@volar/language-service, but instead calculated and passed asinitialIndentLevel, which is then reliably handled by ServicePlugin for additional indentation in specific languages. - The
provideDocumentFormattingEditsandprovideOnTypeFormattingEditsAPIs now accept theEmbeddedCodeFormattingOptionsparameter, which includesinitialIndentLevel. - Formatting ranges are now correctly mapped to embedded code formatting ranges.
- Removed the no longer needed
ServicePlugin.provideFormattingIndentSensitiveLinesAPI. - No longer relies on the conventional
volar.format.initialIndenteditor setting. - Added
ServicePlugin.resolveEmbeddedCodeFormattingOptionsAPI, allowing downstream tools to modify theinitialIndentLevelpassed to ServicePlugin based on custom settings (replacingvolar.format.initialIndent).
- Embedded code indentation is no longer handled by
- test-utils: server tester support
ClientCapabilitiesparam forinitialize()API - test-utils: server tester expose
sendDocumentRangeFormattingRequestRequest()andshutdown()API - language-core: make embeddedCodes optional in VirtualCode #137
- language-server: SemanticTokens requests are no longer delayed by 200ms
- language-server: APIs updates #140
createSimpleProjectProviderhas been renamed tocreateSimpleProjectProviderFactoryand needs to be invoked with no arguments.createTypeScriptProjectProviderhas been renamed tocreateTypeScriptProjectProviderFactoryand needs to be invoked with a TS module as an argument.- Deprecate
typescript#tsdk,typescript#tsdkUrl,ignoreTriggerCharactersinitialization options. - Deprecate
fullCompletionListinitialization option. #139 - Remove experimental
provideDiagnosticMarkupContentAPI.
- language-server: language features not working for untitled documents #135
- language-server:
pushDiagnosticsshould not be notified when closing a file if server push diagnostics are not enabled - language-service
provideSelectionRangesAPI multiple result merging method is inconsistent with VSCode - language-service
provideDocumentSemanticTokensAPI'srangeparam is not mapped to virtual code - language-service
provideDocumentFormattingEditsAPI'srangeparam is not accurately mapped to virtual code #136 - language-service fix caching of semantic diagnostics #141
- test-utils: invalidate cache when calling
openInMemoryDocument() - monaco:
insertTextandrangeproperties of completion item not converted correctly - typescript:: ts plugin incorrectly resolve module name
2.0.4 (2024-02-13)
- ci: integrate with https://github.com/volarjs/ecosystem-ci
- 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)
2.0.3 (2024-02-10)
- labs: recognize Glint and other file extensions via reading installed extensions language configuration
- labs: improve mapping decorations display
- labs: extension keeps sending requests when output panel is opened
- language-service: transform markdown links for hover content (mdx-js/mdx-analyzer#394)
- typescript: unable to resolve import path based on package export (withastro/language-tools#778)
2.0.2 (2024-02-08)
- labs: extension not working with framework version 2.0.0
- typescript: remove runtime dependency on
@volar/language-service - typescript: additional completion not working in ts plugin
- typescript: remove warning when
allowNonTsExtensionsis not set
2.0.1 (2024-02-05)
- typescript: expose
FileRegistryinproxyCreateProgram()#128 - typescript: re-support extra virtual scripts for LSP and Kit #132
- vscode: update
currentLabsVersionto2 - typescript: remove mistakenly published scripts
lib/quickstart/create(Async)TSServerPlugin, please uselib/quickstart/create(Async)LanguageServicePlugininstead of
2.0.0 (2024-01-21)
Please refer to #85 for details.