Skip to content

Releases: vuejs/language-tools

v2.0.21

08 Jun 14:54
Compare
Choose a tag to compare

Bug Fixes

  • fix(typescript-plugin): TS plugin cause type checking broken in .ts files (#4453)

Please refer to CHANGELOG.md for details.

Insiders Program 🚀

This project is community-driven. If you would like to support this project, consider joining the Insiders Program to improve the sustainability of this project and unlock more features.

Sponsors

Special Sponsor

Stay in the flow with instant dev experiences.
No more hours stashing/pulling/installing locally

— just click, and start coding.

Platinum Sponsors

An approachable, performant and versatile framework for building web user interfaces.

Astro powers the world's fastest websites, client-side web apps, dynamic API endpoints, and everything in-between.

Essential tools for software developers and teams.

Open Source enables Microsoft products and services to bring choice, technology and community to our customers.

Silver Sponsors

Become a sponsor

v2.0.20

08 Jun 07:41
Compare
Choose a tag to compare

Features

  • feat(language-service): add localization support for zh-hk/zh-tw
  • feat(vscode): enable syntax highlighting of cue code blocks in MDX (#4425) - Thanks @remcohaszing

Bug Fixes

  • fix(vscode): fix "as"/"instanceof" expressions syntax highlight (#4412)
  • fix(language-core): ForIteratorExpression's returns property may be undefined (#4418) - Thanks @so1ve
  • fix(language-core): use defineEmits calls instead of type infer (#4430) - Thanks @zhiyuanzmj
  • fix(tsc): log catched errors to console (#4451) - Thanks @mik3ybark3r
  • fix(typescript-plugin): TS not working in template when tsconfig missing (#4452)
  • fix(language-core): use type infer instead of await import (#4436) - Thanks @zhiyuanzmj
  • feat(language-core): ignore type error for new functional component (#4445) - Thanks @zhiyuanzmj
  • fix(language-core): ignore type error for possible component name (#4446) - Thanks @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

Please refer to CHANGELOG.md for details.

Insiders Program 🚀

This project is community-driven. If you would like to support this project, consider joining the Insiders Program to improve the sustainability of this project and unlock more features.

Sponsors

Special Sponsor

Stay in the flow with instant dev experiences.
No more hours stashing/pulling/installing locally

— just click, and start coding.

Platinum Sponsors

An approachable, performant and versatile framework for building web user interfaces.

Astro powers the world's fastest websites, client-side web apps, dynamic API endpoints, and everything in-between.

Essential tools for software developers and teams.

Open Source enables Microsoft products and services to bring choice, technology and community to our customers.

Silver Sponsors

Become a sponsor

v2.0.19

16 May 04:58
Compare
Choose a tag to compare

Bug Fixes

  • language-core: property 'xyz' does not exist on type 'abc' when using v-for (#4386)
  • language-core: avoid report error when events do not accept parameters (#4387)
  • language-core: inline dynamic event handlers should not expect commas (#4387)

Please refer to CHANGELOG.md for details.

Insiders Program 🚀

This project is community-driven. If you would like to support this project, consider joining the Insiders Program to improve the sustainability of this project and unlock more features.

Sponsors

Special Sponsor

Stay in the flow with instant dev experiences.
No more hours stashing/pulling/installing locally

— just click, and start coding.

Platinum Sponsors

An approachable, performant and versatile framework for building web user interfaces.

Astro powers the world's fastest websites, client-side web apps, dynamic API endpoints, and everything in-between.

Essential tools for software developers and teams.

Silver Sponsors

Become a sponsor

v2.0.18

15 May 12:15
Compare
Choose a tag to compare

Features

  • language-core: report unknown events when strictTemplates is enabled (#3718)
  • language-core: add compileSFCScript plugin hook (#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)
  • language-core: variable used in key appears as unused in v-for template tag (#329) (#3421)
  • language-core: generics with slots don't work with Vue 2.7 (#3241)
  • language-core: template language of .md files should be markdown (#4299)
  • language-core: no template class links when experimentalResolveStyleCssClasses is set to always (#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)
    • 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 (volarjs/services#95)
  • The following extensions have been added to Hybrid Mode’s compatibility whitelist:
    • miaonster.vscode-tsx-arrow-definition
    • runem.lit-plugin

Please refer to CHANGELOG.md for details.

Insiders Program 🚀

This project is community-driven. If you would like to support this project, consider joining the Insiders Program to improve the sustainability of this project and unlock more features.

Sponsors

Special Sponsor

Stay in the flow with instant dev experiences.
No more hours stashing/pulling/installing locally

— just click, and start coding.

Platinum Sponsors

An approachable, performant and versatile framework for building web user interfaces.

Astro powers the world's fastest websites, client-side web apps, dynamic API endpoints, and everything in-between.

Essential tools for software developers and teams.

Silver Sponsors

Become a sponsor

v2.0.17

10 May 09:18
Compare
Choose a tag to compare

Features

  • language-core: add JSDoc support for component (#2377)
  • language-core: add JSDoc support for script setup binding variables (#3409)
  • language-core: add class component support (#4354)
  • language-service: re-support scoped class links in template (#4357)
  • typescript-plugin: create script setup block when auto import if needed
  • typescript-plugin: add JSDoc support for events in template (#4365)
  • component-meta: add JSDoc tags support for events
  • language-core: support defineOptions (#4362) - Thanks @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)
  • language-core: fix nameless event expression formatting
  • language-core: types imported in the <script setup> should not be used as a variable in template (#4353)
  • language-core: renaming classname within scoped not working (#4355)
  • language-core: <style> completions and html custom data completions not provided in some cases (#4092)
  • language-core: improve code action edits mapping fault tolerance
  • language-core: support defineModel for generic component (#4345) - Thanks @zhiyuanzmj
  • language-service: completion cannot trigger in SFC root
  • component-meta: forceUseTs options not working

Other Changes

  • Upgrade Volar from v2.2.0 to v2.2.2.
    • fix(language-server): pass correct languageId when creating virtual code (volarjs/volar.js#173)
    • fix(typescript): additional completion not working in plugin (#4323)
  • Upgrade Volar services from v0.0.42 to v0.0.44.
    • feat(typescript): code action edits respect editor formatting settings (volarjs/services#30)
    • fix(typescript): not being able to jump to shims module definition
    • fix(typescript): allowTextChangesInNewFiles never true for embedded documents
    • perf(typescript): check command resolve capability only for specific refactors (volarjs/services#94)
  • The following extensions have been added to Hybrid Mode’s compatibility whitelist:
    • mxsdev.typescript-explorer
  • Deprecated vueCompilerOptions.experimentalUseElementAccessInTemplate
  • Specify packageManager (#4358) - Thanks @so1ve
  • docs: emoved possibly redundant duplicate reference (#4348) - Thanks @artshade
  • language-service: temporarily remove references codeLens (#4364)

Please refer to CHANGELOG.md for details.

Insiders Program 🚀

This project is community-driven. If you would like to support this project, consider joining the Insiders Program to improve the sustainability of this project and unlock more features.

Sponsors

Special Sponsor

Stay in the flow with instant dev experiences.
No more hours stashing/pulling/installing locally

— just click, and start coding.

Platinum Sponsors

An approachable, performant and versatile framework for building web user interfaces.

Astro powers the world's fastest websites, client-side web apps, dynamic API endpoints, and everything in-between.

Essential tools for software developers and teams.

Silver Sponsors

Become a sponsor

v2.0.16

01 May 03:39
Compare
Choose a tag to compare

Bug Fixes

  • language-core: virtual document language ID is not updated when changing SFC style block lang
  • language-core: correct logic for defineSlots destructuring (#4326) - Thanks @zhiyuanzmj
  • language-core: ObjectDirective does not work with defineSlots (#4327)
  • language-service: emmet not working in postcss style block (volarjs/volar.js#169)

Other Changes

Please refer to CHANGELOG.md for details.

Insiders Program 🚀

This project is community-driven. If you would like to support this project, consider joining the Insiders Program to improve the sustainability of this project and unlock more features.

Sponsors

Special Sponsor

Stay in the flow with instant dev experiences.
No more hours stashing/pulling/installing locally

— just click, and start coding.

Platinum Sponsors

An approachable, performant and versatile framework for building web user interfaces.

Astro powers the world's fastest websites, client-side web apps, dynamic API endpoints, and everything in-between.

Essential tools for software developers and teams.

Silver Sponsors

Become a sponsor

v2.0.15

30 Apr 02:48
Compare
Choose a tag to compare

Features

  • Redesign additional extensions, VitePress, PetiteVue support (#4321)
    • Fix custom file extensions not working in Hybrid Mode (#4251)
  • vscode: prompt when Hybrid Mode is explicitly enabled but known incompatible extensions are installed
  • language-core: use internal options for directly exposing user props/emits types (vuejs/core#10801)
  • language-core: support defineSlots destructuring (#4312) - Thanks @zhiyuanzmj

Bug Fixes

  • vscode: when enabled VitePress support, extension not activated when opening markdown files
  • language-core: auto-complete not working in v-bind

Performance

  • language-service: emmet completion should not be blocked by TS type evaluation (#4298)
  • language-core: simplify virtual code for intrinsic elements

Other Changes

  • Upgrade Volar from v2.2.0-alpha.10 to v2.2.0-alpha.12:
    • Avoid extension crash when workspace TSDK does not exist
    • Fix template variables cannot be renamed at the first character in Hybrid Mode (#4297)
    • Fix template virtual code mapping is misaligned in Windows in Hybrid Mode (#4297)
  • Add svelte.svelte-vscode (>=108.4.0) to Hybrid Mode compatibility whitelist (sveltejs/language-tools#2317)
  • component-meta: convert source code to TS
  • language-core: export allCodeFeatures (#4320) - Thanks @zhiyuanzmj

Please refer to CHANGELOG.md for details.

Insiders Program 🚀

This project is community-driven. If you would like to support this project, consider joining the Insiders Program to improve the sustainability of this project and unlock more features.

Sponsors

Special Sponsor

Stay in the flow with instant dev experiences.
No more hours stashing/pulling/installing locally

— just click, and start coding.

Platinum Sponsors

An approachable, performant and versatile framework for building web user interfaces.

Astro powers the world's fastest websites, client-side web apps, dynamic API endpoints, and everything in-between.

Essential tools for software developers and teams.

Silver Sponsors

Become a sponsor

v2.0.14

22 Apr 01:47
Compare
Choose a tag to compare

Features

  • language-core: added search html tag (#4280) - Thanks @audunhov
  • language-service: added Russian, Czech localization support

Bug Fixes

  • language-core: @ts-ignore not working for slots (#4263)
  • language-core: reduce unnecessary props mapping (#4284)
  • tsc: improve regexp performance for global type removal (#4260) - Thanks @blake-newman

Other Changes

  • Upgrade Volar from v2.2.0-alpha.8 to v2.2.0-alpha.10 to fix some issues:
    • Parameter Hints not working in Hybrid Mode (#3948)
    • TS server to crash repeatedly when include large js file (#4278)
    • Randomly causing errors when renaming / find definitions in Hybrid Mode (#4257, #4281, #4282)
    • Unable to resolve Nuxt UI component type
    • Incomplete results for find refernces in Hybrid Mode
  • The following extensions have been added to Hybrid Mode’s compatibility whitelist:
    • bierner.lit-html
    • denoland.vscode-deno (When deno.enable is false)
    • jenkey2011.string-highlight
  • language-core: improve maintainability of codegen (#4276)
    • Deprecated vueCompilerOptions.nativeTags, now respects the nodeType property of template AST node.
    • Dynamic component types without v-bind:is are no longer supported.

Please refer to CHANGELOG.md for details.

Insiders Program 🚀

This project is community-driven. If you would like to support this project, consider joining the Insiders Program to improve the sustainability of this project and unlock more features.

Sponsors

Special Sponsor

Stay in the flow with instant dev experiences.
No more hours stashing/pulling/installing locally

— just click, and start coding.

Platinum Sponsors

An approachable, performant and versatile framework for building web user interfaces.

Astro powers the world's fastest websites, client-side web apps, dynamic API endpoints, and everything in-between.

Essential tools for software developers and teams.

Silver Sponsors

Become a sponsor

v2.0.13

13 Apr 12:59
Compare
Choose a tag to compare

Performance

  • tsc: re-introduce global types removal check (#4245)

Other Changes

  • Upgrade Volar from v2.2.0-alpha.7 to v2.2.0-alpha.8 for a vue-tsc performance issue fixes (#4238)

Please refer to CHANGELOG.md for details.

Insiders Program 🚀

This project is community-driven. If you would like to support this project, consider joining the Insiders Program to improve the sustainability of this project and unlock more features.

Sponsors

Special Sponsor

Stay in the flow with instant dev experiences.
No more hours stashing/pulling/installing locally

— just click, and start coding.

Platinum Sponsors

An approachable, performant and versatile framework for building web user interfaces.

Astro powers the world's fastest websites, client-side web apps, dynamic API endpoints, and everything in-between.

Essential tools for software developers and teams.

Silver Sponsors

Become a sponsor

v2.0.12

10 Apr 09:46
Compare
Choose a tag to compare

Bug Fixes

  • vscode: restart tsserver before restart vue language server (#4242)
  • tsc: remove exit early condition
  • typescript-plugin: handle named pipe server timeout
  • language-core: @vue-ignore not working for fragment v-if/v-for nodes (#4232)

Other Changes

  • Upgrade Volar from v2.2.0-alpha.6 to v2.2.0-alpha.7 for a typescript plugin bug fixes

Please refer to CHANGELOG.md for details.

Insiders Program 🚀

This project is community-driven. If you would like to support this project, consider joining the Insiders Program to improve the sustainability of this project and unlock more features.

Sponsors

Special Sponsor

Stay in the flow with instant dev experiences.
No more hours stashing/pulling/installing locally

— just click, and start coding.

Platinum Sponsors

An approachable, performant and versatile framework for building web user interfaces.

Astro powers the world's fastest websites, client-side web apps, dynamic API endpoints, and everything in-between.

Essential tools for software developers and teams.

Silver Sponsors

Become a sponsor