Releases: volarjs/volar.js
Releases Β· volarjs/volar.js
v2.3.0
Features
- language-core: added option to resolve hidden extensions (#190)
- language-core: reimplemented multi-source mapping (#194)
- language-core: completed support for multi-source mapping in plugin mode (#197) - Thanks @piotrtomiak
- language-server: added support for Workspace Diagnostics (#199)
- language-server: accurately defined language server capabilities (#185)
- typescript: added option to prevent offset in plugin mode (#191)
Bug Fixes
- language-service: fixed conversion of markdown links
- vscode: showed error on missing TypeScript lib (#195) - Thanks @msujew
- monaco: fixed Monaco selection ranges conversion (#198) - Thanks @remcohaszing
Performance
- vscode: auto insertion request now exits early on vscode (#157)
- language-server: improved snapshot reusability (#196)
- typescript: skips
searchExternalFiles
if extra extensions are empty
Refactors
- typescript: added
setup
option forcreateLanguageServicePlugin
,createAsyncLanguageServicePlugin
- language-core:
LanguagePlugin
now requires the first generic parameter to specify the script ID type - language-core:
updateVirtualCode
is now optional, if not provided,createVirtualCode
is always called to update source script - language-server:
createTypeScriptProjectProvider
has been renamed tocreateTypeScriptProject
- language-server:
createSimpleProjectProvider
has been renamed tocreateSimpleProject
- language-server: no longer handles
@vscode/l10n
- language-server: removed
InitializationOptions
interface - language-service: LSP related logic has been changed to be completely based on URI (#182)
- language-service:
LanguageServiceEnvironment#workapceFolder
is now a URI array and has been renamed toworkspaceFolders
- language-service:
provideAutoInsertionEdit
has been renamed toprovideAutoInsertSnippet
- language-service: normalized
LanguageService
API name format - labs: Codegen Stacks debug feature has been removed (#184)
Please refer to CHANGELOG.md for details.
Sponsors
v2.2.5
Features
- source-map: add API to support generated code with different length than original code #183 - Thanks @piotrtomiak
Please refer to CHANGELOG.md for details.
Sponsors
v2.2.4
Bug Fixes
- typescript: path completion not working for meta files
Please refer to CHANGELOG.md for details.
Sponsors
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
Please refer to CHANGELOG.md for details.
Sponsors
v2.2.2
Bug Fixes
- typescript: TS plugin only displays the first hover info
- language-core:
isRenameEnabled
respectCodeInformation.navigation.shouldRename
- test-utils: use stdio transport for test server #175
Please refer to CHANGELOG.md for details.
Sponsors
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
Please refer to CHANGELOG.md for details.
Sponsors
v2.2.0
Features
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
- typescript: fix
runTsc
performance regression since 2.0 vuejs/language-tools#4238 - typescript:
runTsc
cache module resolution result vuejs/language-tools#4177
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
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
Please refer to CHANGELOG.md for details.
(This project is mainly supported by StackBlitz)
Our Platinum Sponsors
Our Silver Sponsors
v2.1.5
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
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)