chore(deps): update dependency @volar/typescript to v2
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| @volar/typescript (source) | ~1.11.1 -> ~2.2.4 |
Release Notes
volarjs/volar.js (@volar/typescript)
v2.2.4
Bug Fixes
- typescript: path completion not working for meta files
v2.2.3
Bug Fixes
- typescript: empty items list should be valid completion result vuejs/language-tools#4368
- typescript: deduplication when merging hover infos #178
- language-service: transforming volar embedded URIs in markdown #180 - Thanks @remcohaszing
- language-server: memorize URI conversion results of synchronized documents #181
v2.2.2
Bug Fixes
- typescript: TS plugin only displays the first hover info
-
language-core:
isRenameEnabledrespectCodeInformation.navigation.shouldRename - test-utils: use stdio transport for test server #175
v2.2.1
Features
- language-server: restored support for "Reload Project" command
Bug Fixes
- typescript: additional completion not working in TS plugin vuejs/language-tools#4323
- language-server: pass correct languageId when creating virtual code #173
v2.2.0
Features
Bug Fixes
-
typescript:
runTsccannot display source code for errors vuejs/language-tools#4099 -
typescript:
runTsccannot 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.tsfile - 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
-
typescript: fix
runTscperformance regression since 2.0 vuejs/language-tools#4238 -
typescript:
runTsccache module resolution result vuejs/language-tools#4177
Refactors
- More accurate interface design and terminology #154
- language-server: architecture improvements #167
-
language-server: remove
ConfigurationHostabstract -
language-service: expose changed setting sections on
onDidChangeConfiguration -
language-service:
ServiceContext.injectmethod return nullable -
typescript:
decorateLanguageServiceHostless side effects #160 -
language-core: make
CodeInformationproperties optional - language-core: resolved language ID by LangaugePlugin #168
v2.1.6
Bug Fixes
- typescript: ts plugin cannot generate embedded code for .ts files
- typescript: handle mapping for formatting APIs in plugin vuejs/language-tools#4066
- typescript: handle mapping for file rename API in plugin vuejs/language-tools#3646
- typescript: semantic tokens range param does not mapped correctly vuejs/language-tools#3934 vuejs/language-tools#3935
v2.1.5
Bug Fixes
-
language-server:
GetVirtualCodeRequestincorrectly responses empty vritual code if no mappings - typescript: mark the parent directory as exists when created a file
v2.1.4
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 (https://github.com/withastro/language-tools/issues/685)
v2.1.3
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
SemanticTokentuple members -
vscode: migrate from
StatusBarItemtoLanguageStatusItem
v2.1.2
Bug Fixes
- typescript: reverted f041c79 as it caused severe performance regressions vuejs/language-tools#4024
v2.1.1
Bug Fixes
-
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
Refactors
v2.1.0
Features
-
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
Refactors
-
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.
-
Bug Fixes
- 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
v2.0.4
Features
- ci: integrate with https://github.com/volarjs/ecosystem-ci
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 (https://github.com/withastro/language-tools/issues/788)
v2.0.3
Features
- labs: recognize Glint and other file extensions via reading installed extensions language configuration
- labs: improve mapping decorations display
Bug Fixes
- labs: extension keeps sending requests when output panel is opened
- language-service: transform markdown links for hover content (https://github.com/mdx-js/mdx-analyzer/issues/394)
- typescript: unable to resolve import path based on package export (https://github.com/withastro/language-tools/issues/778)
v2.0.2
Bug Fixes
- 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
v2.0.1
Features
-
typescript: expose
FileRegistryinproxyCreateProgram()#128 - typescript: re-support extra virtual scripts for LSP and Kit #132
Bug Fixes
-
vscode: update
currentLabsVersionto2 -
typescript: remove mistakenly published scripts
lib/quickstart/create(Async)TSServerPlugin, please uselib/quickstart/create(Async)LanguageServicePlugininstead of
v2.0.0
Please refer to #85 for details.
Configuration
📅 Schedule: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| repl | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jun 9, 2024 1:52am |
Renovate Ignore Notification
Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 2.x releases. But if you manually upgrade to 2.x then Renovate will re-enable minor and patch updates automatically.
If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.