vuejs/language-tools (vue-tsc)
### [`v2.1.2`](https://togithub.com/vuejs/language-tools/blob/HEAD/CHANGELOG.md#212-supofficialsup-213-supinsiderssup-2024-08-29)
[Compare Source](https://togithub.com/vuejs/language-tools/compare/v2.1.0...v2.1.2)
##### Bug Fixes
- **language-core, typescript-plugin, language-server:** write globalTypes into dist for correct export ([#4740](https://togithub.com/vuejs/language-tools/issues/4740)) ([#4737](https://togithub.com/vuejs/language-tools/issues/4737)) ([#4738](https://togithub.com/vuejs/language-tools/issues/4738)) ([#4739](https://togithub.com/vuejs/language-tools/issues/4739)) - Thanks to [@KazariEX](https://togithub.com/KazariEX)!
- **language-core:** don't default `vueCompilerOptions.lib` to `@vue/runtime-dom` for Vue 2
### [`v2.1.0`](https://togithub.com/vuejs/language-tools/blob/HEAD/CHANGELOG.md#210-supofficialsup-211-supinsiderssup-2024-08-29)
[Compare Source](https://togithub.com/vuejs/language-tools/compare/49ad9563e6f2677595878a000179dfea83fb910c...v2.1.0)
##### Features
- **language-core:** inlay hints for destructured props ([#4634](https://togithub.com/vuejs/language-tools/issues/4634)) - Thanks to [@KazariEX](https://togithub.com/KazariEX)!
- **language-core:** typed fallthrough attributes ([#4103](https://togithub.com/vuejs/language-tools/issues/4103)) - Thanks to [@A5rocks](https://togithub.com/A5rocks), [@so1ve](https://togithub.com/so1ve)!
- **language-core:** document links for classname within `:class` ([#4642](https://togithub.com/vuejs/language-tools/issues/4642)) - Thanks to [@KazariEX](https://togithub.com/KazariEX)!
- **language-core:** auto infer type for $refs & useTemplateRef ([#4644](https://togithub.com/vuejs/language-tools/issues/4644)) - Thanks to [@zhiyuanzmj](https://togithub.com/zhiyuanzmj)!
- **language-core:** type support for CSS Modules API ([#4674](https://togithub.com/vuejs/language-tools/issues/4674)) - Thanks to [@KazariEX](https://togithub.com/KazariEX)!
- **language-service:** better completion for directives ([#4640](https://togithub.com/vuejs/language-tools/issues/4640)) - Thanks to [@KazariEX](https://togithub.com/KazariEX)!
- **language-service:** better sorting & filtering of completion ([#4671](https://togithub.com/vuejs/language-tools/issues/4671)) - Thanks to [@KazariEX](https://togithub.com/KazariEX)!
- **language-service:** add style scoped and module completion ([#4705](https://togithub.com/vuejs/language-tools/issues/4705)) - Thanks to [@runyasak](https://togithub.com/runyasak)!
##### Bug Fixes
- **vscode:** type of `vue.server.hybridMode` config ([#4703](https://togithub.com/vuejs/language-tools/issues/4703)) - Thanks to [@KermanX](https://togithub.com/KermanX)!
- **language-core:** dependency on vulnerable version of `vue-template-compiler` ([#4613](https://togithub.com/vuejs/language-tools/issues/4613)) - Thanks to [@yyx990803](https://togithub.com/yyx990803)!
- **language-core:** support parse method to access ctx var in object ([#4609](https://togithub.com/vuejs/language-tools/issues/4609)) - Thanks to [@linghaoSu](https://togithub.com/linghaoSu)!
- **language-core:** escape \ and ' in className avoid type error ([#4619](https://togithub.com/vuejs/language-tools/issues/4619)) - Thanks to [@linghaoSu](https://togithub.com/linghaoSu)!
- **language-core:** semantic highlight of the end tag of namespaced elements ([#4623](https://togithub.com/vuejs/language-tools/issues/4623)) - Thanks to [@KermanX](https://togithub.com/KermanX)!
- **language-core:** nullable modelvalues ([#4648](https://togithub.com/vuejs/language-tools/issues/4648)) - Thanks to [@davidmatter](https://togithub.com/davidmatter)!
- **language-core:** should try casting dynamic slot name into constant ([#4669](https://togithub.com/vuejs/language-tools/issues/4669)) - Thanks to [@KermanX](https://togithub.com/KermanX)!
- **language-core:** local name support for prop using runtime api ([#4650](https://togithub.com/vuejs/language-tools/issues/4650)) - Thanks to [@KazariEX](https://togithub.com/KazariEX)!
- **language-core:** optimize matching of scoped class and `v-bind()` ([#4679](https://togithub.com/vuejs/language-tools/issues/4679)) - Thanks to [@KazariEX](https://togithub.com/KazariEX)!
- **language-core:** should preserve generic info in directive ([#4686](https://togithub.com/vuejs/language-tools/issues/4686)) - Thanks to [@KermanX](https://togithub.com/KermanX)!
- **language-core:** generate `ref` as identifier instead of interpolation ([#4688](https://togithub.com/vuejs/language-tools/issues/4688)) - Thanks to [@KazariEX](https://togithub.com/KazariEX)!
- **language-core:** correct type narrowing from script to template ([#4689](https://togithub.com/vuejs/language-tools/issues/4689)) - Thanks to [@KazariEX](https://togithub.com/KazariEX)!
- **language-core:** should camelize prop name in `experimentalModelPropName` ([#4691](https://togithub.com/vuejs/language-tools/issues/4691)) - Thanks to [@KermanX](https://togithub.com/KermanX)!
- **language-core:** drop duplicate hints on incomplete tag ([#4696](https://togithub.com/vuejs/language-tools/issues/4696)) - Thanks to [@KazariEX](https://togithub.com/KazariEX)!
- **language-core:** correct inlay hints for v-bind with modifier ([#4721](https://togithub.com/vuejs/language-tools/issues/4721)) - Thanks to [@KazariEX](https://togithub.com/KazariEX)!
- **language-core:** transform range of `file-md` correctly ([#4735](https://togithub.com/vuejs/language-tools/issues/4735)) - Thanks to [@KazariEX](https://togithub.com/KazariEX)!
- **language-plugin-pug:** should cache proxyed object ([#4626](https://togithub.com/vuejs/language-tools/issues/4626)) - Thanks to [@KermanX](https://togithub.com/KermanX)!
- **language-plugin-pug:** compute offset correctly of pug class ([#4652](https://togithub.com/vuejs/language-tools/issues/4652)) - Thanks to [@KazariEX](https://togithub.com/KazariEX)!
- **language-service:** completion documentations for binding attributes ([#4667](https://togithub.com/vuejs/language-tools/issues/4667)) - Thanks to [@KazariEX](https://togithub.com/KazariEX)!
- **language-service:** avoid converting internal id of special tags ([#4643](https://togithub.com/vuejs/language-tools/issues/4643)) - Thanks to [@KazariEX](https://togithub.com/KazariEX)!
- **language-service:** reinstate the completion for modifiers ([#4639](https://togithub.com/vuejs/language-tools/issues/4639)) - Thanks to [@KazariEX](https://togithub.com/KazariEX)!
- **language-service:** consistent data from provider for sfc completion ([#4645](https://togithub.com/vuejs/language-tools/issues/4645)) - Thanks to [@KazariEX](https://togithub.com/KazariEX)!
- **typescript-plugin:** unknown request type warning ([#4715](https://togithub.com/vuejs/language-tools/issues/4715)) - Thanks to [@davidmatter](https://togithub.com/davidmatter)!
##### Refactors
- **language-core:** extract SFC root tags to separate virtual code
- **language-core:** removed `__hint` trick from codegen
- **language-core:** rewrite a part of confusing codegen code
- **language-core:** reduce virtual code generated by component tags ([#4714](https://togithub.com/vuejs/language-tools/issues/4714))
- **language-core:** do not wrap template virtual code with function ([#4731](https://togithub.com/vuejs/language-tools/issues/4731))
- **language-core**: write real files to FS for shared global types ([#4736](https://togithub.com/vuejs/language-tools/issues/4736))
- **component-meta:** remove deprecated `createComponentMetaCheckerByJsonConfig`, `createComponentMetaChecker` api
##### Other Changes
- Upgraded Volar from `v2.4.0-alpha.18` to `v2.4.1`:
- Ensure unopened files are synced to project ([#4711](https://togithub.com/vuejs/language-tools/issues/4711)) ([#4632](https://togithub.com/vuejs/language-tools/issues/4632)) - Thanks to [@davidmatter](https://togithub.com/davidmatter)!
- **ci:** integrated [pkg.pr.new](https://togithub.com/stackblitz-labs/pkg.pr.new)
- **tsc:** test all typecheck cases in one tsconfig ([#4723](https://togithub.com/vuejs/language-tools/issues/4723))
- **tsc:** add test for TS-next ([#4724](https://togithub.com/vuejs/language-tools/issues/4724))
- **tsc:** add tests for for [#3779](https://togithub.com/vuejs/language-tools/issues/3779), [#3820](https://togithub.com/vuejs/language-tools/issues/3820) ([#3838](https://togithub.com/vuejs/language-tools/issues/3838)) - Thanks to [@so1ve](https://togithub.com/so1ve)!
- **vscode:** add grammar test ([#3861](https://togithub.com/vuejs/language-tools/issues/3861)) - Thanks to [@so1ve](https://togithub.com/so1ve)!
- **language-service:** migrate tests to `@volar/test-utils` ([#4719](https://togithub.com/vuejs/language-tools/issues/4719))
- **language-core:** add scoped classes renaming case ([#4727](https://togithub.com/vuejs/language-tools/issues/4727)) - Thanks to [@KazariEX](https://togithub.com/KazariEX)!
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ 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.0.29
->2.1.2
Release Notes
vuejs/language-tools (vue-tsc)
### [`v2.1.2`](https://togithub.com/vuejs/language-tools/blob/HEAD/CHANGELOG.md#212-supofficialsup-213-supinsiderssup-2024-08-29) [Compare Source](https://togithub.com/vuejs/language-tools/compare/v2.1.0...v2.1.2) ##### Bug Fixes - **language-core, typescript-plugin, language-server:** write globalTypes into dist for correct export ([#4740](https://togithub.com/vuejs/language-tools/issues/4740)) ([#4737](https://togithub.com/vuejs/language-tools/issues/4737)) ([#4738](https://togithub.com/vuejs/language-tools/issues/4738)) ([#4739](https://togithub.com/vuejs/language-tools/issues/4739)) - Thanks to [@KazariEX](https://togithub.com/KazariEX)! - **language-core:** don't default `vueCompilerOptions.lib` to `@vue/runtime-dom` for Vue 2 ### [`v2.1.0`](https://togithub.com/vuejs/language-tools/blob/HEAD/CHANGELOG.md#210-supofficialsup-211-supinsiderssup-2024-08-29) [Compare Source](https://togithub.com/vuejs/language-tools/compare/49ad9563e6f2677595878a000179dfea83fb910c...v2.1.0) ##### Features - **language-core:** inlay hints for destructured props ([#4634](https://togithub.com/vuejs/language-tools/issues/4634)) - Thanks to [@KazariEX](https://togithub.com/KazariEX)! - **language-core:** typed fallthrough attributes ([#4103](https://togithub.com/vuejs/language-tools/issues/4103)) - Thanks to [@A5rocks](https://togithub.com/A5rocks), [@so1ve](https://togithub.com/so1ve)! - **language-core:** document links for classname within `:class` ([#4642](https://togithub.com/vuejs/language-tools/issues/4642)) - Thanks to [@KazariEX](https://togithub.com/KazariEX)! - **language-core:** auto infer type for $refs & useTemplateRef ([#4644](https://togithub.com/vuejs/language-tools/issues/4644)) - Thanks to [@zhiyuanzmj](https://togithub.com/zhiyuanzmj)! - **language-core:** type support for CSS Modules API ([#4674](https://togithub.com/vuejs/language-tools/issues/4674)) - Thanks to [@KazariEX](https://togithub.com/KazariEX)! - **language-service:** better completion for directives ([#4640](https://togithub.com/vuejs/language-tools/issues/4640)) - Thanks to [@KazariEX](https://togithub.com/KazariEX)! - **language-service:** better sorting & filtering of completion ([#4671](https://togithub.com/vuejs/language-tools/issues/4671)) - Thanks to [@KazariEX](https://togithub.com/KazariEX)! - **language-service:** add style scoped and module completion ([#4705](https://togithub.com/vuejs/language-tools/issues/4705)) - Thanks to [@runyasak](https://togithub.com/runyasak)! ##### Bug Fixes - **vscode:** type of `vue.server.hybridMode` config ([#4703](https://togithub.com/vuejs/language-tools/issues/4703)) - Thanks to [@KermanX](https://togithub.com/KermanX)! - **language-core:** dependency on vulnerable version of `vue-template-compiler` ([#4613](https://togithub.com/vuejs/language-tools/issues/4613)) - Thanks to [@yyx990803](https://togithub.com/yyx990803)! - **language-core:** support parse method to access ctx var in object ([#4609](https://togithub.com/vuejs/language-tools/issues/4609)) - Thanks to [@linghaoSu](https://togithub.com/linghaoSu)! - **language-core:** escape \ and ' in className avoid type error ([#4619](https://togithub.com/vuejs/language-tools/issues/4619)) - Thanks to [@linghaoSu](https://togithub.com/linghaoSu)! - **language-core:** semantic highlight of the end tag of namespaced elements ([#4623](https://togithub.com/vuejs/language-tools/issues/4623)) - Thanks to [@KermanX](https://togithub.com/KermanX)! - **language-core:** nullable modelvalues ([#4648](https://togithub.com/vuejs/language-tools/issues/4648)) - Thanks to [@davidmatter](https://togithub.com/davidmatter)! - **language-core:** should try casting dynamic slot name into constant ([#4669](https://togithub.com/vuejs/language-tools/issues/4669)) - Thanks to [@KermanX](https://togithub.com/KermanX)! - **language-core:** local name support for prop using runtime api ([#4650](https://togithub.com/vuejs/language-tools/issues/4650)) - Thanks to [@KazariEX](https://togithub.com/KazariEX)! - **language-core:** optimize matching of scoped class and `v-bind()` ([#4679](https://togithub.com/vuejs/language-tools/issues/4679)) - Thanks to [@KazariEX](https://togithub.com/KazariEX)! - **language-core:** should preserve generic info in directive ([#4686](https://togithub.com/vuejs/language-tools/issues/4686)) - Thanks to [@KermanX](https://togithub.com/KermanX)! - **language-core:** generate `ref` as identifier instead of interpolation ([#4688](https://togithub.com/vuejs/language-tools/issues/4688)) - Thanks to [@KazariEX](https://togithub.com/KazariEX)! - **language-core:** correct type narrowing from script to template ([#4689](https://togithub.com/vuejs/language-tools/issues/4689)) - Thanks to [@KazariEX](https://togithub.com/KazariEX)! - **language-core:** should camelize prop name in `experimentalModelPropName` ([#4691](https://togithub.com/vuejs/language-tools/issues/4691)) - Thanks to [@KermanX](https://togithub.com/KermanX)! - **language-core:** drop duplicate hints on incomplete tag ([#4696](https://togithub.com/vuejs/language-tools/issues/4696)) - Thanks to [@KazariEX](https://togithub.com/KazariEX)! - **language-core:** correct inlay hints for v-bind with modifier ([#4721](https://togithub.com/vuejs/language-tools/issues/4721)) - Thanks to [@KazariEX](https://togithub.com/KazariEX)! - **language-core:** transform range of `file-md` correctly ([#4735](https://togithub.com/vuejs/language-tools/issues/4735)) - Thanks to [@KazariEX](https://togithub.com/KazariEX)! - **language-plugin-pug:** should cache proxyed object ([#4626](https://togithub.com/vuejs/language-tools/issues/4626)) - Thanks to [@KermanX](https://togithub.com/KermanX)! - **language-plugin-pug:** compute offset correctly of pug class ([#4652](https://togithub.com/vuejs/language-tools/issues/4652)) - Thanks to [@KazariEX](https://togithub.com/KazariEX)! - **language-service:** completion documentations for binding attributes ([#4667](https://togithub.com/vuejs/language-tools/issues/4667)) - Thanks to [@KazariEX](https://togithub.com/KazariEX)! - **language-service:** avoid converting internal id of special tags ([#4643](https://togithub.com/vuejs/language-tools/issues/4643)) - Thanks to [@KazariEX](https://togithub.com/KazariEX)! - **language-service:** reinstate the completion for modifiers ([#4639](https://togithub.com/vuejs/language-tools/issues/4639)) - Thanks to [@KazariEX](https://togithub.com/KazariEX)! - **language-service:** consistent data from provider for sfc completion ([#4645](https://togithub.com/vuejs/language-tools/issues/4645)) - Thanks to [@KazariEX](https://togithub.com/KazariEX)! - **typescript-plugin:** unknown request type warning ([#4715](https://togithub.com/vuejs/language-tools/issues/4715)) - Thanks to [@davidmatter](https://togithub.com/davidmatter)! ##### Refactors - **language-core:** extract SFC root tags to separate virtual code - **language-core:** removed `__hint` trick from codegen - **language-core:** rewrite a part of confusing codegen code - **language-core:** reduce virtual code generated by component tags ([#4714](https://togithub.com/vuejs/language-tools/issues/4714)) - **language-core:** do not wrap template virtual code with function ([#4731](https://togithub.com/vuejs/language-tools/issues/4731)) - **language-core**: write real files to FS for shared global types ([#4736](https://togithub.com/vuejs/language-tools/issues/4736)) - **component-meta:** remove deprecated `createComponentMetaCheckerByJsonConfig`, `createComponentMetaChecker` api ##### Other Changes - Upgraded Volar from `v2.4.0-alpha.18` to `v2.4.1`: - Ensure unopened files are synced to project ([#4711](https://togithub.com/vuejs/language-tools/issues/4711)) ([#4632](https://togithub.com/vuejs/language-tools/issues/4632)) - Thanks to [@davidmatter](https://togithub.com/davidmatter)! - **ci:** integrated [pkg.pr.new](https://togithub.com/stackblitz-labs/pkg.pr.new) - **tsc:** test all typecheck cases in one tsconfig ([#4723](https://togithub.com/vuejs/language-tools/issues/4723)) - **tsc:** add test for TS-next ([#4724](https://togithub.com/vuejs/language-tools/issues/4724)) - **tsc:** add tests for for [#3779](https://togithub.com/vuejs/language-tools/issues/3779), [#3820](https://togithub.com/vuejs/language-tools/issues/3820) ([#3838](https://togithub.com/vuejs/language-tools/issues/3838)) - Thanks to [@so1ve](https://togithub.com/so1ve)! - **vscode:** add grammar test ([#3861](https://togithub.com/vuejs/language-tools/issues/3861)) - Thanks to [@so1ve](https://togithub.com/so1ve)! - **language-service:** migrate tests to `@volar/test-utils` ([#4719](https://togithub.com/vuejs/language-tools/issues/4719)) - **language-core:** add scoped classes renaming case ([#4727](https://togithub.com/vuejs/language-tools/issues/4727)) - Thanks to [@KazariEX](https://togithub.com/KazariEX)!Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ 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.