# Changelog ### 0.34.1 | 2021-06-04 | [VSIX](https://marketplace.visualstudio.com/_apis/public/gallery/publishers/octref/vsextensions/vetur/0.34.1/vspackage) - Fix formatting failed when typescript block with prettier. [#2982](https://github.com/vuejs/vetur/issues/2982) - Respect project baseURL relative to tsconfig.json. [#2952](https://github.com/vuejs/vetur/issues/2952) ### 0.34.0 | 2021-06-04 | [VSIX](https://marketplace.visualstudio.com/_apis/public/gallery/publishers/octref/vsextensions/vetur/0.34.0/vspackage) - Add `--log-level` option for `vti diagnostics` to configure log level to print. [#2752](https://github.com/vuejs/vetur/issues/2752). - Upgrade `typescript` to 4.3.2. - Upgrade `prettier` to 2.3.0. - Upgrade `@prettier/plugin-pug` to 1.15.2. - Fix `prettier-eslint`. [#2840](https://github.com/vuejs/vetur/issues/2840) - Underline with ref `.value`, based on Semantic tokens. - πŸ™Œ Semantic tokens for typescript and highlight `.value` if using composition API. Thanks to contribution from [@jasonlyu123](https://github.com/jasonlyu123). [#2802](https://github.com/vuejs/vetur/issues/2802) [#1904](https://github.com/vuejs/vetur/issues/1904) # 2434 - πŸ™Œ Syntax Highlighting for SugarSS. Thanks to contribution from [@softwaredeveloptam](https://github.com/softwaredeveloptam). [#2828](https://github.com/vuejs/vetur/issues/2828). - πŸ™Œ Fix component data not shown in hover when template interpolation is on. Thanks to contribution from [@rchl](https://github.com/rchl). [#2879](https://github.com/vuejs/vetur/issues/2879) [#2878](https://github.com/vuejs/vetur/issues/2878). - πŸ™Œ Look for a `.stylintrc` file when formatting stylus code. Thanks to contribution from [@ntraut](https://github.com/ntraut). [#2689](https://github.com/vuejs/vetur/issues/2689). - πŸ™Œ Add paths option for `vti diagnostics` to diagnose only sub files or directories. Thanks to contribution from [@gregoirechauvet](https://github.com/gregoirechauvet). [#2455](https://github.com/vuejs/vetur/issues/2455). - πŸ™Œ Fix attribute description not showing if its name matches html event. Thanks to contribution from [@rchl](https://github.com/rchl). [#2901](https://github.com/vuejs/vetur/issues/2901) ### 0.33.1 | 2021-03-07 | [VSIX](https://marketplace.visualstudio.com/_apis/public/gallery/publishers/octref/vsextensions/vetur/0.33.1/vspackage) - πŸ™Œ Added new ts and js snippets for the Composition API. Thanks to contribution from [@Namchee](https://github.com/Namchee). [#2741](https://github.com/vuejs/vetur/issues/2741) - Fix prefix dot folder or file name with eslint, and effect other diagnostics. [#2717](https://github.com/vuejs/vetur/issues/2717) ### 0.33.0 | 2021-03-02 | [VSIX](https://marketplace.visualstudio.com/_apis/public/gallery/publishers/octref/vsextensions/vetur/0.33.0/vspackage) - Disable Vue completion in custom blocks. [#2111](https://github.com/vuejs/vetur/issues/2111) - Upgrade `stylus-supremacy` to 2.15.0. - πŸ™Œ Improve performance of template interpolation features. Thanks to contribution from [@jasonlyu123](https://github.com/jasonlyu123) [#2645](https://github.com/vuejs/vetur/issues/2645). - πŸ™Œ Improve VTI command structure. See `vti --help`. [#2722](https://github.com/vuejs/vetur/issues/2722).Thanks to contribution from [@Monchi](https://github.com/Monchi). - πŸ™Œ Fix `v-model` usage in Vue 3 where default prop name is `modelValue` instead of `value`. Thanks to contribution from [@yassipad](https://github.com/yassipad). [#2647](https://github.com/vuejs/vetur/issues/2647). - Upgrade `typescript` to 4.2.2. - Improve vue version detection. Thanks to contribution from [@visualfanatic](https://github.com/visualfanatic). [#2740](https://github.com/vuejs/vetur/issues/2740). - πŸ™Œ allow `vetur.config.cjs` for project config. Thanks to contribution from [@vitaliytv](https://github.com/vitaliytv). - πŸ™Œ Update import on file rename when typescript and javascript. Thanks to contribution from [@jasonlyu123](https://github.com/jasonlyu123). [#2651](https://github.com/vuejs/vetur/issues/2651) [#820](https://github.com/vuejs/vetur/issues/820). - Fix `vetur.completion.tagCasing` when global components. ### 0.32.0 | 2021-01-21 | [VSIX](https://marketplace.visualstudio.com/_apis/public/gallery/publishers/octref/vsextensions/vetur/0.32.0/vspackage) - Upgrade LSP to 3.16 - Upgrade `vscode-css-languageservice` - Upgrade `vscode-languageserver/vscode-languageclient` - Using `codeaction/resolve` - Combined fix in quickfix - Organize Imports - Better refactor - Fix arbitrary code actions. [#2574](https://github.com/vuejs/vetur/issues/2574). - Show deprecated hint in script block. - Infer wrong vue version when no `dependencies` field in package.json. [#2632](https://github.com/vuejs/vetur/issues/2632) - πŸ™Œ Fix building in directory that has space in the path when development. Thanks to contribution from [@jasonlyu123](https://github.com/jasonlyu123). [#2641](https://github.com/vuejs/vetur/issues/2641). - πŸ™Œ Remove used attributes from suggestions. Thanks to contribution from [@sapphi-red](https://github.com/sapphi-red). [#2565](https://github.com/vuejs/vetur/issues/2565) - πŸ™Œ Autocomplete for custom events. Thanks to contribution from [@sapphi-red](https://github.com/sapphi-red). [#2392](https://github.com/vuejs/vetur/issues/2392). ### 0.31.3 | 2020-12-13 | [VSIX](https://marketplace.visualstudio.com/_apis/public/gallery/publishers/octref/vsextensions/vetur/0.31.3/vspackage) - Console error only message when unimportant. - Fix compatibility with atom-languageclient. [#2561](https://github.com/vuejs/vetur/issues/2561) - Fix no completion/resolve language error. - Fix hang with `EACCES: permission denied` error. [#2559](https://github.com/vuejs/vetur/issues/2559) ### 0.31.2 | 2020-12-12 | [VSIX](https://marketplace.visualstudio.com/_apis/public/gallery/publishers/octref/vsextensions/vetur/0.31.2/vspackage) - Fix project warning logic. - Fix project root error when corner case in windows. ### 0.31.1 | 2020-12-09 | [VSIX](https://marketplace.visualstudio.com/_apis/public/gallery/publishers/octref/vsextensions/vetur/0.31.1/vspackage) - Fix `Vetur` can't format. [#2535](https://github.com/vuejs/vetur/issues/2535) [#2538](https://github.com/vuejs/vetur/issues/2538) [#2531](https://github.com/vuejs/vetur/issues/2531) [#2532](https://github.com/vuejs/vetur/issues/2532) - Fix perf problem when monorepo/multi-root. - Add work done progress when load project. [#2536](https://github.com/vuejs/vetur/issues/2536) - Fix wrong loaded dependency when yarn pnp. [#2529](https://github.com/vuejs/vetur/issues/2529) ### 0.31.0 | 2020-12-08 | [VSIX](https://marketplace.visualstudio.com/_apis/public/gallery/publishers/octref/vsextensions/vetur/0.31.0/vspackage) ---- #### πŸŽ‰ RFC release πŸŽ‰ We support monorepo and multi-root workspace in this version. We have also added a new config file called `vetur.config.js`. See more: https://vuejs.github.io/vetur/guide/setup.html#advanced Reference: https://vuejs.github.io/vetur/reference/ ---- - Fix pug format. [#2460](https://github.com/vuejs/vetur/issues/2460) - Fix scss autocompletion. [#2522](https://github.com/vuejs/vetur/issues/2522) - Fix templates in custom blocks are parsed as root elements. [#1336](https://github.com/vuejs/vetur/issues/1336) - Support multi-root workspace - Support monorepo - Register global components - Support `vetur.config.js` for monorepo, global components. - Watch config file changed, Like: `package.json`, `tsconfig.json` - Warn some probably problem when open project. - Add `Vetur: doctor` command for debug. - Improve docs. - πŸ™Œ Support yarn PnP support. Thanks to contribution from [@merceyz](https://github.com/merceyz). [#2478](https://github.com/vuejs/vetur/issues/2478). ### 0.30.3 | 2020-11-26 | [VSIX](https://marketplace.visualstudio.com/_apis/public/gallery/publishers/octref/vsextensions/vetur/0.30.3/vspackage) - Fix prettier-eslint and prettier-tslint - Fix prettier-eslint not read eslint config. - Fix auto import component completion. - Upgrade to TypeScript 4.1. ### 0.30.2 | 2020-11-16 | [VSIX](https://marketplace.visualstudio.com/_apis/public/gallery/publishers/octref/vsextensions/vetur/0.30.2/vspackage) - Fix high CPU usage when huge project. [#2468](https://github.com/vuejs/vetur/issues/2468) - πŸ™Œ Fix high CPU usage when template tag self closed. Thanks to help from [@Shinigami92](https://github.com/Shinigami92). [#2468](https://github.com/vuejs/vetur/issues/2468) - Fix formatting css problem with prettier. [#2467](https://github.com/vuejs/vetur/issues/2467) ### 0.30.1 | 2020-11-12 | [VSIX](https://marketplace.visualstudio.com/_apis/public/gallery/publishers/octref/vsextensions/vetur/0.30.1/vspackage) - πŸ™Œ Fix corner case when auto import component failed. Thanks to contribution from [@yoyo930021](https://github.com/yoyo930021). [#2461](https://github.com/vuejs/vetur/issues/2461). - πŸ™Œ Fix the `template lang='pug'` node will be cleared when formatting the vue file. Thanks to contribution from [@yoyo930021](https://github.com/yoyo930021). [#2460](https://github.com/vuejs/vetur/issues/2460). ### 0.30.0 | 2020-11-11 | [VSIX](https://marketplace.visualstudio.com/_apis/public/gallery/publishers/octref/vsextensions/vetur/0.30.0/vspackage) ---- #### ⚠️ Breaking change: ⚠️ The `vetur.useWorkspaceDependencies` option affect all runtime dependencies now. Like `prettier`, `@prettier/plugin-pug`. In this version, we try to bundle extension and reduce size. (70MB -> 9MB) But it's a huge change, so please open an issue if you find any problems. ---- - πŸ™Œ Fix v-bind modifiers causing TypeScript to not find type-checked template props correctly. Thanks to contribution from [@andrewisaburden](https://github.com/andrewisaburden). [#2430](https://github.com/vuejs/vetur/issues/2430). - πŸ™Œ Fix "File name X differs from already included file name Y only in casing" on Windows. Thanks to contribution from [@rchl](https://github.com/rchl). [#2433](https://github.com/vuejs/vetur/issues/2433) and [#2444](https://github.com/vuejs/vetur/issues/2444). - πŸ™Œ Remove deprecated code and incremental text document. Thanks to contribution from [@yoyo930021](https://github.com/yoyo930021). [#2366](https://github.com/vuejs/vetur/issues/2366). - πŸ™Œ Auto import component in script when completion in template. Thanks to contribution from [@yoyo930021](https://github.com/yoyo930021). [#684](https://github.com/vuejs/vetur/issues/684) and [#2445](https://github.com/vuejs/vetur/issues/2445). - πŸ™Œ Add code frame in VTI diagnostics. Thanks to contribution from [@yoyo930021](https://github.com/yoyo930021). [#2449](https://github.com/vuejs/vetur/issues/2449) and [#2450](https://github.com/vuejs/vetur/issues/2450). - πŸ™Œ Reduce release size by bundling client/browser/vti. Thanks to contribution from [@yoyo930021](https://github.com/yoyo930021). [#2233](https://github.com/vuejs/vetur/issues/2233) and [#2301](https://github.com/vuejs/vetur/issues/2301). ### 0.29.1 | 2020-11-08 | [VSIX](https://marketplace.visualstudio.com/_apis/public/gallery/publishers/octref/vsextensions/vetur/0.29.1/vspackage) - πŸ™Œ Fix invalid `client/registerCapability` request. Thanks to contribution from [@rchl](https://github.com/rchl). [#2388](https://github.com/vuejs/vetur/issues/2388) and [#2388](https://github.com/vuejs/vetur/issues/2388). ### 0.29.0 | 2020-11-02 | [VSIX](https://marketplace.visualstudio.com/_apis/public/gallery/publishers/octref/vsextensions/vetur/0.29.0/vspackage) - Fix "Duplicate identifier" errors when using multiple keydown events with modifiers. [#1745](https://github.com/vuejs/vetur/issues/1745). - Upgrade `@prettier/plugin-pug` to fix formatter issues. [#2347](https://github.com/vuejs/vetur/issues/2347). - Fix files with CRLF having errors with wrong range. [#1319](https://github.com/vuejs/vetur/issues/1319). - πŸ™Œ Fix collapse code missing end mark. Thanks to contribution from [@yoyo930021](https://github.com/yoyo930021). [#2303](https://github.com/vuejs/vetur/issues/2303) and [#2352](https://github.com/vuejs/vetur/issues/2352). - πŸ™Œ Fix crash when no or wrong tsconfig. Thanks to contribution from [@yoyo930021](https://github.com/yoyo930021). [#2403](https://github.com/vuejs/vetur/issues/2403). - πŸ™Œ Respect include/exclude files options in `tsconfig` for external ts/js files. Thanks to contribution from [@yoyo930021](https://github.com/yoyo930021). [#2339](https://github.com/vuejs/vetur/issues/2339) and [#2371](https://github.com/vuejs/vetur/issues/2371). - πŸ™Œ Fix undefined valueDeclaration in props crashing vls. Thanks to contribution from [@javiertury](https://github.com/javiertury). [#2367](https://github.com/vuejs/vetur/issues/2367). - πŸ™Œ Reduce recreate ts program when no need for ts perf. Thanks to contribution from [@yoyo930021](https://github.com/yoyo930021). [#2192](https://github.com/vuejs/vetur/issues/2192) and [#2328](https://github.com/vuejs/vetur/issues/2328). - πŸ™Œ Display VTI errors. Thanks to contribution from [@yoyo930021](https://github.com/yoyo930021). [#2324](https://github.com/vuejs/vetur/issues/2324) and [#2330](https://github.com/vuejs/vetur/issues/2330). - πŸ™Œ Add command `Vetur: Restart VLS (Vue Language Server)`. Thanks to contribution from [@yoyo930021](https://github.com/yoyo930021). [#2331](https://github.com/vuejs/vetur/issues/2331). - πŸ™Œ Fix no complete literal string union. Thanks to contribution from [@yoyo930021](https://github.com/yoyo930021). [#2300](https://github.com/vuejs/vetur/issues/2300) and [#2353](https://github.com/vuejs/vetur/issues/2353). - πŸ™Œ Add `vti version` command. Thanks to contribution from [@andrewisaburden](https://github.com/andrewisaburden). [#2337](https://github.com/vuejs/vetur/issues/2337). - πŸ™Œ Complete with `?.` for optional properies in completion. Thanks to contribution from [@yoyo930021](https://github.com/yoyo930021). [#2326](https://github.com/vuejs/vetur/issues/2326) and [#2357](https://github.com/vuejs/vetur/issues/2357). - πŸ™Œ Respect typescript language settings. Thanks to contribution from [@yoyo930021](https://github.com/yoyo930021). [#2109](https://github.com/vuejs/vetur/issues/2109) and [#2375](https://github.com/vuejs/vetur/issues/2375). - πŸ™Œ Slim syntax highlighting. Thanks to contribution from [@Antti](https://github.com/Antti). - πŸ™Œ Stop computing outdated diagnostics with CancellationToken. Thanks to contribution from [@yoyo930021](https://github.com/yoyo930021). [#1263](https://github.com/vuejs/vetur/issues/1263) and [#2332](https://github.com/vuejs/vetur/issues/2332). - πŸ™Œ Fix error when optional camel-cased props are missing. Thanks to contribution from [@yoyo930021](https://github.com/yoyo930021). [#2314](https://github.com/vuejs/vetur/issues/2314) and [#2342](https://github.com/vuejs/vetur/issues/2342). - πŸ™Œ Fix Vetur formatting not working. Thanks to contribution from [@yoyo930021](https://github.com/yoyo930021). [#2388](https://github.com/vuejs/vetur/issues/2388) and [#2389](https://github.com/vuejs/vetur/issues/2389). - πŸ™Œ Improve ts perf when `vetur.experimental.templateInterpolationService: true`. Thanks to contribution from [@yoyo930021](https://github.com/yoyo930021). [#2192](https://github.com/vuejs/vetur/issues/2192) and [#2374](https://github.com/vuejs/vetur/issues/2374). - πŸ™Œ Fix optional chaining in template. Thanks to contribution from [@yoyo930021](https://github.com/yoyo930021). [#2423](https://github.com/vuejs/vetur/issues/2423) and [#2426](https://github.com/vuejs/vetur/issues/2426). ### 0.28.0 | 2020-09-23 | [VSIX](https://marketplace.visualstudio.com/_apis/public/gallery/publishers/octref/vsextensions/vetur/0.28.0/vspackage) - Fix completing prop name completes with extra `:`. [#2304](https://github.com/vuejs/vetur/issues/2304). - Add `vetur.languageFeatures.codeActions` option to disable codeAction. [#2150](https://github.com/vuejs/vetur/issues/2150). - Let VTI load default VLS config. [#2274](https://github.com/vuejs/vetur/issues/2274). - Make `prettier` default formatter for HTML as prettyhtml is no longer actively maintained. [#2291](https://github.com/vuejs/vetur/issues/2291). - Load prettier plugin from VLS if not present in workspace folder. [#2014](https://github.com/vuejs/vetur/issues/2014). - Cross file template type checking - check that components are passed props with the correct types. [#1596](https://github.com/vuejs/vetur/issues/1596) and [#2294](https://github.com/vuejs/vetur/issues/2294). - πŸ™Œ Fix VTI printing filenames without errors or warnings due to eslint-plugin-vue being igored. Thanks to contribution from [@andrewisaburden](https://github.com/andrewisaburden). [#2305](https://github.com/vuejs/vetur/issues/2305). ### 0.27.3 | 2020-09-13 | [VSIX](https://marketplace.visualstudio.com/_apis/public/gallery/publishers/octref/vsextensions/vetur/0.27.3/vspackage) - πŸ™Œ Fix corner case when analyzing class component. Thanks to contribution from [@yoyo930021](https://github.com/yoyo930021). [#2254](https://github.com/vuejs/vetur/issues/2254) and [#2260](https://github.com/vuejs/vetur/issues/2260). - πŸ™Œ Ignore no implicitly any error in v-slot with destructuring. Thanks to contribution from [@yoyo930021](https://github.com/yoyo930021). [#2258](https://github.com/vuejs/vetur/issues/2258) and [#2259](https://github.com/vuejs/vetur/issues/2259). ### 0.27.2 | 2020-09-06 | [VSIX](https://marketplace.visualstudio.com/_apis/public/gallery/publishers/octref/vsextensions/vetur/0.27.2/vspackage) - Add a config `vetur.validation.props` to toggle props validation. Default to false. [#2249](https://github.com/vuejs/vetur/issues/2249). - πŸ™Œ Add HTML folding. Thanks to contribution from [@yoyo930021](https://github.com/yoyo930021). [#2234](https://github.com/vuejs/vetur/issues/2234) and [#2244](https://github.com/vuejs/vetur/issues/2244). - πŸ™Œ Fix array get error type in v-for. Thanks to contribution from [@yoyo930021](https://github.com/yoyo930021). [#1790](https://github.com/vuejs/vetur/issues/1790) and [#2248](https://github.com/vuejs/vetur/issues/2248). - πŸ™Œ Fix corner case and add v-model support when prop validation. Thanks to contribution from [@yoyo930021](https://github.com/yoyo930021). [#2241](https://github.com/vuejs/vetur/issues/2241). ### 0.27.1 | 2020-09-04 | [VSIX](https://marketplace.visualstudio.com/_apis/public/gallery/publishers/octref/vsextensions/vetur/0.27.1/vspackage) - Only enable interpolation diagnostics when both `vetur.experimental.templateInterpolationService` and `vetur.validation.interpolation` are set to `true`. ### 0.27.0 | 2020-09-03 | [VSIX](https://marketplace.visualstudio.com/_apis/public/gallery/publishers/octref/vsextensions/vetur/0.27.0/vspackage) - Add `foldingRange` support to support dynamic folding ranges such as `#region`. [#899](https://github.com/vuejs/vetur/issues/899). - Add setting `vetur.validation.interpolation` so interpolation diagnostics and `eslint-plugin-vue` diagnostics can be configed separately. [#2131](https://github.com/vuejs/vetur/issues/2131). - Fix VLS crash for *.vue files in node_modules. [#2006](https://github.com/vuejs/vetur/issues/2006). - Upgrade to TypeScript 4.0.2 and fix symbol outline issue. [#1849](https://github.com/vuejs/vetur/issues/1849). - Improve JSDoc presentation in hover/completion in interpolation mode. [#1337](https://github.com/vuejs/vetur/issues/1337). - Improve JSDoc presentation in hover/completion/signatureHelp. [#2193](https://github.com/vuejs/vetur/issues/2193). - `` component should get highlighted like JSX/TSX when embedding other tags. [#2146](https://github.com/vuejs/vetur/issues/2146). - Improve cross-file completion when declaring simple props with `props: ['foo']`. [#2143](https://github.com/vuejs/vetur/issues/2143). - Completing child component should trigger props with `:` by default. [#2140](https://github.com/vuejs/vetur/issues/2140). - Space should trigger completion only in HTML mode. [#2139](https://github.com/vuejs/vetur/issues/2139). - Self-closing `` component should get highlighted like JSX/TSX. [#2136](https://github.com/vuejs/vetur/issues/2136) - [Cross file template type checking](https://vuejs.github.io/vetur/interpolation.html#prop-validation) - check that components are passed all declared props. [#2135](https://github.com/vuejs/vetur/issues/2135). - Linkify all vue/vue-router tags to their API doc. [#2133](https://github.com/vuejs/vetur/issues/2133). - Component Data - `type: 'boolean'` should trigger completion without `=""`. [#2127](https://github.com/vuejs/vetur/issues/2127). - Component Data doesn't work if it comes from devDependencies. [#2132](https://github.com/vuejs/vetur/issues/2132). - πŸ™Œ Fix Emmet didn't work after curly parentheses. Thanks to contribution from [@cereschen](https://github.com/cereschen). [#2173](https://github.com/vuejs/vetur/issues/2173). - πŸ™Œ Fix no CSS completions in `style` attribute inside `