Releases: vuejs/language-tools
v2.0.5
Important
If the TypeScript language server crashes since 2.0, please try using VSCode Insiders and install JavaScript and TypeScript Nightly, or temporarily downgrade to 1.8.27.
Issue: #3962
If false positive errors occurs, please try disabling unrelated extensions in the Vue workspace.
Issue: #3942
Features
- language-core: support
v-bindshorthand (#3990) - thanks @so1ve - language-service: support inlay hints for
v-bindshorthand (#3990) - thanks @so1ve - vscode: prompt to disable Svelte extension in Vue workspace to avoid conflicts
Fixes
- typescript-plugin: fault tolerance for named pipe server data
- language-core: avoid
globalTypesHolderbeing specified from anode_modulesfile (#3990) - language-core: fault tolerance for plugin creation
- language-plugin-pug: failed to load due to an invalid require path (#3930)
- typescript-plugin: custom extensions do not work (#3977)
- language-service: html custom data not working (#3975)
Refactors
- typescript-plugin add README (#3974) - thanks @WhyNotHugo
- component-meta update demo (#3994) - thanks @zzfn
Please refer to CHANGELOG.md for details.
(This project is mainly supported by StackBlitz)
Our Platinum Sponsors
|
Our Silver Sponsors
|
|
v2.0.0
New Features
- Hybrid Mode
- Takeover Mode has been deprecated. The extension now has the same performance as Takeover Mode by default.
- TypeScript language support has been moved from Vue language server to TypeScript plugin (#3788)
- Integrated all TypeScript editor features
- Warn when internal TypeScript extension is disabled or "TypeScript Vue Plugin" extension is installed
- Migrated to named pipe server using TypeScript LanguageService (#3908, #3916)
typescript.tsdkduplicate registration errors are no longer reported- language-service: reimplemented component tag semantic tokens in TypeScript plugin (#3915)
- language-service: reimplemented auto-import patching in TypeScript plugin (#3917)
- language-service: ensured tsserver readiness when requesting auto insert
.value(#3914)
- Upgraded to Volar 2.0 and 2.1 (#3736, #3906)
- vscode: extension now compatible with Volar Labs v2
- vscode: removed
volar.format.initialIndentoption, replaced with 3 new options:vue.format.template.initialIndentvue.format.script.initialIndentvue.format.style.initialIndent
- language-server:
ignoreTriggerCharacters,reverseConfigFilePriorityandfullCompletionListoptions are no longer supported
- Supported Component Drag and Drop Import (#3692)
- tsc: supported
vueCompilerOptions.extensionsoption (#3800) - language-core: achieved compatibility with Vue 3.4 type changes (#3860)
Fixes
- vscode: prevented reading undefined properties in non-VS Code editors (#3836)
- vscode: prevented extension activation with TS files
- vscode: corrected trace server ID
- language-core: implemented emit codegen for defineModel (#3895)
- language-core: addressed transition type incompatibility with Vue 2.7.16 (#3882)
- language-core: excluded vue directive syntax injection in Angular bindings (#3891)
- component-type-helpers: resolved inference issue for Vue 3.4.20 functional component
Refactors
- Renamed "Volar Language Features (Volar)" extension to "Vue - Official"
- "TypeScript Vue Plugin" extension has been deprecated
- Relocated source scripts from
srctolib(#3913) - Replaced
typescript/lib/tsserverlibraryimports withtypescript - language-core: implemented codegen based on Generator (#3778)
- language-core: generated global types in a single virtual file (#3803)
- language-core: implemented plugin API v2 (#3918)
- language-core: ignored nested codeblocks in markdown file (#3839)
- language-core: removed
experimentalAdditionalLanguageModulesand deprecated APIs (#3907) - language-service: made service plugins independent of project context
- language-server:
volar.config.jsis no longer supported - component-meta: renamed APIs
- typescript-plugin: renamed package to
@vue/typescript-plugin(#3910) - tsc: rewritten based on first-party TS API and no longer relies on TypeScript module (#3795)
- tsc: deprecated hooks API (#3793)
Please refer to CHANGELOG.md for details.
(This project is mainly supported by StackBlitz)
Our Platinum Sponsors
|
Our Silver Sponsors
|
|
v1.8.0
2.0 schedule has been postponed: #3294
Highlights
-
Support for Scripts API
If you want to use the formatting feature through the Scripts API, please refer to #3133.
If you want to use the diagnostic feature through the Scripts API, please refer to https://github.com/withastro/language-tools/blob/main/packages/language-server/src/check.ts.
-
Support for Volar.js Labs (Ref)
-
Improved Vue 3.3 syntax support
-
TS 5.1.3 compatible
-
Upgrade to Volar.js 1.7 to big improve support for Monaco and TypeScript IntelliSense for Web
-
Support for new
@vue-ignore,@vue-skip,@vue-expect-errordirective comments syntax (#3215)
Breaking changes
-
volar.config.jspluginsoption has been renamed toservices -
Renaming packages from
@volar/vue-*to@vue/*(#3134)
Please refer to CHANGELOG.md for details.

