Update dependency vue-tsc to v1
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
vue-tsc | devDependencies | major | ^0.0.24 -> ^1.0.0 |
Release Notes
johnsoncodehk/volar
v1.0.0
Our Sponsors
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.formatOnPaste
enabled (#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.initialIndent
option for format<style>
,<script>
with initial indent (#1806) - perf: cache
ts.ScriptSnapshot.fromString
result 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.ignoreTriggerCharacters
for LSP-Volar (https://github.com/sublimelsp/LSP-volar/issues/114) - feat: add
vueCompilerOptions.experimentalComponentOptionsWrapper
option 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
,experimentalImplicitWrapComponentOptionsWithVue2Extend
replaced byexperimentalComponentOptionsWrapper
.
v0.40.6
- feat: support language features for Web IDE (#612)
- feat: update vite problemMatcher (#1801)
- feat: add
volar.vueserver.textDocumentSync
option to disable incremental update (#1807) - fix:
v-for
,v-if
textmate 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/incremental
tsconfig 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.enable
settings - 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.createSourceFile
for 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
createComponentMetaCheckerByJsonConfig
API 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.types
resolve 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
components
option (#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
defineComponent
instead ofVue.extend
to 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.types
not 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
fileExists
is always calculate for .ts on each time update (https://github.com/johnsoncodehk/volar/commit/07f3bd55b6bdf3875a60796f7c9eb9a838eed463) - perf: cache
fileExists
,directoryExists
result 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-service
apis 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
--incremental
flag 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.enabled
option to disable file move refactoring (#1181) - feat: add
volar.diagnostics.delay
option for reduce CPU usage (#1295) - feat: add
vueCompilerOptions.experimentalImplicitWrapComponentOptionsWithVue2Extend
to 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
types
option (#1262) - fix: file move refactoring unpredictable (#1273)
- fix: avoid duplicate class attribute in pug (#1525)
- fix: intellisense incorrect in new file (#1548)
- fix:
insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis
break 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
unknown
toany
(#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
,experimentalSuppressInvalidJsxElementTypeErrors
is 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
GlobalComponents
interface 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
.value
for vue 2 (#1466) - fix: cannot define global components types with
@vue/runtime-core
in 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
,*.html
explicitly added in tsconfig include property (#1463) - fix: respect
codeAction.disabledSupport
capability (#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
.md
if 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
v0.37.3
- feat: support find file references
- feat: improve vitepress markdown parse reliability (#1410)
- feat:
vueCompilerOptions.experimentalSuppressInvalidJsxElementTypeErrors
default true (#1405) - fix: fixed TS error with props beginning with data* (#1413)
v0.37.2
- feat: show deprecation message for
experimentalCompatMode
- fix: kebab case component type broken in vue 2 (#1405)
v0.37.1
- feat: add
experimentalSuppressInvalidJsxElementTypeErrors
option to ignore missing component import error (#1404) - perf: support auto-import cache even TS version < 4.7 (#1406)
- perf: simplify template generated tsx code
v0.37.0
- feat: VitePress support (#1399)
- feat: support
html.autoCreateQuotes
for pug - feat: enabled references codeLens for slots when use script setup
- feat: detect missing component import (#1203)
- feat: support
--generateTrace
for vue-tsc (#1375) - fix: dynamic slot name breaks template type checking (#1392)
- fix: don't report property does not exist error for
data-*
andaria-*
- fix: html selection highlight ranges incorrect (#1393)
- fix: avoid
DefineComponent
type loss when use script setup (#1391) - fix: css module
$style
inconsistent between vue-tsc and vscode (#1089) - fix: css class name and v-bind should not active in style comments
- fix: unused
console.log
to adapt vim-lsp (#1391) - fix: language server stuck on incomplete style variable injection expression (#1359)
- fix: remove
__VLS_
result from code actions
Breaking changes
-
vueCompilerOptions.experimentalCompatMode
is renamed tovueCompilerOptions.target
.{ "vueCompilerOptions": { - "experimentalCompatMode": 2 + "target": 2 }, }
v0.36.1
- feat: add
vueCompilerOptions.experimentalSuppressUnknownJsxPropertyErrors
option for unkonwn props reporting - fix: template slots types missing when use export default in
<script>
with<script setup>
(#1389) - fix: fixed false positive
__VLS_radioBinding
on radio input tag. (#1390)
v0.36.0
- feat: support format selection (range formatting) (#1370)
- feat: support format on type
- feat: support
@ts-check
,@ts-nocheck
for template (#1369) - feat: improve slots auto-complete (#1251)
- feat: support jsdoc for jsx IntrinsicElement (#1212)
- feat: experimental support for vue 2.7 with
"experimentalCompatMode": 2.7
- feat: support typed template slots for script setup (#1253)
- fix:
--extendedDiagnostics
not working on vue-tsc (#1375) - fix: template diagnostics incomplete on vue-tsc (#1372)
- fix: respected
textDocument.completion.completionItem.insertReplaceSupport
(#1373)
Breaking changes
- ~~feat: report error for unkonwn props (#1077)~~ (Disabled by default in v0.36.1)
v0.35.2
- feat: add tsc problemMatchers settings (#1277)
- fix: cannot watch external .d.ts file changes (#1343)
- fix: incorrect typescript error report with hgroup in template (#1340)
- fix: style variable injection syntax highlight not working for style languages other then
css
(#1365) - fix: false positive type check for method arguments with
defineExpose
(#1364) - fix: avoid html emmet active in style block (#1358)
- fix: unable to recognize the type of parameters as alongside
<script setup>
(#1324) - fix: component export default jsdoc loss when use
<script setup>
(#1327) - fix: false positive
@ts-expect-error
error inwithDefaults()
(#1336)
v0.35.1
v0.35.0
- perf: support TS auto-import cache for TS 4.7 (#1360)
- Please use 0.34.17 for TS 4.6.4 or lower
v0.34.17
- feat: do not show unknown tag as red (#1247)
- feat: do not default enable
editor.semanticHighlighting.enabled
- feat: support syntax highlight for style variable injection
- fix: auto import creates wrong identifier when dot in file name (#1335)
- fix: avoid language server crash on TS 4.7 (#1300)
- fix: namespaced component type-check not working
v0.34.16
- feat: add experimental option
vueCompilerOptions.experimentalRuntimeMode
for adapt uni-app (#1308) - fix: type narrowing broken by local variable declare in template (#1312)
- fix: cannot recognize component context on arg typeof of arrow function in template (#1326)
- fix: emmet suggestion interrupt when input symbol (#1322)
- fix: split editors layout not following settings
volar.splitEditors.layout.*
(#1330)
v0.34.15
- feat: support auto-complete for template local variables (#1284)
- feat: check if vetur is active on doctor panel (#1305)
- feat: enabled
experimentalImplicitWrapComponentOptionsWithDefineComponent
forlang="js"
by default (#1298) - feat: add
vueCompilerOption.experimentalDowngradePropsAndEmitsToSetupReturnOnScriptSetup
option to improve intellisense on script setup forlang="js"
(#1192)
v0.34.13
- feat: list vue meetup events on preview loading
- feat: show basic infos by doctor command (#1254)
- fix: avoid tsconfig include
.vue
files outside rootDir with typescript plugin (#1276)
Breaking changes
- Changed
vueCompilerOptions
propertyexperimentalShamefullySupportOptionsApi
toexperimentalImplicitWrapComponentOptionsWithDefineComponent
and disabled by default (#1291)
v0.34.12
- chore: change extensions publisher (#1124)
- feat: add
"warning"
option toexperimentalShamefullySupportOptionsApi
and make default - feat: allow type narrowing in inline handlers bu config
"experimentalAllowTypeNarrowingInInlineHandlers": true
in vueCompilerOptions (#1249) - fix: avoid report error with config
"module": "es2015"
in tsconfig (#1263) - fix: find references result has invalid item
- fix: property access errors loss in template (#1264)
- fix: cannot rename html tag in some cases (#1272)
v0.34.11
- fix: cannnot trigger auto-complete in import statement by input space
- fix: duplicate diagnostics in *.ts on takeover mode (#1234)
- fix: style block has redundant html emmet result (#1244)
- fix: language server crash with low TS version (#1242)
- fix: directives type-check not working (#1228)
- fix: auto-complete replace range incorrect in import statement (#1227)
v0.34.10
- fix: template bindings error incomplete (#1205)
- fix: avoid auto-import added on same line as
<script>
(#916) - fix: embedded html interpolations syntax highlight not working in markdown
- fix: inlay hints not working in template
- fix: preview broken on nuxt3 rc (#1225)
- fix: cannot use import equals in script setup (#1223)
- fix: directives syntax highlight display incorrect in html comment inside svg tag (#1206)
v0.34.9
- fix: vue documents diagnostics cannot update when other drive ts file changed
- fix: ts declaration diagnostics missing (#1222)
v0.34.8
- feat: support inlay hints (#452)
- if you're not using VSCode, you should config new option
languageFeatures.inlayHints = true
in initializationOptions to enable it
- if you're not using VSCode, you should config new option
- feat: allow disable highlight dom elements on preview (#1209)
- feat: improve dom elements highlight display refresh
- fix:
typescript.format.semicolons
should not affect text interpolation (#1210) - fix: vscode settings cannot update for document features (#1210)
- fix:
{{ { foo } }}
object literal expression not working on text interpolations - fix: cannot infer event type with prop name format
onFoo-bar
(#1023) - fix: scoped class references not accurate on long document (#1059)
- fix: cannot update unediting vue document diagnostics (#1163)
- fix: emmet not working in style block (#1145)
- fix: nuxt preview not working on windows (#1123)
v0.34.7
- feat: add option
experimentalShamefullySupportOptionsApi
to vueCompilerOptions (#1202) - fix: use html renaming instead of ts renaming on tags (#1201)
- fix: not support lowser node version (#1200)
- fix: cannot update global components props completion list (#1196)
- fix:
svg
attributes report false positive void type (#1184) - fix: css module types missing on template context (#1178)
- fix: false positive error with withDefaults + "strictNullChecks": false (#1187)
Breaking changes
- sass formatter is moved to external plugin: https://github.com/johnsoncodehk/volar-plugins/tree/master/packages/sass-formatter
v0.34.6
- feat: add prompt for
"jsx": "preserve"
missing - fix: auto-complete break language server if
"jsx": "preserve"
missing (#1171) - fix: typescript plugin extension not working (#1173)
- fix: code action not working on *.ts with take over mode (#1169)
- fix: object computed property name report false positive error in template (#1176)
- fix: should count variable uses with ref attribute (#1168)
v0.34.5
- feat: preset
"jsx": "preserve"
for non-tsconfig project - fix: avoid template report errors if
"jsx": "preserve"
missing (#1161) - fix: attrs auto-complete and tag highlight incorrect on js project (#1158)
- fix: script setup report false positive error with defineExpose type arg (#1165)
Breaking changes
-
@volar/pug-language-service
now is a optional depend on vue-tsc, you need to install it additionally to support pug template type-checking on vue-tsc (#1092)
v0.34.4
- fix: script setup report false positive error with multi-line interpolation
- fix: object spread assignment not working in template
- fix: html formatting result incorrect
v0.34.3
- feat: release
@volar/preview
for support vite, nuxt 3 app preview features other then vscode IDEs (#1115) - fix:
require()
should not report error in template (#1161) - fix: template interpolations syntax broken with inline block comments (#1143)
- fix: vue-tsc emit declaration diagnostics incomplete (#1127)
- fix: ts plugin should not affect to non-vue project (#1144)
- fix: object literal santax not working in directive and v-for expressions (#1160)
- fix: shorthand property assignment santax not working in template (#1156)
- fix: should not emit
__VLS_
files file withvue-tsc --declaration --emitDeclarationOnly
- fix:
experimentalDisableTemplateSupport
not working - fix: formatting crashes with inline v-bind on scoped v-slot (#1151)
- fix: language server broken in js project without allowJs
Breaking changes
- Changed
experimentalResolveNonScopedCssClasses
toexperimentalResolveStyleCssClasses
(#1121)
v0.34.2
v0.34.1
- feat: do not show unknown tag as red (#1247)
- feat: do not default enable
editor.semanticHighlighting.enabled
- feat: support syntax highlight for style variable injection
- fix: auto import creates wrong identifier when dot in file name (#1335)
- fix: avoid language server crash on TS 4.7 (#1300)
- fix: namespaced component type-check not working
v0.34.0
- feat: expose
useConfigurationHost
for external language feature plugins - perf: faster language server initialization
- perf: simplify template script generation (#455)
- perf: reduce TS language service instances (#1108)
- fix: web bundle lead to package size greatly increased (#1084)
- fix: undefined sortText break vim (#1118)
- fix: template context do not update by external .ts scripts (#565)
- fix: not respect HTML completion settings (#1139)
- chore: default disabled
volar.autoCompleteRefs
for reduce CPU usage
Breaking changes
- Not support typed template slots for now (#1108)
- Not support emits renaming
- Not support props renaming for
Vue.extends
orlang="js"
- Changed built-in HTML formatter from
prettyhtml
tovscode-html-languageservice
(#1078)- If you would like to use
prettyhtml
, seeprettyhtml
section in https://github.com/johnsoncodehk/volar/discussions/1027
- If you would like to use
- Changed built-in CSS formatter from
prettier
tovscode-css-languageservice
(#1131)- If you would like to use
Prettier
, seePrettier
section in https://github.com/johnsoncodehk/volar/discussions/1027
- If you would like to use
- Changed setting
volar.lowPowerMode
tovolar.vueserver.useSecondServer
and disabled by default- When disabled, language service instance reduce a half of memory usage, but auto-complete should be slower in expected
-
"jsx": "preserve"
now is required for template type-checking (#1153)
v0.33.9
- perf: faster vue-tsc watch response
- fix: memory leak on vue-tsc watch (#1106)
- fix: emmet block html src path completion (#1105)
v0.33.7
- feat: support nuxt 3 app preview and goto code
- fix: avoid click event on element when use goto code
- fix: style codeLens references always show 0 references (#1095)
v0.33.6
- fix: TS completion not working in interpolations (#1088)
- fix: not respected
html.autoCreateQuotes
,html.autoClosingTags
settings (#840) - fix: organize imports code action edge range incorrect (#1091)
- fix: don't report css module
$style
types error on vue-tsc (#1089) - fix: css vars no effect on vue-tsc (#1093)
v0.33.5
- fix: diagnostics not update (#1076)
v0.33.4
- fix: expand selection broken since 0.33.0 (#1085)
- fix: vueCompilerOptions typo
experimentalRsolveNonScopedCssClasses
->experimentalResolveNonScopedCssClasses
- fix: 0.33.3 release packages missing
/out
directory (#1086)
v0.33.3
- feat: support attribute binding syntax
:<name>.attr
(#1047) - feat: supoprt document features for Web IDE (#612)
- feat: add option to support intellisense for non-scoped css (#1038)
- feat: reduce vue-tsc depends
- fix: json schema request service not available since 0.33.0 (#243)
- fix: remove
console.log
avoid vim-lsp crash (#1046) - fix: emmet suggestions messed up embedded language suggestions (#1039)
- fix: missing proposals for HTML attribute value (#1072)
- fix: vue-tsc watch not always catch vue file changes (#1082)
- fix: previewer not working with pnpm (#1074)
- fix: global components type not working with
vue-class-component
(#1061) - fix: goto component definition not working with some syntax (#435) (#1048)
- fix: directives argument should be optional if argument could be undefined (#1040)
v0.33.2
- feat: add option
vueCompilerOptions.experimentalDisableTemplateSupport
to disable template type-check and intellisense (#577) - fix: avoid props jsdoc erase by
withDefaults
- fix: sponsors svg never update
v0.33.1
- feat: support preview features on external browser
- press
Alt
key to activating go to code feature
- press
- fix: can't open multiple preview windows
v0.33.0
- feat: reduce vue-tsc depends
- feat: support more language features for
lang="json"
custom block - feat: support for goto implementations
- if you're not using VSCode, you should config new option
languageFeatures.implementation = true
in initializationOptions to enable it
- if you're not using VSCode, you should config new option
- feat: support custom language service plugins for (#1028):
- change built-in formatters
- add language support for custom block with any other language yourself
- feat: support vue-tsc watch (#1030)
- feat: preview features not longer needed authentication
- fix: pug formatting broken (#1002)
- fix: vite app preview not working on windows (#1013)
- fix: fallback event type behavior for invalid type components (#1001) (#1026)
Breaking changes
-
@volar/server
renamed to@volar/vue-language-server
- cli command
vue-server
changed tovue-language-server
- cli command
-
vscode-vue-languageservice
renamed to@volar/vue-language-service
-
vscode-typescript-languageservice
renamed to@volar/typescript-language-service
-
vscode-json-languageservice
renamed to@volar/json-language-service
v0.32.1
- feat: support generic events with props (#981)
- fix: slots references always 0 (#932)
- fix:
source.organizeImports
not working ineditor.codeActionsOnSave
(#906) - fix: component type incorrect if duplicate name with current
<script setup>
file name (#944) - fix: language server broken if TS version < 4.4 (#962)
- fix: pug outline element level incorrect (#969)
- fix: document symbols confusion between
<script>
and<script setup>
(#994) - fix: vite icon do not show with first editor
v0.32.0
- feat: experimental webview features for vite (#208)
- perf: bundle extension to speed up startup
v0.31.4
- perf: faster auto-import completion (#808)
v0.31.3
- feat: trigger event auto-complete when input
@
(#949) - feat: add
v-bind:*
,v-on:*
to auto-complete (#949) - feat: avoid auto import added in script block first line (#916)
- fix: language features not working in symbolic link project (#914)
- fix: language server throw in
process.env.NODE_ENV === 'production'
env (#915) - fix: component type broken by union event key type (#926)
- fix: document symbol not working for
<script setup>
(#938)
v0.31.2
- feat: improve scoped css class name references codeLens, auto-complete (#907)
v0.31.1
- fix: support type export statements on the top in
<script setup>
(#886)
v0.31.0
- feat: support generic emits (#877)
- feat: support top level await in
<script setup>
without extra tsconfig setting (#538) - feat: fully support formatting for v-for expression
- fix: can't ignore variable unused report by
_
prefixes in v-for (#878) - fix: no error when definitions from
<script setup>
used in<script>
(#766)
v0.30.6
- fix: re-support
withDefaults
for props type in template (#868) - fix: tsconfig report
schemas/tsconfig.schema.json
missing (#869) - fix: enabled
editor.semanticHighlighting.enabled
by default to avoid component tag show invalid color when installed some themes - fix: export default expression semicolon breaks component type in script setup (#874)
- fix: don't wrap options with defineComponent when convert to setup sugar
Breaking changes
- When use
<script setup>
, ignore extra component options wrapper function (defineComponent
/Vue.extends
...)
v0.30.5
- fix:
vueCompilerOptions
intellisense not working on jsconfig - fix: vue-tsc broken on windows in 0.30.3
v0.30.4
- fix: component tag semantic highlisht token incorrect with folding (#801)
- fix: component type broken by
withDefaults
in 0.30.3
Breaking changes
- Unsupported
withDefaults
for component props type
v0.30.3
- feat: auto wrap
()
to as expression (v-bind="foo as string"
->v-bind="(foo as string)"
(#859) - feat: support tsconfig properties intellisense on take over mode (#833)
- feat: support
vueCompilerOptions
intellisense in tsconfig (#833) - fix: vue-tsc and typescript could't guaranteed found each other (#851)
- fix: avoid vue-tsc stripped props jsdoc comments for script setup components (#799)
- fix: string source type incorrect in v-for (#839)
Known regressions
- component type broken by
withDefaults
- vue-tsc broken on windows
v0.30.2
- feat: jsdoc comment suggestion (#827)
- feat: TS directive comment suggestion
- feat: auto insert attribute quotes
- fix: css error range not reliable (#826)
- fix: html, css completion trigger characters
- fix: allow loose vue language id for markdown (#831)
- fix: avoid auto close tag with undo (#837)
v0.30.1
- feat: support vue 2 component slots type (#819)
- feat: expose component public instance type by
defineExpose
- feat: support scoped class name auto-complete (#752)
- feat: alway show commands after extension activated (#795)
Breaking changes
- Unsupported
vueCompilerOptions.experimentalExposeScriptSetupContext
option
v0.30.0
- feat: support components type-check by
static components
for class-base component (#753) - feat: support
vueCompilerOptions.experimentalExposeScriptSetupContext
option for jest (#805) - feat: support
typescript.suggest.autoImports
setting (#746) - fix:
@vue/composition-api
defineComponent types incorrect in template (#780) - fix: directives syntax highlight incorrect in svg tag (#776)
- fix: project references ignored jsconfig (#756)
- fix: html semantic tokens range incorrect in long template code (#801)
- fix:
typescript.preferences.importModuleSpecifier
setting not working for component auto import (#793) - fix:
Organize Imports
commmand not always working (#798) - fix: css variable injection virtual code cannot update (#777)
- fix: should not initializes new language service when create a new file (#802)
- fix: new file first diagnostics incorrect
Breaking changes
- Do not support component context types in template for
export default { ... }
withoutVue.extend
ordefineComponent
(#750)
v0.29.8
- perf: cache
URI.file
,URI.parse
results - fix: pug template type-check broken with omit tag name
- fix: language server broken with tsconfig extends a non-relative path (#747) (#749)
v0.29.7
- feat: support html, css custom data (#707)
- feat: support extends tsconfig
vueCompilerOptions
(#731) - fix: cannot config project reference by directory path (#712)
- fix: pug attrs type-check borken by nested tags (#721)
- fix: import path rename result incorrect (#723)
- fix:
editor.codeActionsOnSave: ["source.organizeImports"]
not working (#726) - fix: goto definition not working with some component import statement (#728)
- fix: don't show volar commands in non-vue document (#733)
- fix: vue-tsc not working with symlink (#738)
v0.29.6
- fix: attrs show unexpected "not exist" error (#710)
- fix: verify all scripts not working if no jsconfig / tsconfig
- fix: organize import edit text range incorrect (#714)
- fix: class component props type-check not working with multiple props (#705)
- fix: emmet should not active in template interpolations
- fix: TS semantic highlight not working
v0.29.5
- feat: open tsconfig when click in status bar
- feat: add
experimentalTemplateCompilerOptionsRequirePath
option to allow import compiler options from js file (#698) - fix: pug folding ranges break by empty line (#688)
- fix: reduce the intrusiveness of template type-check hacks (#689)
- fix:
@volar/server
entry files missing in npm publish (#695) - fix: language server immediately crashes when trigger request at incomplete TS code (#699)
- fix: html / css path resolve incorrect on windows edge cases (#694)
- doc: fix incorrect
experimentalTemplateCompilerOptions
example:"compatConfig": { "Mode": 2 }
->"compatConfig": { "MODE": 2 }
v0.29.4
- feat: syntax highlight support for Web IDE (#612)
- fix: semantic highlight can't update if project have no tsconfig or jsconfig (#685)
v0.29.3
- feat: support syntax highlighting for
lang="toml"
(#684) - fix: subfolder path resolve logic cause to TS crash edge case (#679)
v0.29.2
- fix: document server created multi time
- fix: html hover not working in some non-VSCode clients (#678)
v0.29.1
- fix: template AST broken by empty line in pug (#676)
- fix: intellisense not working if project have no jsconfig / tsconfig (#680) (#681)
v0.29.0
- feat: support namespaced component (#372)
- feat: more strict
.value
auto-complete condition - feat: show current tsconfig on status bar
- feat: provide public api to generate script setup type-check code (#650)
- feat: add sass formatter
- fix: can't exit split editors by click icon edge cases
- fix: semantic tokens not working in pug template
- fix: script setup component name not recognized edge cases
- fix: ignore template language support if not
html
orpug
(#659) - fix: tsconfig
types
paths resolve incorrect in monorepo (#661) - fix: can't update diagnostics on windows + atom
- fix: project finding logic incorrect with tsconfig
referencecs
option (#649) - fix:
{{ }}
colorized bracket pairs not working - fix: documentSymbol, foldingRanges not working to some *.ts files on take over mode
Breaking changes
- experimentalCompatMode behavior changed (#576)
do not force configcompatConfig: { Mode: 2 }
to template compiler with"experimentalCompatMode": 2
v0.28.10
- feat: improve pug folding range (#636)
- feat: improve pug tag, attr auto-complete (#638)
- fix: if trigger component auto-import multiple times, import edit text accumulate (#639)
- fix: filter current component from component auto-import list
- fix: normalize request uri for Sublime / Atom (#637)
Known regressions
- semantic tokens not working in pug template
v0.28.9
- feat: use VSCode 1.61
Split Editor In Group
instead of create new editor (#608) - feat: split editors layout change from
script | template | style
toscript + style | template
- feat: tag name conversion work done progress
- fix: language server broken by circular tsconfig project references (#525) (#631) (#632)
- fix: vue-tsc can't show "incremental mode / watch mode not support" error message (#630)
- fix: tag name kebab case -> pascal case conversion not working
- fix: LSP workspace configuration option not supported (#626)
- fix: no edit to
components
option when component auto-import (#634)
v0.28.8
- feat: support html hover settings (#627) (#615)
- fix:
withDefaults
can't narrowing props undefined (#611) (#614) - fix: vueCompilerOptions not working with vue-tsc --project flag (#613) (#615)
- fix: tsconfig project references are not respected (#525)
v0.28.7
- fix: can't access
$slots
,$props
... in template if no script block (#601) - fix: defineEmit not working with type alias (#607)
- fix:
GlobalComponents
working for vue2 (#609)
v0.28.6
- feat: support for emit SFC dts by vue-tsc (See https://github.com/johnsoncodehk/volar/tree/master/packages/vue-tsc#using)
v0.28.5
- feat: support search workspace symbols (command / ctrl + T) (#549)
- fix: alias path completion not working in root segment (#589)
- fix: can't convert invalid component type to
any
(#594) - fix:
<script>
document symbols result inconsistent to TS
v0.28.4
- feat: support for open
*.ts
to enable take over mode - fix:
any
type component should not show red color - fix: auto-import should not from virtual file
__VLS_vue
(#584) - fix: path auto-complete not working in template (#589)
v0.28.3
- feat: add option to disable component auto import (#440)
- feat: add
volar.takeOverMode.enabled
setting to allow enable take over mode even TS extension active - fix: only the last typed event of defineEmits gets recognized (#578)
- fix: syntax highlight incorrect if event name has number
- fix: dynamic slot syntax highlight incorrect
- fix: interpolations syntax highlight should not active in html comment block
- fix: multi-line event expression formatting indent incorrect (#579)
v0.28.2
- fix: args-less events type incorrect (#575)
- fix:
@vue/composition-api
events type incorrect (#576)
v0.28.1
- feat: improve pug folding range (#636)
- feat: improve pug tag, attr auto-complete (#638)
- fix: if trigger component auto-import multiple times, import edit text accumulate (#639)
- fix: filter current component from component auto-import list
- fix: normalize request uri for Sublime / Atom (#637)
Known regressions
- semantic tokens not working in pug template
v0.28.0
- feat: make vue-tsc version consistency to volar (vue-tsc#72)
- feat: remove tsPlugin prompt
- feat: remove vue-tsc version checking
- fix: avoid
noPropertyAccessFromIndexSignature
effect to slots (#561) - fix: interpolations syntax highlight not working in html (#562)
- fix: style attr can't end with
'
(#563) - refactor: rewrite vue-tsc by TS
v0.3.0
v0.2.3
v0.2.2
v0.2.1
v0.2.0
v0.1.7
v0.1.6
v0.1.5
v0.1.4
v0.1.3
v0.1.2
v0.1.0
v0.0.26
v0.0.25
Configuration
-
If you want to rebase/retry this MR, click this checkbox.
This MR has been generated by Renovate Bot.