Releases: vuejs/vetur
Releases Β· vuejs/vetur
0.28.0
0.28.0 | 2020-09-23 | VSIX
- Fix completing prop name completes with extra
:
. #2304. - Add
vetur.languageFeatures.codeActions
option to disable codeAction. #2150 - Let VTI load default VLS config. #2274.
- Make
prettier
default formatter for HTML as prettyhtml is no longer actively maintained. #2291. - Load prettier plugin from VLS if not present in workspace folder. #2014.
- Cross file template type checking - check that components are passed props with the correct types. #1596 and #2294.
0.27.3
0.27.3 | 2020-09-13 | VSIX
- π Fix corner case when analyzing class component. Thanks to contribution from @yoyo930021. #2254 and #2260.
- π Ignore no implicitly any error in v-slot with destructuring. Thanks to contribution from @yoyo930021. #2258 and #2259.
0.27.2
0.27.2 | 2020-09-06 | VSIX
- Add a config
vetur.validation.props
to toggle props validation. Default to false. #2249. - π Add HTML folding. Thanks to contribution from @yoyo930021. #2234 and #2244.
- π Fix array get error type in v-for. Thanks to contribution from @yoyo930021. #1790 and #2248.
- π Fix corner case and add v-model support when prop validation. Thanks to contribution from @yoyo930021. #2241.
0.27.1
0.27.0
0.27.0 | 2020-09-03 | VSIX
- Add
foldingRange
support to support dynamic folding ranges such as#region
. #899. - Add setting
vetur.validation.interpolation
so interpolation diagnostics andeslint-plugin-vue
diagnostics can be configed separately. #2131. - Fix VLS crash for *.vue files in node_modules. #2006.
- Upgrade to TypeScript 4.0.2 and fix symbol outline issue. #1849.
- Improve JSDoc presentation in hover/completion in interpolation mode. #1337.
- Improve JSDoc presentation in hover/completion/signatureHelp. #2193.
<PascalCase>
component should get highlighted like JSX/TSX when embedding other tags. #2146.- Improve cross-file completion when declaring simple props with
props: ['foo']
. #2143. - Completing child component should trigger props with
:
by default. #2140. - Space should trigger completion only in HTML mode. #2139.
- Self-closing
<PascalCase>
component should get highlighted like JSX/TSX. #2136 - Cross file template type checking - check that components are passed all declared props. #2135.
- Linkify all vue/vue-router tags to their API doc. #2133.
- Component Data -
type: 'boolean'
should trigger completion without=""
. #2127. - Component Data doesn't work if it comes from devDependencies. #2132.
- π Fix Emmet didn't work after curly parentheses. Thanks to contribution from @cereschen. #2173.
- π Fix no CSS completions in
style
attribute inside<template>
region. Thanks to contribution from @cereschen. #1678. - π Validate props of
<PascalCase>
components in templates. Thanks to contribution from MichaΕ Wilski. #2168. - π Add yarn@berry support and use
typescript.tsdk
setting for loading TypeScript in VLS. Thanks to contribution from Alexandre Bonaventure Geissmann. #1711, #1737 and #1996. - π Add support for analyzing vue-class-component and vue-property-decorator. Thanks to contribution from @yoyo930021. #864, #1105 and #1323.
- π Remove lsp client-side commands to improve integration with third party lsp client. Thanks to contribution from @yoyo930021. #2137.
- π Fix "Go to definition" for methods/computed does not work in the template. Thanks to contribution from @cereschen. #1484 and #2161.
- π Prop with
required: false
or default value should not trigger prop validation error when not provided. Thanks to contribution from @yoyo930021. #2141. - π Show slot-related tag attributes in symbol search. Thanks to contribution from @3nuc. #2169
- π Fix JSDoc presentation had no line breaks. Thanks to contribution from @sapphi-red. #2214.
0.26.1
0.26.0
- Load different
eslint-plugin-vue
rulesets depending on workspace vue version. #2015. - Remove leading empty line in diagnostic errors. #2067.
"vetur.completion.tagCasing": "initial"
causes double tag completion. #2053.- Allow
xml
invetur.grammar.customBlocks
. #2091. - Mark
<PascalCase>
components withsupport.class.component.html
to have consistent highlighting with JSX/TSX. #1963. - π Listen to JSON file changes for TypeScript resolveJsonModule support. Thanks to contribution from @yoyo930021. #2095.
- π Follow user's config while resolving autoImport path. Thanks to contribution from @hikerpig. #1177 and #1753.
- π Handle different tag casing when doing html definition. Thanks to contribution from @yoyo930021. #2096.
- π Allow analyzing Vue files in
node_modules
. Thanks to contribution from Tiago RoldΓ£o. #1127 and #1979. - π Fix markdown rendering for library documentation. Thanks to contribution from Albert Kaaman. #1775 and #1791.
- π Fix no props completion when child component
export default {}
ends with;
. Thanks to contribution from @yoyo930021. #1775 and #1791. - π Fix object property completion when have hyphen. Thanks to contribution from @yoyo930021. #1804 and #1808.
- π SFC without a script tag show an error when trying to import. Thanks to contribution from @yoyo930021. #1187 and #1806.
- π Fix initializationOptions: Cannot read property 'config' of undefined. Thanks to contribution from Dawid PakuΕa. #1897 and #1341.
- π Component props auto-completion doesn't work when using PascalCase. Thanks to contribution from @yoyo930021. #2049 and #2056.
- π When passing incorrect first arg to vti, show help message. Thanks to contribution from Rafal Tynski. #1841.
- π Use CodeAction over command. Thanks to contribution from Matt Bierner. #1704.
0.25.0
0.25.0 | 2020-07-22 | VSIX
- Publish
[email protected]
and[email protected]
. vls
now only supports Node>=10
, as Prettier 2.0 drops support for Node 8.- Upgrade to prettier 2.0. #1925 and #1794.
- Add prettier/plugin-pug as default formatter for
pug
. #527. - π Cusom tags IntelliSense for local
tags.json
/attributes.json
. Usage Docs. Thanks to contribution from Carlos Rodrigues. #1364 and #2018. - π Detect tags from @nuxt/components. Thanks to contribution from pooya parsa. #1921.
- π Fix VTI crash by passing correct PID to language server. Thanks to contribution from Daniil Yastremskiy. #1699 and #1805.
- π Fix template interpolation hover info of v-for readonly array item. Thanks to contribution from @yoyo930021. #1788.
- π Improve performance while using template interpolation service. Thanks to contribution from @IWANABETHATGUY. #1839.
0.24.0
0.24.0 | 2020-03-04 | VSIX
vue-language-server
deprecated and will be published asvls
.- Support Vue 3 interface with
defineComponent
. #1638. - Update to TS 3.7.5 to avoid TypeScript issues with files not stored in C: drives on Windows. #1589.
- Vetur will now print the prettier configuration it loaded in Output -> Vue Language Server, when
"vetur.dev.logLevel": "DEBUG"
is set. #1407. - Enable Windows CI with Azure DevOps. #1266.
- Upgrade to
vscode-langaugeclient
/vscode-languageserver
V6. #1719. - π Better template interpolation auto completion. Thanks to contribution from @ktsn. #1129 and #1446.
- π Fix syntax highlighting when
</template
and>
are not on the same line. Thanks to contribution from Ross Allen. #1211. - π Add
sass-formatter
as a formatter for SASS region. Thanks to contribution from @TheRealSyler. #1433. - π Provide Quasar support when
quasar
is indevDependencies
. Thanks to contribution from @moander. #1504. - π Fix Windows path handling. Thanks to contribution from @mattn. #1662.
0.23.0
0.23.0 | 2020-01-12 | VSIX
- VTI (Vetur Terminal Interface). #1149.
- Provide default VLS config and do not crash when no config is provided. #977.
- Upgrade to TypeScript 3.7 with Optional Chaining and Nullish Coalescing. #1510.
- π Fix syntax highlighting for interpolation in attributes with numbers (such as
x1
). Thanks to contribution from Niklas Higi. #1465. - π Fix syntax highlighting for backticked vue code block in Markdown file. Thanks to contribution from Abdelrahman Awad. #1024 and #1485.