Closed renovate[bot] closed 2 months ago
[!IMPORTANT]
Review skipped
Bot user detected.
To trigger a single review, invoke the
@coderabbitai review
command.You can disable this status message by setting the
reviews.review_status
tofalse
in the CodeRabbit configuration file.
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
This PR contains the following updates:
2.0.29
->2.1.6
Release Notes
vuejs/language-tools (vue-tsc)
### [`v2.1.6`](https://redirect.github.com/vuejs/language-tools/blob/HEAD/CHANGELOG.md#216-supofficialsup-217-supinsiderssup-2024-09-05) [Compare Source](https://redirect.github.com/vuejs/language-tools/compare/a95b51ac0b0db8825f77fbba37e29932b5be61e4...v2.1.6) ##### Features - **language-plugin-pug:** support initial indentation ([#4774](https://redirect.github.com/vuejs/language-tools/issues/4774)) - **language-service:** JSDoc display support when typing props on component template ([#4796](https://redirect.github.com/vuejs/language-tools/issues/4796)) - Thanks to [@joy-yu](https://redirect.github.com/joy-yu)! - **language-core:** typed directives in template ([#4807](https://redirect.github.com/vuejs/language-tools/issues/4807)) - Thanks to [@KazariEX](https://redirect.github.com/KazariEX)! ##### Bug Fixes - **language-core:** wrap template refs with `unref` in interpolation ([#4777](https://redirect.github.com/vuejs/language-tools/issues/4777)) - Thanks to [@KazariEX](https://redirect.github.com/KazariEX)! - **language-core:** ensure to pass tsc on inline global types ([#4782](https://redirect.github.com/vuejs/language-tools/issues/4782)) - Thanks to [@KazariEX](https://redirect.github.com/KazariEX)! - **language-core:** infer native template ref as build-in element interface ([#4786](https://redirect.github.com/vuejs/language-tools/issues/4786)) - Thanks to [@KazariEX](https://redirect.github.com/KazariEX)! - **language-core:** generate `__VLS_StyleModules` after template ([#4790](https://redirect.github.com/vuejs/language-tools/issues/4790)) - Thanks to [@KazariEX](https://redirect.github.com/KazariEX)! - **language-core:** make `expose` of non-generic template ref required ([#4795](https://redirect.github.com/vuejs/language-tools/issues/4795)) - Thanks to [@zhiyuanzmj](https://redirect.github.com/zhiyuanzmj)! - **language-core:** avoid using `__typeProps` with runtime props ([#4800](https://redirect.github.com/vuejs/language-tools/issues/4800)) - Thanks to [@KazariEX](https://redirect.github.com/KazariEX)! - **language-core:** ignore unknown attrs error when strictTemplates is not enabled ([#4785](https://redirect.github.com/vuejs/language-tools/issues/4785)) - **language-core:** prevent append globalTypes to virtual file ([#4806](https://redirect.github.com/vuejs/language-tools/issues/4806)) - Thanks to [@zhiyuanzmj](https://redirect.github.com/zhiyuanzmj)! - **language-core:** prevent type error when use defineSlots and non-template ([#4809](https://redirect.github.com/vuejs/language-tools/issues/4809)) - Thanks to [@zhiyuanzmj](https://redirect.github.com/zhiyuanzmj)! - **typescript-plugin:** disconnect socket on error ([#4672](https://redirect.github.com/vuejs/language-tools/issues/4672)) ##### Performance - **language-core:** don't emit event lnlayhint when content is none ([#4776](https://redirect.github.com/vuejs/language-tools/issues/4776)) - Thanks to [@Gehbt](https://redirect.github.com/Gehbt)! ##### Other Changes - **language-core:** split `__VLS_templateResult` ([#4781](https://redirect.github.com/vuejs/language-tools/issues/4781)) - Thanks to [@KazariEX](https://redirect.github.com/KazariEX)! - **language-core:** wrap template virtual code into a function ([#4784](https://redirect.github.com/vuejs/language-tools/issues/4784)) - **language-core:** move `templateRef` into `composibles` ([#4791](https://redirect.github.com/vuejs/language-tools/issues/4791)) - Thanks to [@KazariEX](https://redirect.github.com/KazariEX)! - **language-core:** generate global types for the first parsed Vue component if cannot write global types file ##### Tests - **language-server:** add renaming case for template `ref()` ([#4794](https://redirect.github.com/vuejs/language-tools/issues/4794)) - Thanks to [@KazariEX](https://redirect.github.com/KazariEX)! - **tsc:** update to Vue 3.5 ([#4725](https://redirect.github.com/vuejs/language-tools/issues/4725)) - **tsc:** unknown props on non-strict generic component ([#4792](https://redirect.github.com/vuejs/language-tools/issues/4792)) ### [`v2.1.5`](https://redirect.github.com/vuejs/language-tools/blob/HEAD/CHANGELOG.md#214-supofficialsup-215-supinsiderssup-2024-09-01) [Compare Source](https://redirect.github.com/vuejs/language-tools/compare/v2.1.4...a95b51ac0b0db8825f77fbba37e29932b5be61e4) ##### Features - **typescript-plugin, language-server:** generate global types file into `node_modules/.vue-global-types` ([#4752](https://redirect.github.com/vuejs/language-tools/issues/4752)) - Thanks to [@KazariEX](https://redirect.github.com/KazariEX)! - **language-core:** navigation support for template-ref ([#4726](https://redirect.github.com/vuejs/language-tools/issues/4726)) - Thanks to [@KazariEX](https://redirect.github.com/KazariEX)! ##### Bug Fixes - **language-core, typescript-plugin, language-server:** apply snake case on globalTypes filename ([#4749](https://redirect.github.com/vuejs/language-tools/issues/4749)) - Thanks to [@KazariEX](https://redirect.github.com/KazariEX)! - **language-core:** hoist `$refs` type ([#4763](https://redirect.github.com/vuejs/language-tools/issues/4763)) - **language-core:** disable lib check on global types file ([#4767](https://redirect.github.com/vuejs/language-tools/issues/4767)) - Thanks to [@KazariEX](https://redirect.github.com/KazariEX)! - **language-core:** prevent circular reference of templateRef ([#4768](https://redirect.github.com/vuejs/language-tools/issues/4768)) - Thanks to [@zhiyuanzmj](https://redirect.github.com/zhiyuanzmj)! - **language-core:** using interface merging for `GlobalComponents` - **language-core:** `fallthroughAttributes` causes global components to be self-referential ([#4761](https://redirect.github.com/vuejs/language-tools/issues/4761)) - **language-core:** auto-completion for the last line of template block ([#4771](https://redirect.github.com/vuejs/language-tools/issues/4771)) - Thanks to [@zhiyuanzmj](https://redirect.github.com/zhiyuanzmj)! - **language-core:** update ast correctly on repeated `v-for` modifications ([#4772](https://redirect.github.com/vuejs/language-tools/issues/4772)) - Thanks to [@KazariEX](https://redirect.github.com/KazariEX)! - **language-server:** leaking named pipes ([#4672](https://redirect.github.com/vuejs/language-tools/issues/4672)) - **typescript-plugin:** compatible with Yarn PnP ([#4751](https://redirect.github.com/vuejs/language-tools/issues/4751)) - **vscode:** whitelist `ms-dynamics-smb.al` extension for Vue Hybrid Mode. ([#4765](https://redirect.github.com/vuejs/language-tools/issues/4765)) - Thanks to [@kyleweishaupt](https://redirect.github.com/kyleweishaupt)! ##### Other Changes - Add optional "dependencies" textarea to issue template ([#4758](https://redirect.github.com/vuejs/language-tools/issues/4758)) - Thanks to [@davidmatter](https://redirect.github.com/davidmatter)! ### [`v2.1.4`](https://redirect.github.com/vuejs/language-tools/compare/v2.1.2...5e197d08eaef57209ff2927c943ba1db3bf4eff6) [Compare Source](https://redirect.github.com/vuejs/language-tools/compare/v2.1.2...v2.1.4) ### [`v2.1.2`](https://redirect.github.com/vuejs/language-tools/blob/HEAD/CHANGELOG.md#212-supofficialsup-213-supinsiderssup-2024-08-29) [Compare Source](https://redirect.github.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://redirect.github.com/vuejs/language-tools/issues/4740)) ([#4737](https://redirect.github.com/vuejs/language-tools/issues/4737)) ([#4738](https://redirect.github.com/vuejs/language-tools/issues/4738)) ([#4739](https://redirect.github.com/vuejs/language-tools/issues/4739)) - Thanks to [@KazariEX](https://redirect.github.com/KazariEX)! - **language-core:** don't default `vueCompilerOptions.lib` to `@vue/runtime-dom` for Vue 2 ### [`v2.1.0`](https://redirect.github.com/vuejs/language-tools/blob/HEAD/CHANGELOG.md#210-supofficialsup-211-supinsiderssup-2024-08-29) [Compare Source](https://redirect.github.com/vuejs/language-tools/compare/49ad9563e6f2677595878a000179dfea83fb910c...v2.1.0) ##### Features - **language-core:** inlay hints for destructured props ([#4634](https://redirect.github.com/vuejs/language-tools/issues/4634)) - Thanks to [@KazariEX](https://redirect.github.com/KazariEX)! - **language-core:** typed fallthrough attributes ([#4103](https://redirect.github.com/vuejs/language-tools/issues/4103)) - Thanks to [@A5rocks](https://redirect.github.com/A5rocks), [@so1ve](https://redirect.github.com/so1ve)! - **language-core:** document links for classname within `:class` ([#4642](https://redirect.github.com/vuejs/language-tools/issues/4642)) - Thanks to [@KazariEX](https://redirect.github.com/KazariEX)! - **language-core:** auto infer type for $refs & useTemplateRef ([#4644](https://redirect.github.com/vuejs/language-tools/issues/4644)) - Thanks to [@zhiyuanzmj](https://redirect.github.com/zhiyuanzmj)! - **language-core:** type support for CSS Modules API ([#4674](https://redirect.github.com/vuejs/language-tools/issues/4674)) - Thanks to [@KazariEX](https://redirect.github.com/KazariEX)! - **language-service:** better completion for directives ([#4640](https://redirect.github.com/vuejs/language-tools/issues/4640)) - Thanks to [@KazariEX](https://redirect.github.com/KazariEX)! - **language-service:** better sorting & filtering of completion ([#4671](https://redirect.github.com/vuejs/language-tools/issues/4671)) - Thanks to [@KazariEX](https://redirect.github.com/KazariEX)! - **language-service:** add style scoped and module completion ([#4705](https://redirect.github.com/vuejs/language-tools/issues/4705)) - Thanks to [@runyasak](https://redirect.github.com/runyasak)! ##### Bug Fixes - **vscode:** type of `vue.server.hybridMode` config ([#4703](https://redirect.github.com/vuejs/language-tools/issues/4703)) - Thanks to [@KermanX](https://redirect.github.com/KermanX)! - **language-core:** dependency on vulnerable version of `vue-template-compiler` ([#4613](https://redirect.github.com/vuejs/language-tools/issues/4613)) - Thanks to [@yyx990803](https://redirect.github.com/yyx990803)! - **language-core:** support parse method to access ctx var in object ([#4609](https://redirect.github.com/vuejs/language-tools/issues/4609)) - Thanks to [@linghaoSu](https://redirect.github.com/linghaoSu)! - **language-core:** escape \ and ' in className avoid type error ([#4619](https://redirect.github.com/vuejs/language-tools/issues/4619)) - Thanks to [@linghaoSu](https://redirect.github.com/linghaoSu)! - **language-core:** semantic highlight of the end tag of namespaced elements ([#4623](https://redirect.github.com/vuejs/language-tools/issues/4623)) - Thanks to [@KermanX](https://redirect.github.com/KermanX)! - **language-core:** nullable modelvalues ([#4648](https://redirect.github.com/vuejs/language-tools/issues/4648)) - Thanks to [@davidmatter](https://redirect.github.com/davidmatter)! - **language-core:** should try casting dynamic slot name into constant ([#4669](https://redirect.github.com/vuejs/language-tools/issues/4669)) - Thanks to [@KermanX](https://redirect.github.com/KermanX)! - **language-core:** local name support for prop using runtime api ([#4650](https://redirect.github.com/vuejs/language-tools/issues/4650)) - Thanks to [@KazariEX](https://redirect.github.com/KazariEX)! - **language-core:** optimize matching of scoped class and `v-bind()` ([#4679](https://redirect.github.com/vuejs/language-tools/issues/4679)) - Thanks to [@KazariEX](https://redirect.github.com/KazariEX)! - **language-core:** should preserve generic info in directive ([#4686](https://redirect.github.com/vuejs/language-tools/issues/4686)) - Thanks to [@KermanX](https://redirect.github.com/KermanX)! - **language-core:** generate `ref` as identifier instead of interpolation ([#4688](https://redirect.github.com/vuejs/language-tools/issues/4688)) - Thanks to [@KazariEX](https://redirect.github.com/KazariEX)! - **language-core:** correct type narrowing from script to template ([#4689](https://redirect.github.com/vuejs/language-tools/issues/4689)) - Thanks to [@KazariEX](https://redirect.github.com/KazariEX)! - **language-core:** should camelize prop name in `experimentalModelPropName` ([#4691](https://redirect.github.com/vuejs/language-tools/issues/4691)) - Thanks to [@KermanX](https://redirect.github.com/KermanX)! - **language-core:** drop duplicate hints on incomplete tag ([#4696](https://redirect.github.com/vuejs/language-tools/issues/4696)) - Thanks to [@KazariEX](https://redirect.github.com/KazariEX)! - **language-core:** correct inlay hints for v-bind with modifier ([#4721](https://redirect.github.com/vuejs/language-tools/issues/4721)) - Thanks to [@KazariEX](https://redirect.github.com/KazariEX)! - **language-core:** transform range of `file-md` correctly ([#4735](https://redirect.github.com/vuejs/language-tools/issues/4735)) - Thanks to [@KazariEX](https://redirect.github.com/KazariEX)! - **language-plugin-pug:** should cache proxyed object ([#4626](https://redirect.github.com/vuejs/language-tools/issues/4626)) - Thanks to [@KermanX](https://redirect.github.com/KermanX)! - **language-plugin-pug:** compute offset correctly of pug class ([#4652](https://redirect.github.com/vuejs/language-tools/issues/4652)) - Thanks to [@KazariEX](https://redirect.github.com/KazariEX)! - **language-service:** completion documentations for binding attributes ([#4667](https://redirect.github.com/vuejs/language-tools/issues/4667)) - Thanks to [@KazariEX](https://redirect.github.com/KazariEX)! - **language-service:** avoid converting internal id of special tags ([#4643](https://redirect.github.com/vuejs/language-tools/issues/4643)) - Thanks to [@KazariEX](https://redirect.github.com/KazariEX)! - **language-service:** reinstate the completion for modifiers ([#4639](https://redirect.github.com/vuejs/language-tools/issues/4639)) - Thanks to [@KazariEX](https://redirect.github.com/KazariEX)! - **language-service:** consistent data from provider for sfc completion ([#4645](https://redirect.github.com/vuejs/language-tools/issues/4645)) - Thanks to [@KazariEX](https://redirect.github.com/KazariEX)! - **typescript-plugin:** unknown request type warning ([#4715](https://redirect.github.com/vuejs/language-tools/issues/4715)) - Thanks to [@davidmatter](https://redirect.github.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://redirect.github.com/vuejs/language-tools/issues/4714)) - **language-core:** do not wrap template virtual code with function ([#4731](https://redirect.github.com/vuejs/language-tools/issues/4731)) - **language-core**: write real files to FS for shared global types ([#4736](https://redirect.github.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://redirect.github.com/vuejs/language-tools/issues/4711)) ([#4632](https://redirect.github.com/vuejs/language-tools/issues/4632)) - Thanks to [@davidmatter](https://redirect.github.com/davidmatter)! - **ci:** integrated [pkg.pr.new](https://redirect.github.com/stackblitz-labs/pkg.pr.new) - **tsc:** test all typecheck cases in one tsconfig ([#4723](https://redirect.github.com/vuejs/language-tools/issues/4723)) - **tsc:** add test for TS-next ([#4724](https://redirect.github.com/vuejs/language-tools/issues/4724)) - **tsc:** add tests for for [#3779](https://redirect.github.com/vuejs/language-tools/issues/3779), [#3820](https://redirect.github.com/vuejs/language-tools/issues/3820) ([#3838](https://redirect.github.com/vuejs/language-tools/issues/3838)) - Thanks to [@so1ve](https://redirect.github.com/so1ve)! - **vscode:** add grammar test ([#3861](https://redirect.github.com/vuejs/language-tools/issues/3861)) - Thanks to [@so1ve](https://redirect.github.com/so1ve)! - **language-service:** migrate tests to `@volar/test-utils` ([#4719](https://redirect.github.com/vuejs/language-tools/issues/4719)) - **language-core:** add scoped classes renaming case ([#4727](https://redirect.github.com/vuejs/language-tools/issues/4727)) - Thanks to [@KazariEX](https://redirect.github.com/KazariEX)!Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), 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.