ReviewOS

also looking at this

stacks/devtools

chore(deps): update dependency vue-tsc to v3

#21
Open renovate[bot] wants to merge renovate/major-vue-language-tools-monorepo into main
6 files +29 -25
8 days ago

[!NOTE] This PR body was truncated due to platform limits.

This PR contains the following updates:

PackageChangeAgeAdoptionPassingConfidence
vue-tsc (source)^2.2.10 → ^3.3.14ageadoptionpassingconfidence

Release Notes

vuejs/language-tools (vue-tsc)

v3.3.14

Compare Source

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_unwrap to keep literal bindings on TS 7.1 (ce6c1de)
  • fix: avoid never slot 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 $event parameter of inline handlers explicitly (d3b42a1)
  • fix: type unknown components without diagnostic filters (b3909a3)
  • fix: keep leading @ts-nocheck and /// <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.customData configuration (3961653)
typescript-plugin
  • fix: show unwrapped type when hovering setup refs in template (c742c14)

Contributors: @​johnsoncodehk, @​lazerg, @​ValentinYoushkevich, @​so1ve, @​WangKepeople

v3.3.13

Compare Source

language-core
  • fix: generate setup macros without static imports (85f665e)
vscode
  • fix: avoid registerHooks on buggy Node versions (7e0d6c4)

Contributors: @​KazariEX, @​serkodev

v3.3.12

Compare Source

language-core
  • security: improved handling of untrusted Vue files (cea0698)
  • feat: infer first parameter type of default factory for defineModel (1be73b8)
  • feat: report duplicate CSS module names, including non-identifier names (d41d919) (ffb85e5)
  • fix: keep union props when using withDefaults (084f30f)
  • fix: keep inference-only props string single-line with block comments (55ca36f)
  • fix: support calling template bindings without .value (7ad4a94)
  • fix: avoid type guards missing from the tsc bundle in template binding analysis (e743e80)
  • fix: pad directive hook signatures to check short-arity directive bindings (94052b8)
  • fix: vueCompilerOptions.plugins now overrides the inherited list instead of being deduplicated on resolve (4fa9e97) (c0e5d2e)
  • fix: eliminate synthesized ignore comments across codegen, scoped class aliases and compound event handlers (dbcb7de) (eccb74a) (612ae32)
  • fix: correct template mapping boundaries and eliminate unmapped diagnostics (04954dd) (8c85e38) (af7a194) (90f8207)
  • fix: stop typedef JSDoc from leaking into emitted dts (d4d4139)
  • perf: precompile attribute glob matchers (7d2e603)
component-meta
  • fix: stop checking JS Vue files as TS (045a6a7)
typescript-plugin
  • fix: don't abort reference span fix-up at style-less files (e46126c)
tsc
  • fix: prevent watch mode crash on incremental build (a59da36)
vscode
  • perf: reduce focus mode overhead (b0936d1)

Contributors: @​johnsoncodehk, @​serkodev, @​KazariEX, @​00200200, @​camonunez, @​Cherry, @​hungateJoseph, @​uturnr, @​ValentinYoushkevich, @​xia-chao

v3.3.11

Compare Source

language-core
  • fix: generate full fragment props for type checking (fd6dada)
language-service
  • fix: invalidate tag and prop casing detection after template changes (879ee9a)
component-meta
  • fix: invalidate module resolution caches when deleting files (8359c44)
tsc
  • fix: make extension retry errors serializable across IPC (05ab009)
vscode

Contributors: @​serkodev, @​pierreedbrg

v3.3.10

Compare Source

language-core
  • fix: ignore trailing whitespace after generic parameter commas (6e3aea9)
  • fix: resolve v-for item type over generic sources (8e78c5d)
  • fix: do not extract SFC blocks across inline Markdown code (055b9c7)
language-service
  • fix: serialize template data provider access across concurrent requests (2808dbe)
typescript-plugin
  • fix: resolve requests against the owning project (10c9168)
tsc
  • fix: support different extension sets across project references (cb65247)
vscode
  • feat: patch typescript.js via --require to support read-only file systems (0c47258)
  • fix: isolate custom TypeScript plugin paths between profiles (47216a9)
  • fix: update output file name for production (5616255)

