Vue Language Tools v3.3.14
vuejs/language-tools
Summary
Release v3.3.14 of Vue Language Tools includes numerous fixes aimed at improving TypeScript support, such as isolating template virtual code from setup control flow and ensuring proper typing for `$event` parameters in inline handlers. Additionally, it addresses issues with generic components, dynamic slot names, and auto-import access for hyphenated directive names, enhancing overall stability and functionality for Vue/Nuxt developers.
Full release notes
language-core
- fix: isolate template virtual code from setup control flow (d31557b)
- fix: re-assert dot-value bindings in template closures (4524874) (f9c908f) (b65e458)
- fix: avoid TS2454 from the withDotValue assertion (c774144)
- fix: use a const type parameter in
__VLS_unwrapto keep literal bindings on TS 7.1 (ce6c1de) - fix: avoid
neverslot props for dynamic slot names in generic components (7957e7f) - fix: omit emitted events from inherited attrs of generic components (2d94d89)
- fix: check bindings of generic directive hooks (0cb7d92)
- fix: wrap the v-model assignment target in parentheses (9bb1dc9)
- fix: type the
$eventparameter of inline handlers explicitly (d3b42a1) - fix: type unknown components without diagnostic filters (b3909a3)
- fix: keep leading
@ts-nocheckand/// <reference>effective in script setup (c2e2e6f) - fix: declare component context vars before slot code (b7c773d)
- fix: avoid non-null assertion in JS slot codegen (5633525)
- fix: restore tag navigation for barrel imports (6358d15)
- fix: map the whole hyphenated directive name in the auto-import access (beb0151)
language-service
- fix: prevent crash on malformed
html.customDataconfiguration (3961653)
typescript-plugin
- fix: show unwrapped type when hovering setup refs in template (c742c14)
Contributors: @johnsoncodehk, @lazerg, @ValentinYoushkevich, @so1ve, @WangKepeople
