vuejs/language-tools (vue-tsc)
### [`v2.1.8`](https://redirect.github.com/vuejs/language-tools/blob/HEAD/CHANGELOG.md#218-supofficialsup-219-supinsiderssup-2024-10-26)
[Compare Source](https://redirect.github.com/vuejs/language-tools/compare/v2.1.6...v2.1.8)
##### Features
- **vscode:** reactions visualization now identifies more use cases Insiders
- **language-core:** auto infer `$el` type ([#4805](https://redirect.github.com/vuejs/language-tools/issues/4805)) - Thanks to [@KazariEX](https://redirect.github.com/KazariEX)!
- **language-core:** typed directive arg and modifiers ([#4813](https://redirect.github.com/vuejs/language-tools/issues/4813)) - Thanks to [@KazariEX](https://redirect.github.com/KazariEX)!
##### Bug Fixes
- **language-core:** avoid generic type loss due to destructured props ([#4821](https://redirect.github.com/vuejs/language-tools/issues/4821)) - Thanks to [@KazariEX](https://redirect.github.com/KazariEX)!
- **language-core:** handle `v-for` with `v-once` correctly ([#4830](https://redirect.github.com/vuejs/language-tools/issues/4830)) - Thanks to [@KazariEX](https://redirect.github.com/KazariEX)!
- **language-core:** avoid generating zero-length mappings for interpolation edges
- **language-core:** don't assign `this` to `__VLS_ctx` ([#4845](https://redirect.github.com/vuejs/language-tools/issues/4845)) - Thanks to [@KazariEX](https://redirect.github.com/KazariEX)!
- **language-service:** initialize scope with null prototype object ([#4855](https://redirect.github.com/vuejs/language-tools/issues/4855)) - Thanks to [@KazariEX](https://redirect.github.com/KazariEX)!
- **language-core:** inlay hints for `` and `` ([#4661](https://redirect.github.com/vuejs/language-tools/issues/4661)) - Thanks to [@KazariEX](https://redirect.github.com/KazariEX), [@so1ve](https://redirect.github.com/so1ve)!
- **language-core:** should error when invalid syntax at script end ([#4692](https://redirect.github.com/vuejs/language-tools/issues/4692)) - Thanks to [@KazariEX](https://redirect.github.com/KazariEX)!
- **language-core:** correct type inference of `defineModel` & `defineEmits` in generic ([#4823](https://redirect.github.com/vuejs/language-tools/issues/4823)) - Thanks to [@KazariEX](https://redirect.github.com/KazariEX)!
- **language-core:** inject generics of `useTemplateRef` into correct location ([#4829](https://redirect.github.com/vuejs/language-tools/issues/4829)) - Thanks to [@KazariEX](https://redirect.github.com/KazariEX)!
- **language-core:** prevent the generation of generics in JS ([#4836](https://redirect.github.com/vuejs/language-tools/issues/4836)) - Thanks to [@KazariEX](https://redirect.github.com/KazariEX), [@zhiyuanzmj](https://redirect.github.com/zhiyuanzmj)!
- **language-core:** generate correct reference for `v-on` on `` ([#4864](https://redirect.github.com/vuejs/language-tools/issues/4864)) - Thanks to [@KazariEX](https://redirect.github.com/KazariEX)!
- **language-core:** match classname before `)` ([#4887](https://redirect.github.com/vuejs/language-tools/issues/4887)) - Thanks to [@KazariEX](https://redirect.github.com/KazariEX)!
- **language-service:** handle internal item key with leading slash correctly ([#4894](https://redirect.github.com/vuejs/language-tools/issues/4894)) - Thanks to [@KazariEX](https://redirect.github.com/KazariEX)!
- **language-core:** correctly obtain the index of style modules ([#4907](https://redirect.github.com/vuejs/language-tools/issues/4907)) - Thanks to [@KazariEX](https://redirect.github.com/KazariEX)!
- **language-core:** refer absolute path of global types file ([#4924](https://redirect.github.com/vuejs/language-tools/issues/4924)) - Thanks to [@depressedX](https://redirect.github.com/depressedX)!
- **component-meta:** error when signatures is undefined ([#4930](https://redirect.github.com/vuejs/language-tools/issues/4930)) - Thanks to [@Hannesrasmussen](https://redirect.github.com/Hannesrasmussen)!
- **language-core:** intersect props of generic component with attrs ([#4886](https://redirect.github.com/vuejs/language-tools/issues/4886)) - Thanks to [@KazariEX](https://redirect.github.com/KazariEX)!
- **language-core:** fix incorrect syntax for class component virtual code
- **language-core:** generate `value` instead of model name into tuple ([#4892](https://redirect.github.com/vuejs/language-tools/issues/4892)) - Thanks to [@KazariEX](https://redirect.github.com/KazariEX)!
- **language-core:** infer template ref's type of native elements with `v-for` correctly ([#4933](https://redirect.github.com/vuejs/language-tools/issues/4933)) - Thanks to [@KazariEX](https://redirect.github.com/KazariEX)!
- **language-core:** should wrap item with `Reactive` on `v-for` ([#4902](https://redirect.github.com/vuejs/language-tools/issues/4902)) - Thanks to [@KazariEX](https://redirect.github.com/KazariEX)!
##### Performance
- **language-service:** find destructured props only with enabled setting ([#4815](https://redirect.github.com/vuejs/language-tools/issues/4815)) - Thanks to [@KazariEX](https://redirect.github.com/KazariEX)!
##### Other Changes
- Upgraded Volar from `v2.4.1` to `v2.4.8`:
- Changing vue files causes internal state to desync in Sublime Text ([#4909](https://redirect.github.com/vuejs/language-tools/issues/4909)) - Thanks to [@rchl](https://redirect.github.com/rchl)!
- The syntax highlighting is not applied when destructuring props ([#4811](https://redirect.github.com/vuejs/language-tools/issues/4811))
- chore: fix nvim config snippet in README ([#4881](https://redirect.github.com/vuejs/language-tools/issues/4881)) - Thanks to [@LiamEderzeel](https://redirect.github.com/LiamEderzeel)!
- chore: remove side effects ([#4871](https://redirect.github.com/vuejs/language-tools/issues/4871)) - Thanks to [@vikingair](https://redirect.github.com/vikingair)!
- chore: remove `importsNotUsedAsValues` ([#4897](https://redirect.github.com/vuejs/language-tools/issues/4897)) - Thanks to [@KazariEX](https://redirect.github.com/KazariEX)!
- chore(vscode): switch to `"module": "CommonJS"` ([#4944](https://redirect.github.com/vuejs/language-tools/issues/4944)) - Thanks to [@KazariEX](https://redirect.github.com/KazariEX)!
- test: fix incorrect default value ([#4934](https://redirect.github.com/vuejs/language-tools/issues/4934)) - Thanks to [@jh-leong](https://redirect.github.com/jh-leong)!
- test(tsc): add a test case for class component
Configuration
📅 Schedule: Branch creation - "before 4am on Monday" in timezone Europe/Berlin, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, 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 contains the following updates:
2.1.6
->2.1.8
Release Notes
vuejs/language-tools (vue-tsc)
### [`v2.1.8`](https://redirect.github.com/vuejs/language-tools/blob/HEAD/CHANGELOG.md#218-supofficialsup-219-supinsiderssup-2024-10-26) [Compare Source](https://redirect.github.com/vuejs/language-tools/compare/v2.1.6...v2.1.8) ##### Features - **vscode:** reactions visualization now identifies more use cases Insiders - **language-core:** auto infer `$el` type ([#4805](https://redirect.github.com/vuejs/language-tools/issues/4805)) - Thanks to [@KazariEX](https://redirect.github.com/KazariEX)! - **language-core:** typed directive arg and modifiers ([#4813](https://redirect.github.com/vuejs/language-tools/issues/4813)) - Thanks to [@KazariEX](https://redirect.github.com/KazariEX)! ##### Bug Fixes - **language-core:** avoid generic type loss due to destructured props ([#4821](https://redirect.github.com/vuejs/language-tools/issues/4821)) - Thanks to [@KazariEX](https://redirect.github.com/KazariEX)! - **language-core:** handle `v-for` with `v-once` correctly ([#4830](https://redirect.github.com/vuejs/language-tools/issues/4830)) - Thanks to [@KazariEX](https://redirect.github.com/KazariEX)! - **language-core:** avoid generating zero-length mappings for interpolation edges - **language-core:** don't assign `this` to `__VLS_ctx` ([#4845](https://redirect.github.com/vuejs/language-tools/issues/4845)) - Thanks to [@KazariEX](https://redirect.github.com/KazariEX)! - **language-service:** initialize scope with null prototype object ([#4855](https://redirect.github.com/vuejs/language-tools/issues/4855)) - Thanks to [@KazariEX](https://redirect.github.com/KazariEX)! - **language-core:** inlay hints for `Configuration
📅 Schedule: Branch creation - "before 4am on Monday" in timezone Europe/Berlin, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.