Update dependency @volar/vue-typescript to v0.40.13 - autoclosed
This MR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| @volar/vue-typescript | 0.38.9 -> 0.40.13 |
Release Notes
johnsoncodehk/volar
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: langauge 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: langauge 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
Configuration
-
If you want to rebase/retry this MR, click this checkbox.
This MR has been generated by Renovate Bot.
Edited by shepard bot