Releases: vuejs/language-tools
v2.0.28
Features
- vscode: focus mode Insiders (volarjs/insiders#24)
- language-core: Plugin API 2.1
- Added plugin hooks:
getLanguageId
,isValidFile
,parseSFC2
- Improve backward compatibility (#4585) - Thanks @zhiyuanzmj
- Added plugin hooks:
- language-core: support default prop when using __typeProps (#4602) - Thanks @zhiyuanzmj
- language-core: improve nested plugins (#4581) - Thanks @zhiyuanzmj
- language-service: remove
v-bind
code action (#4601) - vscode: add empty pattern to codeblock attributes scope (#4590) - Thanks @KermanX
Fixes
- tsc: errors should be thrown instead of being console.log printed
- language-server: observe named pipes changes when server startup (#4292)
- language-core: infer define model type from options type (#4545) - Thanks @davidmatter
- language-core: type-checking not working with hyphen in slot name with JS (#4478) - Thanks @KermanX
- language-core: add type check for v-model without argument (#4598) - Thanks @zhiyuanzmj
- language-service: filter special tags (#4596) - Thanks @so1ve
- typescript-plugin: improve named pipes reliability (#4603)
- language-core: property access is incorrectly identified as compound expression (#4600)
- language-core: fix compatibility of generic component virtual code with TS 5.5 (#4577)
- tsc: TS4082 not reported for functional component (#4569)
Other Changes
- Upgraded Volar from
v2.4.0-alpha.15
tov2.4.0-alpha.18
: - Fix yarn 4 compatibility (#4587)
- Add vue vine to hybrid mode compatible list (#4543) - Thanks @so1ve
- Add global components prop validation test (#4542) - Thanks @davidmatter
Please refer to CHANGELOG.md for details.
Sponsors
v2.0.26
Features
- language-service: Support auto-complete for more preprocessing languages.
- language-core: Improve type compatibility with Vue 3.5. (#4474) - Thanks, @zhiyuanzmj.
Bug Fixes
- vscode: Fix insider version display condition. Insiders
- language-service: Fix
vue-twoslash-queries
not working in LSP mode. - language-service: Add null handling for script tag completion items. (#4520)
- language-core: Fix
any
in templates if the first checked file was not root. (#4526) - Thanks, @daniluk4000.
Other Changes
- Upgraded Volar from
v2.4.0-alpha.2
tov2.4.0-alpha.15
:- Fixed an issue where, when Hybrid Mode is disabled, TS support for Vue files not included in tsconfig may be missing.
- Improved the consistency of
vue-tsc
andtsc
behavior. (#3526) - Fixed the
--clean
flag support forvue-tsc
.
- Updated the high-level overview mermaid diagram.
- Added 'expected' and 'actually happening' sections to the bug report template. (#4515) - Thanks, @davidmatter.
Please refer to CHANGELOG.md for details.
Sponsors
v2.0.24
Features
- vscode: pop message box if new insiders version available insiders
- vscode: if insiders versions information failed to fetch from GitHub, try to fetch from CDN insiders
- language-service: better sfc-level tag name completion (#4506) - Thanks @KermanX
Bug Fixes
- tsc: update required volar version (#4498) - Thanks @davidmatter
- tsc: bump peer typescript version (#4513) - Thanks @so1ve
Refactors
- language-server: reorganize the code structure (#4507)
Other Changes
- Upgrade Volar from
v2.3.1
tov2.4.0-alpha.2
.- Hybrid Mode compatibility improvements with other TS plugins (volarjs/volar.js#216)
- docs: add nvim-cmp integration (#4463) - Thanks @RayGuo-ergou
- docs: update mermaid
- The following extensions have been added to Hybrid Mode’s compatibility whitelist (#4206):
p42ai.refactor
nrwl.angular-console
styled-components.vscode-styled-components
Divlo.vscode-styled-jsx-languageserver
Please refer to CHANGELOG.md for details.
Sponsors
v2.0.22
Bug Fixes
- vscode: directive syntax highlighting (#4482) - Thanks @KermanX
- language-core: move declare defineProp out of function scope (#4454) - Thanks @zhiyuanzmj
- language-core: compatible with TS 5.5 (#4492)
Other Changes
- Upgrade Volar from
v2.3.0-alpha.14
tov2.3.1
.- Error tolerant to
contentChanges
length (#4457)
- Error tolerant to
- Add feature request template (#4490) - Thanks @so1ve
- docs: fix wrong links in CHANGELOG.md (#4475) - Thanks @KermanX
Please refer to CHANGELOG.md for details.
Insiders Program 🚀
This project is community-driven. If you would like to support this project, consider joining the Insiders Program to improve the sustainability of this project and unlock more features.
Sponsors
v2.0.21
Bug Fixes
- fix(typescript-plugin): TS plugin cause type checking broken in .ts files (#4453)
Please refer to CHANGELOG.md for details.
Insiders Program 🚀
This project is community-driven. If you would like to support this project, consider joining the Insiders Program to improve the sustainability of this project and unlock more features.
Sponsors
v2.0.20
Features
- feat(language-service): add localization support for zh-hk/zh-tw
- feat(vscode): enable syntax highlighting of cue code blocks in MDX (#4425) - Thanks @remcohaszing
Bug Fixes
- fix(vscode): fix "as"/"instanceof" expressions syntax highlight (#4412)
- fix(language-core):
ForIteratorExpression
'sreturns
property may be undefined (#4418) - Thanks @so1ve - fix(language-core): use defineEmits calls instead of type infer (#4430) - Thanks @zhiyuanzmj
- fix(tsc): log catched errors to console (#4451) - Thanks @mik3ybark3r
- fix(typescript-plugin): TS not working in template when tsconfig missing (#4452)
- fix(language-core): use type infer instead of await import (#4436) - Thanks @zhiyuanzmj
- feat(language-core): ignore type error for new functional component (#4445) - Thanks @zhiyuanzmj
- fix(language-core): ignore type error for possible component name (#4446) - Thanks @zhiyuanzmj
- fix(language-service): filter internal props in template completion
- fix(language-service): sort component props in template completion
- fix(language-core): duplicate completion appears at the beginning of script setup block
Other Changes
- Upgrade Volar from
v2.2.4
tov2.3.0-alpha.14
.- LSP server performance improved
- Language server now responds with the exact server capabilities for initialization requests
- Auto insertion requests can now exit early in the language client
- The following extensions have been added to Hybrid Mode’s compatibility whitelist:
kimuson.ts-type-expand
- Thanks @zcf0508
Please refer to CHANGELOG.md for details.
Insiders Program 🚀
This project is community-driven. If you would like to support this project, consider joining the Insiders Program to improve the sustainability of this project and unlock more features.
Sponsors
v2.0.19
Bug Fixes
- language-core: property 'xyz' does not exist on type 'abc' when using v-for (#4386)
- language-core: avoid report error when events do not accept parameters (#4387)
- language-core: inline dynamic event handlers should not expect commas (#4387)
Please refer to CHANGELOG.md for details.
Insiders Program 🚀
This project is community-driven. If you would like to support this project, consider joining the Insiders Program to improve the sustainability of this project and unlock more features.
Sponsors
v2.0.18
Features
- language-core: report unknown events when strictTemplates is enabled (#3718)
- language-core: add
compileSFCScript
plugin hook (#3200) - vscode: add coffeescript syntax highlight support
Bug Fixes
- language-core: fix event handler type for hyphen-case event names
- language-core: allow binding multiple events with the same name (#4369)
- language-core: variable used in
key
appears as unused in v-for template tag (#329) (#3421) - language-core: generics with slots don't work with Vue 2.7 (#3241)
- language-core: template language of .md files should be markdown (#4299)
- language-core: no template class links when
experimentalResolveStyleCssClasses
is set toalways
(#4379)
Other Changes
- Upgrade Volar from
v2.2.2
tov2.2.4
.- Fixed a few URI conversion issues
- fix(typescript): empty items list should be valid completion result (#4368)
- fix(typescript): path completion not working for meta files
- Upgrade Volar services from
v0.0.44
tov0.0.45
.- fix(typescript-twoslash-queries): inlay hints not working
- fix(css, html, json, yaml): failed to resolve relative path
- feat(emmet): port VSCode emmet extension client logic (volarjs/services#95)
- The following extensions have been added to Hybrid Mode’s compatibility whitelist:
miaonster.vscode-tsx-arrow-definition
runem.lit-plugin
Please refer to CHANGELOG.md for details.
Insiders Program 🚀
This project is community-driven. If you would like to support this project, consider joining the Insiders Program to improve the sustainability of this project and unlock more features.
Sponsors
v2.0.17
Features
- language-core: add JSDoc support for component (#2377)
- language-core: add JSDoc support for script setup binding variables (#3409)
- language-core: add class component support (#4354)
- language-service: re-support scoped class links in template (#4357)
- typescript-plugin: create script setup block when auto import if needed
- typescript-plugin: add JSDoc support for events in template (#4365)
- component-meta: add JSDoc tags support for events
- language-core: support defineOptions (#4362) - Thanks @zhiyuanzmj
Bug Fixes
- language-core: hover not working for intrinsic element event name
- language-core: showing false declared but not used errors for functions used in
v-on="{}"
(#4333) - language-core: fix nameless event expression formatting
- language-core: types imported in the
<script setup>
should not be used as a variable in template (#4353) - language-core: renaming classname within
scoped
not working (#4355) - language-core:
<style>
completions and html custom data completions not provided in some cases (#4092) - language-core: improve code action edits mapping fault tolerance
- language-core: support defineModel for generic component (#4345) - Thanks @zhiyuanzmj
- language-service: completion cannot trigger in SFC root
- component-meta:
forceUseTs
options not working
Other Changes
- Upgrade Volar from
v2.2.0
tov2.2.2
.- fix(language-server): pass correct languageId when creating virtual code (volarjs/volar.js#173)
- fix(typescript): additional completion not working in plugin (#4323)
- Upgrade Volar services from
v0.0.42
tov0.0.44
.- feat(typescript): code action edits respect editor formatting settings (volarjs/services#30)
- fix(typescript): not being able to jump to shims module definition
- fix(typescript):
allowTextChangesInNewFiles
never true for embedded documents - perf(typescript): check
command
resolve capability only for specific refactors (volarjs/services#94)
- The following extensions have been added to Hybrid Mode’s compatibility whitelist:
mxsdev.typescript-explorer
- Deprecated
vueCompilerOptions.experimentalUseElementAccessInTemplate
- Specify
packageManager
(#4358) - Thanks @so1ve - docs: emoved possibly redundant duplicate reference (#4348) - Thanks @artshade
- language-service: temporarily remove references codeLens (#4364)
Please refer to CHANGELOG.md for details.
Insiders Program 🚀
This project is community-driven. If you would like to support this project, consider joining the Insiders Program to improve the sustainability of this project and unlock more features.
Sponsors
v2.0.16
Bug Fixes
- language-core: virtual document language ID is not updated when changing SFC style block lang
- language-core: correct logic for
defineSlots
destructuring (#4326) - Thanks @zhiyuanzmj - language-core: ObjectDirective does not work with
defineSlots
(#4327) - language-service: emmet not working in postcss style block (volarjs/volar.js#169)
Other Changes
- Upgrade to Volar 2.2
- language-core: export
VueEmbeddedCode
(#4265) - Thanks @zhiyuanzmj - typescript-plugin: expose
FileRegistry
toproject.program
(#3963) - Thanks @zcf0508 - vscode: remove outdated formatters section (#4243) - Thanks @BBboy01
Please refer to CHANGELOG.md for details.
Insiders Program 🚀
This project is community-driven. If you would like to support this project, consider joining the Insiders Program to improve the sustainability of this project and unlock more features.