Contributors: @​serkodev, @​KazariEX, @​lazerg

v3.3.9

Compare Source

language-core
  • feat: check unused generic type parameters (9d08c43)
language-service
  • fix: preserve trailing and current directive modifiers when completing inside a directive, and when filtering duplicates (3e362fb) (d8afe9e) (f4e584b)
component-meta
  • feat: expose runtime values of enum members in schema (00ce7ec)
  • fix: keep getProgramAndFile free of side effects (c99eb00)
workspace
  • feat: migrate build and tests to typescript-native-bridge (c4e58ea)

Contributors: @​KazariEX, @​johnsoncodehk, @​lazerg, @​seanogdev, @​valentinpalkovic

v3.3.8

Compare Source

language-core
  • feat: support vapor directives (6a5334c)
  • refactor: pass end offsets to Boundary.start and drop the unmapped string literal key generation branch (894a2aa) (4e343d4)
workspace
  • chore: upgrade to TypeScript 7 and support @typescript/typescript6 (1ef7ecb)

Contributors: @​KazariEX, @​liangmiQwQ, @​WaldemarEnns

v3.3.7

Compare Source

language-core
  • fix: wrap single expression event handlers to avoid ASI after return (b1a8452)
  • refactor: add __VLS_StyleScopedClasses to generated types (8023ac4)
typescript-plugin
  • fix: filter const globals from template completions (a618ad5)

Contributors: @​KazariEX, @​johnsoncodehk

v3.3.6

Compare Source

language-core
  • fix: treat event handler expressions as compound more accurately, preserving return types (1fdd511) (8440da6) (9b6fb7f)
  • fix: make generic component internal context inference type-safe across the .d.ts boundary (bff182a)
  • fix: match upstream CSS v-bind parsing behavior (5b450ce)
  • fix: include setup bindings as potential component names (c0e42fd)
  • perf: reduce boundary code feature allocations and cache inline TS ASTs in a WeakMap (f69712f) (c82592d)
  • refactor: centralize code features and deprecate allCodeFeatures (5cdf4da)

Contributors: @​KazariEX, @​Holiden

v3.3.5

Compare Source

language-core
  • fix: include event modifiers and raw event parts in duplicate listener checks (13b9eae) (59ebc40)

Contributors: @​KazariEX

v3.3.4

Compare Source

language-core
  • fix: detect duplicate event listeners across name formats (e70cb29)
  • fix: camelize slot props regardless of the htmlAttributes option (3adbe2c)
  • fix: only exclude already-set props from inherited attrs when checkRequiredFallthroughAttributes is enabled (9bc36fc)
language-service
  • fix: respect var hoisting for destructured props hints (cbd4ea0)
typescript-plugin
  • fix: do not treat class and style as a boolean property (f80e063)

Contributors: @​KazariEX, @​whysopaul

v3.3.3

Compare Source

vscode
  • fix: preserve TS auto imports behavior in Vue files (1d672b6)
  • fix: prevent grammar scopes leakage in capitalized tags (cd7a6e5)
workspace
  • fix: read PR title from env in the auto-version workflow to prevent injection (b51c92d)

Contributors: @​KazariEX, @​arpitjain099

v3.3.2

Compare Source

language-core
  • feat: preserve literal types for inline v-for sources (11b390c)
  • fix: align v-bind shorthand identifier skipping with interpolation (4f50ebe)
vscode
  • feat: transform tsserver content (168c7fa)
  • fix: do not mark the trailing slash in capitalized self-closing tags as invalid (6f49ca0)
  • fix: fall back to the original tsserver path when the proxy write fails (7aeb5f3)

Contributors: @​KazariEX, @​kkesidis, @​suisanka

v3.3.1

Compare Source

language-core
  • fix: generate setup macros without static imports (85f665e)
vscode
  • fix: avoid registerHooks on buggy Node versions (7e0d6c4)

Contributors: @​KazariEX, @​serkodev

v3.3.0

Compare Source

language-core
  • feat: check required fallthrough attributes (ee5e76a)
  • fix: penetrate v-if branch fragments when collecting single root nodes (6c13831)
  • refactor: rename the Sfc APIs to IR (dc941c7)
language-service
  • feat: re-support html.customData (94da05a)
  • fix: strip ="" only for plain boolean props completion edits, and reset to the default data provider after running with the Vue data provider (c224e6a) (55af099)
  • fix: reuse ASTs for define assignment suggestions and avoid duplicate attrs and props requests (34beaf3) (c8e435d)
typescript-plugin
  • feat: refine props completion to follow TS behavior, filtering fallback global completions and only returning props for component nodes (cc9585a) (154d94d) (fd53569) (e2181c5)
vscode
  • fix: write typescript plugins at build time (cabd9c6)
  • fix: avoid infinite diagnostics on Vue files when project diagnostics is enabled (0614a53)
  • fix: include extraFileExtensions in the tsserver configure request payload (818226a)

Contributors: @​KazariEX, @​Bomberus

v3.2.9

Compare Source

language-core
  • perf: rewrite a subset of template node transforms (680aae5)
  • fix: do not process inline markdown syntax in semantic-aware segments (e857bfa)
vscode
  • fix: trigger file rename edits when moving folders with Vue files (3fb3329)
workspace
  • chore: bump volar services to 0.0.71 (58ee658)

Contributors: @​KazariEX, @​TRIS-H

v3.2.8

Compare Source

language-core
  • fix: replace inline code blocks after SFC block processing (de8c2af)
  • fix: support navigation for kebab-case declarations in GlobalComponents (e3298b6)
  • refactor: generate template helper names (5a8cfa9)
language-service
  • feat: support TS module resolution for SCSS @import navigation (d1b01ec)
  • refactor: get void elements from the default html provider (dc7fc80)
typescript-plugin
  • fix: replace language service per-method overrides with a proxy (d03866c)

Contributors: @​KazariEX, @​Gehbt

v3.2.7

Compare Source

component-meta
  • fix: preserve non-ASCII characters in prop default values (a954b9c)
workspace
  • chore: bump typescript to 6.0.3 (1e54c84)

Contributors: @​ef81sp, @​KazariEX

v3.2.6

Compare Source

language-core
  • fix: generate $slots type in template correctly with defineSlots (b04ff1a)
  • fix: infer only the readonly component of arrays in v-for (ada2857)
language-service
  • fix: avoid false positives for destructured props detection on binding property names (c8dc720)
vscode
  • fix: use regex for TS extension patching to support VS Code 1.110+ (9991d43)

Contributors: @​KazariEX, @​ascott18, @​ebiryu

v3.2.5

Compare Source

language-core
  • fix: re-parse the template when interpolation syntax breaks (83ddb4b)
language-service
  • fix: use the default html data provider for document symbols (1932c1c)
language-plugin-pug
  • fix: handle backtick attributes containing both quote types (dbaa710)
workspace
  • docs: document all packages with a consistent README structure, and update the tsconfig schema of the plugins option (0c4c509) (3ffeab3)

Contributors: @​baptistejamin, @​Dsaquel, @​johnsoncodehk, @​KazariEX, @​liangmiQwQ

v3.2.4

Compare Source

language-core
  • feat: place plugin configs under ctx.config and support type annotation via generics (b2d5e31)
workspace
  • chore: publish to npm with OIDC (b826171)

Contributors: @​ghiscoding, @​KazariEX

v3.2.3

Compare Source

language-core
  • feat: support configuration for language plugins (afc069e)
  • fix: infer object keys as string if they do not extend string (4ca24b6)
  • fix: avoid defineModel breaking the AST in lang="js" (a522afa)
  • fix: avoid yield* on strings, and use the builtin method from @vue/shared to check builtin directives (0aa74d1) (e40f116)
typescript-plugin
  • feat: correct rename behavior on same name shorthands in template (506e5ab)
  • fix: only forward quick info for original results without tags (601176e)
vscode
  • fix: correct indent for <style> and <script> tags (e76cf2e)

Contributors: @​KazariEX, @​serkodev

v3.2.2

Compare Source

language-core
  • fix: correct code features on v-bind shorthands of special attributes (a5b6635)
