Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency vue-tsc to v2 #142

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 13, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
vue-tsc (source) ^1.8.27 -> ^2.0.26 age adoption passing confidence

Release Notes

vuejs/language-tools (vue-tsc)

v2.0.26

Compare Source

Features
  • language-service: Support auto-complete for more preprocessing languages.
  • language-core: Improve type compatibility with Vue 3.5. (#​4474) - Thanks, @​zhiyuanzmj.
Bug Fixes
  • vscode: Fix insider version display condition. Insiders
  • language-service: Fix vue-twoslash-queries not working in LSP mode.
  • language-service: Add null handling for script tag completion items. (#​4520)
  • language-core: Fix any in templates if the first checked file was not root. (#​4526) - Thanks, @​daniluk4000.
Other Changes
  • Upgraded Volar from v2.4.0-alpha.2 to v2.4.0-alpha.14:
    • Fixed an issue where, when Hybrid Mode is disabled, TS support for Vue files not included in tsconfig may be missing.
    • Improved the consistency of vue-tsc and tsc behavior. (#​3526)
    • Fixed the --clean flag support for vue-tsc.
  • Updated the high-level overview mermaid diagram.
  • Added 'expected' and 'actually happening' sections to the bug report template. (#​4515) - Thanks, @​davidmatter.

v2.0.24

Compare Source

Features
  • vscode: pop message box if new insiders version available insiders
  • vscode: if insiders versions information failed to fetch from GitHub, try to fetch from CDN insiders
  • language-service: better sfc-level tag name completion (#​4506) - Thanks @​KermanX
Bug Fixes
Refactors
  • language-server: reorganize the code structure (#​4507)
Other Changes
  • Upgrade Volar from v2.3.1 to v2.4.0-alpha.2.
  • docs: add nvim-cmp integration (#​4463) - Thanks @​RayGuo-ergou
  • docs: update mermaid
  • The following extensions have been added to Hybrid Mode’s compatibility whitelist (#​4206):
    • p42ai.refactor
    • nrwl.angular-console
    • styled-components.vscode-styled-components
    • Divlo.vscode-styled-jsx-languageserver

v2.0.22

Compare Source

Bug Fixes
Other Changes
  • Upgrade Volar from v2.3.0-alpha.14 to v2.3.1.
    • Error tolerant to contentChanges length (#​4457)
  • Add feature request template (#​4490) - Thanks @​so1ve
  • docs: fix wrong links in CHANGELOG.md (#​4475) - Thanks @​KermanX

v2.0.21

Compare Source

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

v2.0.20

Compare Source

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:

v2.0.19

Compare Source

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)

v2.0.18

Compare Source

Features
  • feat(language-core): report unknown events when strictTemplates is enabled (#​3718)
  • feat(language-core): add compileSFCScript plugin hook (#​3200)
  • feat(vscode): add coffeescript syntax highlight support
Bug Fixes
  • fix(language-core): fix event handler type for hyphen-case event names
  • fix(language-core): allow binding multiple events with the same name (#​4369)
  • fix(language-core): variable used in key appears as unused in v-for template tag (#​329) (#​3421)
  • fix(language-core): generics with slots don't work with Vue 2.7 (#​3241)
  • fix(language-core): template language of .md files should be markdown (#​4299)
  • fix(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.
  • The following extensions have been added to Hybrid Mode’s compatibility whitelist:
    • miaonster.vscode-tsx-arrow-definition
    • runem.lit-plugin

v2.0.17

Compare Source

Features
  • language-core: add JSDod 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

v2.0.16

Compare Source

Bug Fixes
Other Changes

v2.0.15

Compare Source

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

v2.0.14

Compare Source

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.

v2.0.13

Compare Source

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)

v2.0.12

Compare Source

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

v2.0.11

Compare Source

Features
  • vscode: support for enabling/disabling typescript plugin (#​4226)
    • Added typeScriptPluginOnly option for vue.server.hybridMode setting.
    • When Hybrid Mode is disabled, the Vue TypeScript Plugin will be disabled by default.
  • vscode: support for vue.format.wrapAttributes setting (#​4212)
  • vscode: add vue.codeActions.askNewComponentName setting (#​4217)
Bug Fixes
  • vscode: Find File References not working when hybrid mode is disabled (#​4221)
  • language-core: type narrowing not working for inline event handlers (#​4209)
  • language-core: @vue-ignore, @vue-expect-error not working for interpolations
  • language-core: improve reliability for @vue-ignore, @vue-expect-error (#​4203)
  • language-core: duplicated items in suggestion list for prop values (#​3922)
  • language-server: vueCompilerOptions not working with hybrid mode (#​4211) (#​3959)
Other Changes

v2.0.10

Compare Source

Features
  • vscode: enable vue.updateImportsOnFileMove.enabled by default (#​3646)
  • vscode: re-add restart server command (#​4174)
  • vscode: automatically enable Hybrid Mode if possible (#​4206)
  • component-meta: add typing resolution for defineModel modifiers (#​4175) - Thanks @​stafyniaksacha
  • language-service: drag and drop import respects tsconfig path aliases (#​4184)
  • language-service: supports auto insertion of multiple cursors (#​4140)
Bug Fixes
  • language-server: additionalExtensions option not working for inferred project
  • language-core: avoid interpolation indentation affecting each other
  • language-core: generate each interpolation into separate virtual code (#​4165)
  • language-service: ignore html wrapAttributes format settings for vue document (#​3987)
  • vscode: remove duplicate ts version status (#​4167)
  • language-server: .html, .md file language id incorrect
  • typescript-plugin: formatting settings not working for ts completion
  • tsc: remove fake global types holder for composite projects compatibility (#​4196) - Thanks @​blake-newman
Performance
  • language-core: cache canonical root file names with string Set
Other Changes
  • Upgrade Volar from v2.1.3 to v2.2.0-alpha.5 for a few bug fixes and performance improves, please refer to CHANGELOG.md for details.
  • vscode: update required VSCode version to ^1.88.0
  • docs: update readme with neovim lspconfig setup (#​4134) - Thanks @​RayGuo-ergou
  • language-core: split inline css codegen into separate plugin
  • language-core: move global types codegen into separate script
  • language-core: resolve virtual code features before push code
  • test: added simple tests for vue-tsc and custom SFC extensions. (#​4181) - Thanks @​cabal95

v2.0.7

Compare Source

[!NOTE]
Hybrid Mode is now disabled by default, you need to enable vue.server.hybridMode in settings to enable it explicitly.

Features
  • language-server: reintroducing full TS support and disable Hybrid Mode by default (#​4119)
  • vscode: check outdated @vue/language-plugin-pug in doctor
  • vscode: significantly reduces the status bar space occupied
Bug Fixes
  • vscode: vueCompilerOptions no longer prompts for deprecated options
  • component-meta: defineSlots allows empty params (#​4093) - thanks @​Evertvdw
  • typescript-plugin: fault tolerance for named pipe servers json file (#​4075) - thanks @​Simon-He95
  • language-core: generate defineModel emits type on-demand (#​4052) - thanks @​so1ve
  • language-core: special treatment for number elements inside v-for (#​3859) - thanks @​so1ve
  • language-plugin-pug: semantic tokens mapping failed (#​4070)
Other Changes

v2.0.6

Compare Source

[!IMPORTANT]
If the TypeScript language server crashes since 2.0, please try using VSCode Insiders and install JavaScript and TypeScript Nightly, or temporarily downgrade to 1.8.27.
Issue: https://github.com/vuejs/language-tools/issues/3962

If false positive errors occurs, please try disabling unrelated extensions in the Vue workspace.
Issuehttps://github.com/vuejs/language-tools/issues/394242

Fixes
  • language-core: use local variables in v-bind shorthand (#​4017) - thanks @​so1ve
  • language-core: sfc folding end position failed to mapping (#​4038) - thanks @​so1ve
  • language-service: remove extraLiners option for formatting (#​3943)
  • language-service: bump volar-service-typescript for fix jsx formatting (#​3949)
  • language-service: bump @volar/typescript 2.0.5 completion performance regression (#​4024)
Refactors
  • vscode: rename vue.inlayHints.vbindShorthand setting to vue.inlayHints.vBindShorthand (#​3995) - thanks @​l4dybird

v2.0.5

Compare Source

[!IMPORTANT]
If the TypeScript language server crashes in version 2.0, please try using VSCode Insiders, or temporarily downgrade to 1.8.27.
Issue: https://github.com/vuejs/language-tools/issues/3962

If false positive errors occurs, try creating an empty jsconfig in the workspace root directory.
Issue: https://github.com/vuejs/language-tools/issues/3942

Features
  • language-core: support v-bind shorthand (#​3990) - thanks @​so1ve
  • language-service: support inlay hints for v-bind shorthand (#​3990) - thanks @​so1ve
  • vscode: prompt to disable Svelte extension in Vue workspace to avoid conflicts
Fixes
  • typescript-plugin: fault tolerance for named pipe server data
  • language-core: avoid globalTypesHolder being specified from a node_modules file (#​3990)
  • language-core: fault tolerance for plugin creation
  • language-plugin-pug: failed to load due to an invalid require path (#​3930)
  • typescript-plugin: custom extensions do not work (#​3977)
  • language-service: html custom data not working (#​3975)
Refactors

v2.0.4

Compare Source

Features
  • vscode: report requires TSDK version in doctor
Fixes
  • typescript-plugin: JSON parsing error when server data length > 8192 (#​3961)

v2.0.3

Compare Source

Features
Fixes
  • vscode: compatible with VSCode 1.87.0
  • vscode: search "TypeScript and JavaScript Language Features" with id (#​3932)
  • typescript-plugin: more reliable connection to named pipe server (#​3941)
Refactors
  • language-service: dependency injection typescript plugin (#​3994)

v2.0.2

Compare Source

Fixes
  • vscode: fix random Cannot access 'i' before initialization errors
  • typescript-plugin: vue-tsp-table.json path is invalid in windows

v2.0.1

Compare Source

Fixes
  • npm release does not include files (#​3919)

v2.0.0

Compare Source


Configuration

📅 Schedule: Branch creation - "every weekend" in timezone Europe/Berlin, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Never, 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 has been generated by Mend Renovate. View repository job log here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants