This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| vue-tsc | ^0.37.3 -> ^1.0.9 |
Release Notes
johnsoncodehk/volar
v1.0.9
- feat(vue-tsc): add error message for
noEmitOnError(#1669) - feat: add support for custom file extensions (#1931)
- feat: add support for
typescript/javascript.suggest.completeFunctionCalls(#956) - feat: add support for JSX auto closing tags and tags commenting (#1494)
- feat: add support for auto import component from .ts sources (#1643)
- feat: add
Server Statscommand for debugging loading files - feat: add
volar.completion.normalizeComponentAutoImportNamesetting to support removeVueending for component auto import (#82) - feat: add
volar.vueserver.diagnosticModelsetting to support pull model for diagnostic - feat: add
experimentalUseElementAccessInTemplatesetting in vueCompilerOptions for class component supports (#997) - feat: migrated to standard token types for support semantic tokens IDE other than VSCode
- feat: register file watchers in language server for support IDE other than VSCode (#2037)
- perf: load scripts on demand on inferred project
- fix(doctor): update valid
@types/nodeversion and clarity words (#2043) - fix: avoid language server crash by invalid tsconfig references path (#1957)
- fix:
LanguageServicePluginerror don'ts reporting - fix: SCSS At-Rule autocomplete not working
- fix: intellisense not working for files path start with
.(#1147) - fix: avoid reporting partial diagnostic when failed to update cache range
- fix: formatting not working for template interpolations (#2026)
- fix: file watchers not working (#2028)
- fix: document version of code action incorrect (#2025)
- fix: don't filter
onXxxfor props autocomplete (#2034) - fix: import statements completion not working (https://github.com/johnsoncodehk/volar/issues/1983#issuecomment-1278778898)
- fix: server throwing errors due to component auto import completion canceled (#1983)
- fix: expand selection does not work correctly in
<template>(#1465) - fix: component tags messes with duplicate name template properties (#2030)
- fix: improve invalid content trimming in .md files for VitePress
- fix: avoid language server throwing when changing built-in TS plugin activation
Special Sponsor
|
|
Out Gold Sponsors
|
Out Silver Sponsors
|
|
v1.0.8
- feat: support for twoslash queries (https://github.com/johnsoncodehk/volar-plugins/issues/9)
- feat: support
genericattribute auto-complete - feat: add
volar.vueserver.noProjectReferencessetting for support jump to source files from reference projects (#1344) - fix: SFC parse failed if script content including
<script>(#1982) - fix: avoid report type error for invalid component without enable
jsxTemplates(#2007) - fix: intrinsic tag highlight should only including open tag and close tag (#2009)
- fix: component type should take capitalize property takes precedence over camelize property from context (#2010)
- fix: references codeLens should not including sources on display (https://github.com/johnsoncodehk/volar/issues/1989#issuecomment-1277585337)
v1.0.7
- feat(vue-language-core): support custom v-model prefix (#2004)
- feat: allow passing attributes array for
experimentalModelPropNameignore setting (#1821) - fix:
@volar/vue-language-plugin-pugcause to doctor warns in Vue 2.7 project (#2002) - fix: mitigate virtual file mapping highlights dislocation
- fix: tag hover not working when enabled
jsxTemplates - fix: avoid convert invalid JSX type to any when enabled
jsxTemplates - fix: component JSX type invalid when enabled
jsxTemplatesbut template has no any slots - perf: try skip convert attribute value to unicode
v1.0.6
- fix: component ast broken when use script setup with
export default(#1996) - fix:
experimentalModelPropNamelink invalid (#1999) - fix:
@volar/pug-language-servicecrash (#2000)
v1.0.5
- feat(doctor): report warning for
@types/nodeversion>= 18.8.1(#1985) - fix:
@volar-examples/svelte-tsc,@volar-examples/svelte-typescriptreleased empty dist - fix: component syntax minor defect when enabled
experimentalRfc436 - fix: force use VSCode display language in language server (#1959)
- fix: don't hoisting defineProps type arg when disabled
experimentalRfc436(#1994)
v1.0.4
- feat: Support generic typed template slots for RFC 436 (#1987)
- feat: add
resolveTemplateCompilerOptionsAPI forVueLanguagePlugin - feat: support intellisense for
genericattribute (#1967) - feat: add
Show Component Metacommand for inspectvue-component-metaresult - feat: add
vueCompilerOptions.experimentalModelPropNamefor customizev-modelbinding prop for vue 2 component (#1969) - fix:
TypeScript Vue Plugin (Volar)stop working - fix: change
vueCompilerOptions.dataAttributesdefault value from["data-*"]to[](#1965) - fix: component props order should be on the top (#1972)
- fix:
@volar/vue-language-plugin-pugcrash due to missing depend - fix: component tag highlight not working for pug template (#1977)
- fix: references codeLens number incorrect (#1989)
Breaking changes
- Removed
experimentalTemplateCompilerOptions,experimentalTemplateCompilerOptionsRequirePathfromvueCompilerOptions(#1991)
v1.0.3
- feat: support
asexpressions in export assignment for script setup (#1882) - feat: support RFC 436 with new option
vueCompilerOptions.experimentalRfc436(#1964) (https://github.com/vuejs/rfcs/discussions/436)
v1.0.2
- fix:
TypeScript Vue Plugin (Volar)breaks VSCode tsserver (#1956) - fix: pug intellisense not working
- fix: semantic tokens confused git diff window (https://github.com/johnsoncodehk/volar/issues/1946#issuecomment-1272430742)
- fix(doctor): cannot resolve
vueCompilerOptionsfrom extends tsconfig - fix(doctor): cannot resolve vue version from sub folder (#1961) (#1962)
- fix: scoped class name no longer displays underline (#1960)
v1.0.1
- feat(doctor): added more postcss syntax highliters (#1945)
- fix(doctor):
@vue/compiler-dommissing message incorrect (#1953) - fix: name casing tool typo (#1941)
- fix: takeover mode document link incorrect (#1944)
- fix: code color disordered if .ts script do not include to tsconfig (#1946)
- fix: cannot start language server if worksapce tsdk path invalid (#1942)
- fix: "Show Virtual Files" command not working for .md / .html
- fix: tag autocomplete add duplicated import if the tag not use in template (#1952)
- fix: template AST broken when input space after tag name
- fix: don't use native event type for component (#1948) (#1951)
- fix: command + hover
@clickcannot show selection range
v1.0.0
v0.40.13
- fix: cycle reactive reference lead to memory leak
v0.40.12
- perf: fix incremental template compile not working
- perf: cache path resolve result on
getScriptVersion - perf: faster code mapping range transform
v0.40.11
- feat: support for typescript class/object literal method completions (#1835)
- fix: language server crash if client did not support
onDidChangeWorkspaceFolders(#1834) - fix: "Format Selection" embedded range incorrect with initialIndentBracket
- fix: formatting break document with
editor.formatOnPasteenabled (#1840) (#1841) (#1842) (#1843) (#1835)
v0.40.10
- feat: improve "Format Selection" for html content
- feat: uniquely scope attribute shorthands (#1812)
- feat: add server name, version infos to LSP initialize response
- fix: "Format Selection" should not format whole language block (#1833)
- fix: formatting break document content randomly (#1827) (#1832)
- fix: pug syntax highlighting confuses element id with interpolation (#1826)
- fix: don't cache IDE settings if IDE do not support config change notification
v0.40.9
- feat: improve vue document formatting
- fix: script format loss indent (#1823)
v0.40.8
- feat: add
volar.format.initialIndentoption for format<style>,<script>with initial indent (#1806) - perf: cache
ts.ScriptSnapshot.fromStringresult on formatting - fix: volar.config.js not working since v0.40.7 (#1819)
- fix: should not incremental update if SFC parse failed (https://github.com/johnsoncodehk/volar/issues/1807#issuecomment-1236857296)
v0.40.7
- feat: support multiple workspaces for document features
- feat: add
initializationOptions.completion.ignoreTriggerCharactersfor LSP-Volar (https://github.com/sublimelsp/LSP-volar/issues/114) - feat: add
vueCompilerOptions.experimentalComponentOptionsWrapperoption for custom component options warpper (#1517) - fix: add missing surrounding pair "`" (#1659)
- fix: formatting edit range incorrect edge case (#1814)
- fix: typescript onType format do not respect
typescript.format.enable - fix: document features stop working for script block (#1813)
- fix: pug formatter extra spaces in
(#1784) - fix: template incremental parser broken when typing slot name
Breaking changes
- vueCompilerOptions properties
experimentalImplicitWrapComponentOptionsWithDefineComponent,experimentalImplicitWrapComponentOptionsWithVue2Extendreplaced byexperimentalComponentOptionsWrapper.
v0.40.6
- feat: support language features for Web IDE (#612)
- feat: update vite problemMatcher (#1801)
- feat: add
volar.vueserver.textDocumentSyncoption to disable incremental update (#1807) - fix:
v-for,v-iftextmate scopes incorrect (#1810)
v0.40.5
- feat: suppor add or switch workspaces without restart server (#1574)
- fix: sfc offset incremental update broken when input at block start
- fix: document incremental update break document content on Sublime LSP (https://github.com/sublimelsp/LSP-volar/issues/120)
- fix: unexpected prop types behavior with
compilerOptions.exactOptionalPropertyTypes(https://github.com/vuejs/core/issues/6532) - fix: false positive error on
<input typeof="radio" value="...">(#1775) - fix: false positive style attribute inconsistent string type error (#1781)
- fix: language server broken with
outDir+rootDir+composite/incrementaltsconfig options (#1782) - fix: json format should not trim first / end new line
- fix: interpolation format adding redundant spaces (#1784)
v0.40.4
- feat: respect VSCode
*.format.enablesettings - fix: template should not compile if content no change
- fix: component preview not working on windows (#1737)
v0.40.3
- perf: incremental update SFC blocks without full parse SFC and mitigate memory leak
- perf: incremental update html template interpolation without recompile template
- perf: cache
ts.createSourceFilefor tsx code gen - fix(vue-component-meta): cannot create checker with TS 4.8.2
- fix: document features not working on Web IDE (#1479)
- fix: avoid auto complete triggers too aggressive in Sublime (https://github.com/sublimelsp/LSP-volar/issues/114)
v0.40.2
- feat(vue-component-meta): add
createComponentMetaCheckerByJsonConfigAPI to support create checker without tsconfig - feat: move
highlight dom elements ☑codeLens to status bar (#1535) - feat: incremental update diagnostics cache range and avoid flicker (#1718)
- perf: incremental update TS script snapshot (#1718)
- perf: faster source map code mapping
- fix: pug template tag mapping range incorrect (#1723)
- fix: vite plugin import path incorrect on windows (#1772)
- fix: false positive error on style attr when enabled
compilerOptions.exactOptionalPropertyTypes(#1560) - fix: .html intellisense of petite-vue not working
- fix: .html intellisense of alpie not working
- fix: intellisense not working for node_modules files with takeover mode on windows (#1641)
- fix: avoid vue-tsc type check .html, .md files (#1661)
- fix:
compilerOptions.typesresolve path incorrect on multiple workspaces (#1679) - fix: cannot count script setup variable usage in template if disalbe jsx (#1729)
- fix: cannot resolve indirect circular reference components types (#1708)
- fix: cannot recognize namespace component (#1726)
- fix: template components types break by regular SFC
componentsoption (#1731) - fix: indentation behavior incorrect (#1762)
- fix: TS1308 'async' error missing when use script setup (#1753)
v0.40.1
- fix: cycle reactive reference lead to memory leak
v0.40.0
- feat: support document highlights cross
<script>,<template>(#462) - feat: support reference types from script setup in template (#891)
- feat: support auto import in template (#823)
- feat: support plugin api (#185) (#1687)
- fix: template scope variables completion missing (#1284)
- fix: prefer
defineComponentinstead ofVue.extendto wrap component options by default (#1584) - fix: bracket pair colorization in VSCode v1.70 (#1677)
v0.39.5
- feat(vue-component-meta): add option to expose raw type (#1674)
- fix(vue-component-meta): recursive schema parsing (#1660)
- fix(vue-component-meta): parse defineProps in script setup with option (#1665)
- fix: SFC syntax broken in vscode v1.70.0 (#1566) (#1675)
- fix: vite app preview not working (#1668)
- fix: diagnosis is slow on windows after v0.39.2 (#1663)
- fix:
compilerOptions.typesnot working since v0.39.2 (#1650) - fix: avoid auto-import path append
.js(#1667) - fix: avoid variables defined after export default report TS_2454
- perf: cache semver result on auto-complete
v0.39.4
- feat: support ESM project (#1543)
- fix: "Volar: Reload Project" command cannot detect node_modules change
- fix: webview buttons show to unrelated extensions (#1611)
v0.39.3
- feat(vue-component-meta): component schema improves (#1656)
- feat(vue-component-meta): support options api props default (#1649)
- feat: add "Volar: Reload Project" command (#1605)
- fix: vue-tsc watch not working (#1647)
v0.39.2
- feat: vue-component-meta (#1627)
- feat: support for "JavaScript and TypeScript Nightly" (#1332)
- fix: tsx, jsx syntax break by vue directives syntax inject (#1617)
- fix: any type components missing in template when use script setup (#1608)
- fix: ignore X_V_IF_SAME_KEY error in vue 2 (#1638)
- perf: fix
fileExistsis always calculate for .ts on each time update (https://github.com/johnsoncodehk/volar/commit/07f3bd55b6bdf3875a60796f7c9eb9a838eed463) - perf: cache
fileExists,directoryExistsresult in language server (https://github.com/johnsoncodehk/volar/commit/34a4435284311c88248a44222f49c017a6b408a9)
v0.39.0
- feat: updated vite problemMatcher (#1606)
- feat: support Vite app preview for Vite v3 (#1616)
- feat: support organizeImports in vue-typescript for prettier-plugin-organize-imports (#1480) (#1577)
- feat: avoid takeover enabled with built-in TS extension do not disabled (#1622)
- feat: expose vue-tsconfig.schema.json from
@volar/vue-language-core - fix: fix workspaceTrust description (#1610)
Breaking changes
@volar/vue-typescript,@volar/vue-language-serviceapis refactored
v0.38.9
- fix: path resolution incorrect in multi root workspaces on windows (#1585)
- fix: goto definition not working for import path on windows (#1591) (#1593)
- fix: update imports on file move not working (#1599)
- fix: wrong check for whether jsx option is set (#1595)
- fix: renaming .vue files breaks resolving import paths (#1125)
v0.38.8
- feat: support for TS 4.8 (#1507)
- feat: support
--incrementalflag for vue-tsc (#787) - fix: vue-tsc watch memory leak (#1106)
- fix: re-fix template directives syntax highlight incorrect edge cases (#1423)
v0.38.7
- feat: add
volar.updateImportsOnFileMove.enabledoption to disable file move refactoring (#1181) - feat: add
volar.diagnostics.delayoption for reduce CPU usage (#1295) - feat: add
vueCompilerOptions.experimentalImplicitWrapComponentOptionsWithVue2Extendto support wrap component options byVue.extend(#1337) - feat: support takeover mode for .cjs and .mjs (#1578)
- fix: template syntax highlight broken if quotes missing (#761)
- fix: self closing tag syntax highlight incorrect (#948)
- fix: re-fix vue file import path auto-complete not working on windows (#1304)
- fix: ts plugin stuck on empty project (#1146)
- fix: tsconfig picking inaccurate (#1193)
- fix: cannot resolve modules from extend tsconfg
typesoption (#1262) - fix: file move refactoring unpredictable (#1273)
- fix: avoid duplicate class attribute in pug (#1525)
- fix: intellisense incorrect in new file (#1548)
- fix:
insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesisbreak v-for format (#1398) - fix: document features not working in *.ts on takeover mode (#1563)
v0.38.5
v0.38.4
- feat: add
vueCompilerOptions.strictTemplates(#1418) - fix: don't auto close ``` (#1428)
- fix: change unknown slot type from
unknowntoany(#1541) - fix: SFC templates outline incorrect (#1531)
- fix: slot shorthand highlighting incorrect if have not
=(#1423) - fix: vue file import path auto-complete not working on windows (#1304)
- fix: avoid duplicate result in html (#1552) (#1530)
- fix: code action document edit version incorrect (#1490)
Breaking changes
experimentalSuppressUnknownJsxPropertyErrors,experimentalSuppressInvalidJsxElementTypeErrorsis replaced bystrictTemplates.{ "vueCompilerOptions": { - "experimentalSuppressUnknownJsxPropertyErrors": false, - "experimentalSuppressInvalidJsxElementTypeErrors": false, + "strictTemplates": true }, }
v0.38.3
- feat: support html, css intellisense for petite-vue (#1471)
- fix: avoid unknown jsx property error for vue 2.7 (#1533)
- fix: fixed
GlobalComponentsinterface not working edge case (#1489) - fix: stricter slots type extracting (#1522)
- fix: nuxt app preview not working
v0.38.2
- feat: update support for vite-plugin-vue-component-preview v0.2
- feat: improve component preview UX
- feat: add --version flag for vue-language-server (#1510)
- fix: css class name codeLens range inaccurate (#1485)
v0.38.1
- fix: fixed isIntrinsicElement is not a function error (#1478)
v0.38.0
- feat: support component preview for Vite + Vue 3 (#1476) you need to install vite-plugin-vue-component-preview manually to support this feature
- feat: support auto insert
.valuefor vue 2 (#1466) - fix: cannot define global components types with
@vue/runtime-corein Vue 2 (#1469) - fix: cannot emit declaration with script setup on vue-tsc (#1459)
- fix: component auto import unreliable (#1470)
- fix: camel case scope css class name intellisense not working (#1447)
- fix(petite-vue): cannot access script tag local variables (#1471)
v0.37.9
- perf: only support VitePress, petite-vue when
*.md,*.htmlexplicitly added in tsconfig include property (#1463) - fix: respect
codeAction.disabledSupportcapability (#1454) - fix: auto import component tag name including "Vue" on import (#1461)
- fix: don't recognize components without script blocks as js languages (#1452) (#1455)
- fix: scope class name doesn't show underline (#1447)
- fix: withDefaults syntax break in
lang="tsx"(#1458) - fix: alpine-language-server bin script name incorrect (#1460)
v0.37.8
- feat: create alpine-language-features extension for support Alpine.js via reuse petite-vue language support works
- fix: petite-vue createApp arg range inaccurate
- fix: vue component context properties missing in petite-vue template
v0.37.7
- fix: cannot resolve external vue file path (#1445)
- fix: petite-vue v-scope data type loss in inline handlers (#1442)
- fix: petite-vue createApp() initialData type missing in template (#1444)
v0.37.5
- feat: support petite-vue
- fix: don't active VitePress intellisense for
.mdif file path in not include by tsconfig (#1430) - fix: cannot direct execution of fileReferences command (#1419)
- fix: avoid "`" auto close break markdown code block input (#1428)
- fix: component props completion info box missing in template
- fix: false positive props type error when JS component usage in TS component (#1426)
- fix: cannot recognize component properties in type reference in template (#1422)
- fix: slot binding type annotation not working if parent component is
<component :is>(#1425) - fix: patch invalid
:character in tag name (#1435) - fix: auto closing pairs not working in template expressions (#1437)
- perf: faster markdown content parsing for vitepress
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 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 has been generated by Mend Renovate. View repository job log here.