language-service
  • feat: strip ="" for boolean props completion edits (f1314ef)
  • fix: avoid duplicate directive modifiers in completion (b7244e1)
typescript-plugin
  • fix: only forward quick info and suggestion diagnostics for setup bindings (5f2d2db)
language-plugin-pug
  • feat: accurate Pug shorthand mapping (c97cf7d)
  • fix: pre-map HTML to Pug offset attribute (8fdfe99)

Contributors: @​KazariEX, @​johnsoncodehk

v3.2.1

Compare Source

language-core
  • fix: infer array type in v-for (ad127fc)
  • refactor: remove __VLS_InternalProps (2e0e5e0)
language-service
  • feat: only show shorthand props when no prefix is typed (5f326e2)
component-meta
  • fix: skip schema resolution correctly when option is false (719f1bc)
component-type-helpers
  • fix: add the missing tsconfig reference so the package is built and published (e36fcbd)

Contributors: @​johnsoncodehk, @​KazariEX, @​serkodev

v3.2.0

Compare Source

language-core
  • feat: revert overcorrection of v-for type inference (e0fb9e8)
  • feat: align v-for key type with Object.keys (1159f1e)
  • feat: narrow component and directive types (40dd226)
  • feat: support <!-- @strictTemplates --> magic comment (4277ab6)
  • fix: correctly resolve <script src=""> (145ee73)
  • fix: preserve template slot wrappers during createIfBranch (35e2c5a)
  • fix: include end tag locations when renaming global components (d1e7568)
  • refactor: replace dynamic types generation with static files (f498667)
  • refactor: improve Vue version detection and plugin resolution (0722817)
language-service
  • feat: rich hover message (a202bc7)
  • feat: support markdown JSDoc for rich hover message description (3417c37)
  • chore: adjust rich hover message title layout (21616fe)
component-meta
  • feat: add tags to slots and exposed (a144b6b)
  • feat: filter out irrelevant properties from exposed (232665d)
  • refactor: redundant logic between deduplication and language-core (3af4903)
  • refactor: de-dependency from component-type-helpers (09fce04)
  • refactor: search prop defaults with symbol declarations (bb235b6)
  • refactor: deprecate "noDeclarations" and "forceUseTs" options (f4979cd)
component-type-helpers
  • refactor: remove ComponentType helper (19a81d4)
