vuejs/language-tools (@vue/language-service)
### [`v2.0.21`](https://togithub.com/vuejs/language-tools/blob/HEAD/CHANGELOG.md#2021-2024-06-08)
[Compare Source](https://togithub.com/vuejs/language-tools/compare/v2.0.20...v2.0.21)
##### Bug Fixes
- fix(typescript-plugin): TS plugin cause type checking broken in .ts files ([#4453](https://togithub.com/vuejs/language-tools/issues/4453))
### [`v2.0.20`](https://togithub.com/vuejs/language-tools/blob/HEAD/CHANGELOG.md#2020-2024-06-08)
[Compare Source](https://togithub.com/vuejs/language-tools/compare/v2.0.19...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](https://togithub.com/vuejs/language-tools/issues/4425)) - Thanks [@remcohaszing](https://togithub.com/remcohaszing)
##### Bug Fixes
- fix(vscode): fix "as"/"instanceof" expressions syntax highlight ([#4412](https://togithub.com/vuejs/language-tools/issues/4412))
- fix(language-core): `ForIteratorExpression`'s `returns` property may be undefined ([#4418](https://togithub.com/vuejs/language-tools/issues/4418)) - Thanks [@so1ve](https://togithub.com/so1ve)
- fix(language-core): use defineEmits calls instead of type infer ([#4430](https://togithub.com/vuejs/language-tools/issues/4430)) - Thanks [@zhiyuanzmj](https://togithub.com/zhiyuanzmj)
- fix(tsc): log catched errors to console ([#4451](https://togithub.com/vuejs/language-tools/issues/4451)) - Thanks [@mik3ybark3r](https://togithub.com/mik3ybark3r)
- fix(typescript-plugin): TS not working in template when tsconfig missing ([#4452](https://togithub.com/vuejs/language-tools/issues/4452))
- fix(language-core): use type infer instead of await import ([#4436](https://togithub.com/vuejs/language-tools/issues/4436)) - Thanks [@zhiyuanzmj](https://togithub.com/zhiyuanzmj)
- feat(language-core): ignore type error for new functional component ([#4445](https://togithub.com/vuejs/language-tools/issues/4445)) - Thanks [@zhiyuanzmj](https://togithub.com/zhiyuanzmj)
- fix(language-core): ignore type error for possible component name ([#4446](https://togithub.com/vuejs/language-tools/issues/4446)) - Thanks [@zhiyuanzmj](https://togithub.com/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` to `v2.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](https://togithub.com/zcf0508)
### [`v2.0.19`](https://togithub.com/vuejs/language-tools/blob/HEAD/CHANGELOG.md#2019-2024-05-16)
[Compare Source](https://togithub.com/vuejs/language-tools/compare/v2.0.18...v2.0.19)
##### Bug Fixes
- **language-core:** property 'xyz' does not exist on type 'abc' when using v-for ([#4386](https://togithub.com/vuejs/language-tools/issues/4386))
- **language-core:** avoid report error when events do not accept parameters ([#4387](https://togithub.com/vuejs/language-tools/issues/4387))
- **language-core:** inline dynamic event handlers should not expect commas ([#4387](https://togithub.com/vuejs/language-tools/issues/4387))
### [`v2.0.18`](https://togithub.com/vuejs/language-tools/blob/HEAD/CHANGELOG.md#2018-2024-05-15)
[Compare Source](https://togithub.com/vuejs/language-tools/compare/v2.0.17...v2.0.18)
##### Features
- **language-core:** report unknown events when strictTemplates is enabled ([#3718](https://togithub.com/vuejs/language-tools/issues/3718))
- **language-core:** add `compileSFCScript` plugin hook ([#3200](https://togithub.com/vuejs/language-tools/issues/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](https://togithub.com/vuejs/language-tools/issues/4369))
- **language-core:** variable used in `key` appears as unused in v-for template tag ([#329](https://togithub.com/vuejs/language-tools/issues/329)) ([#3421](https://togithub.com/vuejs/language-tools/issues/3421))
- **language-core:** generics with slots don't work with Vue 2.7 ([#3241](https://togithub.com/vuejs/language-tools/issues/3241))
- **language-core:** template language of .md files should be markdown ([#4299](https://togithub.com/vuejs/language-tools/issues/4299))
- **language-core:** no template class links when `experimentalResolveStyleCssClasses` is set to `always` ([#4379](https://togithub.com/vuejs/language-tools/issues/4379))
##### Other Changes
- Upgrade Volar from `v2.2.2` to `v2.2.4`.
- Fixed a few URI conversion issues
- fix(typescript): empty items list should be valid completion result ([#4368](https://togithub.com/vuejs/language-tools/issues/4368))
- fix(typescript): path completion not working for meta files
- Upgrade Volar services from `v0.0.44` to `v0.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 ([https://github.com/volarjs/services/issues/95](https://togithub.com/volarjs/services/issues/95))
- The following extensions have been added to Hybrid Mode’s compatibility whitelist:
- `miaonster.vscode-tsx-arrow-definition`
- `runem.lit-plugin`
### [`v2.0.17`](https://togithub.com/vuejs/language-tools/blob/HEAD/CHANGELOG.md#2017-2024-05-10)
[Compare Source](https://togithub.com/vuejs/language-tools/compare/v2.0.16...v2.0.17)
##### Features
- **language-core:** add JSDoc support for component ([#2377](https://togithub.com/vuejs/language-tools/issues/2377))
- **language-core:** add JSDoc support for script setup binding variables ([#3409](https://togithub.com/vuejs/language-tools/issues/3409))
- **language-core:** add class component support ([#4354](https://togithub.com/vuejs/language-tools/issues/4354))
- **language-service:** re-support scoped class links in template ([#4357](https://togithub.com/vuejs/language-tools/issues/4357))
- **typescript-plugin:** create script setup block when auto import if needed
- **typescript-plugin:** add JSDoc support for events in template ([#4365](https://togithub.com/vuejs/language-tools/issues/4365))
- **component-meta:** add JSDoc tags support for events
- **language-core:** support defineOptions ([#4362](https://togithub.com/vuejs/language-tools/issues/4362)) - Thanks [@zhiyuanzmj](https://togithub.com/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](https://togithub.com/vuejs/language-tools/issues/4333))
- **language-core:** fix nameless event expression formatting
- **language-core:** types imported in the ` Githubissues.
Githubissues is a development platform for aggregating issues.
This PR contains the following updates:
1.9.0-alpha.3
->2.0.21
Release Notes
vuejs/language-tools (@vue/language-service)
### [`v2.0.21`](https://togithub.com/vuejs/language-tools/blob/HEAD/CHANGELOG.md#2021-2024-06-08) [Compare Source](https://togithub.com/vuejs/language-tools/compare/v2.0.20...v2.0.21) ##### Bug Fixes - fix(typescript-plugin): TS plugin cause type checking broken in .ts files ([#4453](https://togithub.com/vuejs/language-tools/issues/4453)) ### [`v2.0.20`](https://togithub.com/vuejs/language-tools/blob/HEAD/CHANGELOG.md#2020-2024-06-08) [Compare Source](https://togithub.com/vuejs/language-tools/compare/v2.0.19...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](https://togithub.com/vuejs/language-tools/issues/4425)) - Thanks [@remcohaszing](https://togithub.com/remcohaszing) ##### Bug Fixes - fix(vscode): fix "as"/"instanceof" expressions syntax highlight ([#4412](https://togithub.com/vuejs/language-tools/issues/4412)) - fix(language-core): `ForIteratorExpression`'s `returns` property may be undefined ([#4418](https://togithub.com/vuejs/language-tools/issues/4418)) - Thanks [@so1ve](https://togithub.com/so1ve) - fix(language-core): use defineEmits calls instead of type infer ([#4430](https://togithub.com/vuejs/language-tools/issues/4430)) - Thanks [@zhiyuanzmj](https://togithub.com/zhiyuanzmj) - fix(tsc): log catched errors to console ([#4451](https://togithub.com/vuejs/language-tools/issues/4451)) - Thanks [@mik3ybark3r](https://togithub.com/mik3ybark3r) - fix(typescript-plugin): TS not working in template when tsconfig missing ([#4452](https://togithub.com/vuejs/language-tools/issues/4452)) - fix(language-core): use type infer instead of await import ([#4436](https://togithub.com/vuejs/language-tools/issues/4436)) - Thanks [@zhiyuanzmj](https://togithub.com/zhiyuanzmj) - feat(language-core): ignore type error for new functional component ([#4445](https://togithub.com/vuejs/language-tools/issues/4445)) - Thanks [@zhiyuanzmj](https://togithub.com/zhiyuanzmj) - fix(language-core): ignore type error for possible component name ([#4446](https://togithub.com/vuejs/language-tools/issues/4446)) - Thanks [@zhiyuanzmj](https://togithub.com/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` to `v2.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](https://togithub.com/zcf0508) ### [`v2.0.19`](https://togithub.com/vuejs/language-tools/blob/HEAD/CHANGELOG.md#2019-2024-05-16) [Compare Source](https://togithub.com/vuejs/language-tools/compare/v2.0.18...v2.0.19) ##### Bug Fixes - **language-core:** property 'xyz' does not exist on type 'abc' when using v-for ([#4386](https://togithub.com/vuejs/language-tools/issues/4386)) - **language-core:** avoid report error when events do not accept parameters ([#4387](https://togithub.com/vuejs/language-tools/issues/4387)) - **language-core:** inline dynamic event handlers should not expect commas ([#4387](https://togithub.com/vuejs/language-tools/issues/4387)) ### [`v2.0.18`](https://togithub.com/vuejs/language-tools/blob/HEAD/CHANGELOG.md#2018-2024-05-15) [Compare Source](https://togithub.com/vuejs/language-tools/compare/v2.0.17...v2.0.18) ##### Features - **language-core:** report unknown events when strictTemplates is enabled ([#3718](https://togithub.com/vuejs/language-tools/issues/3718)) - **language-core:** add `compileSFCScript` plugin hook ([#3200](https://togithub.com/vuejs/language-tools/issues/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](https://togithub.com/vuejs/language-tools/issues/4369)) - **language-core:** variable used in `key` appears as unused in v-for template tag ([#329](https://togithub.com/vuejs/language-tools/issues/329)) ([#3421](https://togithub.com/vuejs/language-tools/issues/3421)) - **language-core:** generics with slots don't work with Vue 2.7 ([#3241](https://togithub.com/vuejs/language-tools/issues/3241)) - **language-core:** template language of .md files should be markdown ([#4299](https://togithub.com/vuejs/language-tools/issues/4299)) - **language-core:** no template class links when `experimentalResolveStyleCssClasses` is set to `always` ([#4379](https://togithub.com/vuejs/language-tools/issues/4379)) ##### Other Changes - Upgrade Volar from `v2.2.2` to `v2.2.4`. - Fixed a few URI conversion issues - fix(typescript): empty items list should be valid completion result ([#4368](https://togithub.com/vuejs/language-tools/issues/4368)) - fix(typescript): path completion not working for meta files - Upgrade Volar services from `v0.0.44` to `v0.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 ([https://github.com/volarjs/services/issues/95](https://togithub.com/volarjs/services/issues/95)) - The following extensions have been added to Hybrid Mode’s compatibility whitelist: - `miaonster.vscode-tsx-arrow-definition` - `runem.lit-plugin` ### [`v2.0.17`](https://togithub.com/vuejs/language-tools/blob/HEAD/CHANGELOG.md#2017-2024-05-10) [Compare Source](https://togithub.com/vuejs/language-tools/compare/v2.0.16...v2.0.17) ##### Features - **language-core:** add JSDoc support for component ([#2377](https://togithub.com/vuejs/language-tools/issues/2377)) - **language-core:** add JSDoc support for script setup binding variables ([#3409](https://togithub.com/vuejs/language-tools/issues/3409)) - **language-core:** add class component support ([#4354](https://togithub.com/vuejs/language-tools/issues/4354)) - **language-service:** re-support scoped class links in template ([#4357](https://togithub.com/vuejs/language-tools/issues/4357)) - **typescript-plugin:** create script setup block when auto import if needed - **typescript-plugin:** add JSDoc support for events in template ([#4365](https://togithub.com/vuejs/language-tools/issues/4365)) - **component-meta:** add JSDoc tags support for events - **language-core:** support defineOptions ([#4362](https://togithub.com/vuejs/language-tools/issues/4362)) - Thanks [@zhiyuanzmj](https://togithub.com/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](https://togithub.com/vuejs/language-tools/issues/4333)) - **language-core:** fix nameless event expression formatting - **language-core:** types imported in the ` Githubissues.