typescript-plugin
  • feat: include leading dot when finding references to CSS classes (660439d)
  • fix: missing module error after file rename (0f16db8)
  • fix: prioritize non-warning completion entries over warning ones (#​5847) (7928a2d)
  • fix: always pass rest parameters for future compatibility (6d941b4)
  • fix: add nullish guards before accessing ts.CompletionEntryData (e768518)
  • fix: handle import type nodes in definition proxy (01c1426)
  • fix: handle type imports in component auto-import (45e994f)
vscode
  • fix: Vue TS highlighting when trailing type alias is missing semicolon (bb388d1)
  • perf: replace fast-diff with custom character-by-character alignment algorithm (704b30a)
  • refactor: update Vue grammar scope name to "text.html.vue" (784dd56)
  • test: add test for embedded grammars (3586b07)
workspace
  • chore: update testing infrastructure (4fbd087)
  • chore: use tsgo in development (0b0dd73)
  • chore: reduce local dependencies and update workflows (47498d1)
  • chore: upgrade tsslint and vite to pre-release versions (78f0ce8)
  • chore: delete tests for Vue 3.4 (27772e5)

Contributors: @​johnsoncodehk, @​serkodev, @​aj-dev, @​KazariEX

v3.1.8

Compare Source

language-core
  • fix: restore default import bindings for template scope (7d642d1)
  • fix: limit the range of parseDiagnostics checks (4688357)
  • fix: avoid generating component options within the setup scope (85c5cf0)
  • fix: fault-tolerant complex export expressions (fe687a6)
  • perf: dedupe component options generation (b071638)
language-service
  • feat: add tsconfig-based document link support for Pug (283e4f1)
typescript-plugin
  • fix: get preferences and formatOptions in tsserver (8b9d74c)
vscode
  • feat: support formatting with a selected range (f1a6b52)
  • feat: support multiline attribute for <script> and <style> tags (3a84ff6)

Contributors: @​johnsoncodehk, @​serkodev

v3.1.7

Compare Source

language-core
  • feat: cache virtual code by scriptId (b05c012)
  • fix: avoid invalid __VLS_Slots generation and generate the script separator on demand (9608709) (c65e5a5)
  • fix: avoid using the Identifier.text property (4a947ef)
workspace
  • feat: add typescript services types lint rule (d245142)

Contributors: @​johnsoncodehk, @​serkodev

v3.1.6

Compare Source

language-core
  • fix: Prettify<T> caused generic props to be inferred as unknown (adeba0a)
  • fix: infer the $el type for generic components using inferComponentDollarEl (54a19d4)
  • fix: ensure <script> content generates before <script setup>, and generate __VLS_TypePropsToOption on demand (15c3005) (2f2352d)
  • fix: support v-bind="$attrs" navigation when inferTemplateDollarAttrs is disabled (d747456)
  • fix: generate {} instead of its string value for style="..." (97c239d)
  • fix: completion for the second scoped class name (9fc27c5)
  • fix: remove the bypassDefineComponent hack for better JS support (14f63fd)
  • fix: add compatibility for the vapor attr (b2ebfe0)
  • fix: ensure type consistency for optional boolean props (b2ca816)
  • fix: AST fault tolerance for key binding on template, and correct inheritance of combine tokens (9f3d8cc) (97e5d01)
  • refactor: normalize the template AST, split style codegen and trim codegen options (147c69a) (343743f) (f4a9c50)
  • refactor: remove legacy template ref navigation support and the __VLS_unref helper (748a658) (05dd36a)
language-service
  • feat: enhanced component auto import (15cc24e)
  • fix: format components with HTML void-element names (52e3d5e)
  • fix: properly handle the promise when resolving CSS links (07db66a)
  • fix: skip const props = completion in StringLiteral (4a16e57)
component-meta
  • feat: add component name and description fields (a1b8b71)
  • refactor: deprecate the rawType and __internal__.tsLs fields (487dc29)
typescript-plugin
  • feat: map JSDoc information from <script setup> (732cb86)
  • feat: add support for the template "Add Import" quick fix (b8503cd)
  • fix: add nullish guards before accessing ts.CompletionEntryData (e768518)
  • fix: resolve the component type without __VLS_components (b6254ec)
vscode
  • feat: add settings to enable per-block formatting (56ae259)
  • feat: support the tsdk path for Eclipse Theia (5bf90db)
  • fix: patch isTypeScriptDocument for VSCode (0c80460)
  • fix: handle a leading < as an operator in SFC scripts (1ab9928)

Contributors: @​johnsoncodehk, @​serkodev, @​KazariEX, @​RayGuo-ergou

v3.1.5

Compare Source

language-core
  • fix: defineModel for generic component types (5d841f4)
  • fix: avoid a vue-tsc crash during single file checks (11a448c)
  • fix: dispose virtual code correctly (060e8fa)
  • fix: get updated template content from the correct source, and dedupe single root element types (b38301d) (45557c9)
  • fix: do not generate variable accesses for template refs used in v-bind shorthand, and remove special codegen logic for the style attribute (26b464f) (41f1ffc)
  • perf: skip unnecessary runtime codegen steps (4a9932c)
language-service
  • feat: support tsconfig path alias resolution for document links (d007a9c)
language-server
  • feat: add serverInfo to the initialized result (0b8a880)
vscode
  • fix: correct highlighting of tags starting with template (d937a84)

Contributors: @​KazariEX, @​serkodev, @​kada49

v3.1.4

Compare Source

language-core
  • fix: report the unused @vue-expect-error directive on components with loose props checks, including in v-else branches (6646704) (f66d3d1)
  • fix: respect directive comments before v-else (2abec30)
  • refactor: re-implement component references by codegen (6ccf06c)
language-service
  • fix: p

[!IMPORTANT] ✂ PR body was truncated to here.


Configuration

📅 Schedule: (UTC)

  • 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 becomes conflicted, 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 was generated by Mend Renovate. View the repository job log.

6 changed files on the files tab, with 0 review threads.

Sign in to comment on this pull request.