Evan You
37a14a5dae
Revert "fix(types): propagate type parameter constraints for TypeScript 4.8 ( #6351 )"
...
This reverts commit 516fabb725
.
2023-07-12 11:38:59 +08:00
丶远方
3decc57d0c
chore: remove unnecessary type assertions ( #8386 )
2023-07-10 18:18:53 +08:00
Daniel Rosenwasser
516fabb725
fix(types): propagate type parameter constraints for TypeScript 4.8 ( #6351 )
...
* fix(types): propagate type parameter constraints for TypeScript 4.8
* fix: add more constraints
---------
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2023-07-09 13:04:08 +08:00
丶远方
1b1242f4d1
fix(runtime-core): handle template ref with number values ( #8233 )
...
close #8230
2023-05-05 16:00:01 +08:00
Evan You
34ad609bd7
refactor(runtime-core): use Symbol.for for runtime Symbols
2023-02-21 17:42:06 +08:00
白雾三语
c6e5bda27d
fix(customElement): customElement can emit event ( #7296 )
...
close https://github.com/vuejs/core/issues/7293
2022-12-23 22:32:21 +01:00
花果山大圣
4798a9f704
refactor: more concise bitwise operations for flag removal ( #7092 )
2022-11-10 20:15:37 -05:00
被雨水过滤的空气(Rairn)
a54bff2c9c
fix(hmr/keep-alive): fix error in reload component ( #7049 )
...
fix #7042
2022-11-10 05:01:31 -05:00
Evan You
11214eedd2
fix(teleport/css-v-bind): fix css v-bind in teleport in child component slot
2022-11-10 15:08:25 +08:00
Thorsten Lünborg
e5fc7dcc02
fix(types): ensure createBlock() helper accepts Teleport and Supsense types ( fix : #2855 ) ( #5458 )
...
Co-authored-by: Carlos Rodrigues <carlos@hypermob.co.uk>
2022-10-20 21:45:51 +02:00
Evan You
fc5bdb36ed
fix(runtime-core): avoid hoisted vnodes retaining detached DOM nodes
...
fix #6591
2022-09-27 16:20:52 +08:00
Evan You
5381abc057
fix(types): support TypeScript 4.8
...
fix #6554
2022-08-31 14:03:08 +08:00
Carlos Rodrigues
0c7fd13ea6
fix(types): fix typescript error when spreading `$props`( #5968 )
2022-05-20 12:59:29 -04:00
Evan You
ba17792b72
fix(runtime-core): fix missed updates when passing vnode to <component :is>
...
fix #4903
2022-05-12 17:52:17 +08:00
Yugang Cao
e603fd258c
chore: fix typo ( #5261 ) [ci skip]
2022-01-21 01:18:34 -05:00
Thorsten Lünborg
c35ec47d73
fix(runtime-core): ensure mergeProps skips undefined event handlers ( #5299 )
...
fix #5296
2022-01-21 01:13:29 -05:00
Evan You
1928c9b537
refactor: move template ref setter into dedicated file
2021-12-11 10:09:21 +08:00
Evan You
41c18effea
feat: support ref in v-for, remove compat deprecation warnings
2021-12-10 23:49:01 +08:00
edison
b4eb7e3866
fix(runtime-core): improve dedupe listeners when attr fallthrough ( #4912 )
...
fix #4859
2021-11-14 22:20:38 -05:00
HcySunYang
ebd0baca98
fix(types): improve the type of createElementBlock ( #4406 )
...
fix #4391
2021-08-23 18:28:52 -04:00
Hazlank
6db15a27cf
refactor: merge bitwise flag checks ( #4324 )
2021-08-16 15:13:04 -04:00
AlexandraCaragata
d045055b47
fix(core): typing of key in VNodeProps ( #4242 )
...
close #4240
2021-08-06 11:11:26 -04:00
Evan You
2bdee50a59
fix(runtime-core): fix v-bind class/style merging regression
...
fix #4155
2021-07-20 13:58:43 -04:00
Evan You
47f488350c
chore: run updated prettier
2021-07-19 18:24:18 -04:00
Evan You
2a310df753
fix(runtime-core): fix default shapeFlag for fragments
2021-07-16 14:30:49 -04:00
Evan You
8610e1c9e2
feat(runtime-dom): defineCustomElement
2021-07-16 14:30:49 -04:00
Evan You
3b64508e3b
feat: v-memo
2021-07-16 14:30:49 -04:00
HcySunYang
ceff89905b
perf: improve VNode creation performance with compiler hints ( #3334 )
2021-07-16 14:30:49 -04:00
Evan You
c0db807844
refactor: simplify static content insertion
2021-07-15 13:16:19 -04:00
Evan You
ba89ca9eca
fix(runtime-dom): fix static node content caching edge cases
...
reverts fded1e8
fix #4023 , #4031 , #4037
2021-07-01 19:19:53 -04:00
Evan You
32e21333dd
fix(runtime-core): stricter compat root mount check
2021-05-27 20:47:46 -04:00
HcySunYang
a641eb201f
fix(runtime-core): fix cases of reused children arrays in render functions ( #3670 )
...
fix #3666
2021-05-27 17:06:55 -04:00
Evan You
9f24195d2c
fix(suspense): fix suspense patching in optimized mode
...
fix #3828
2021-05-27 16:32:31 -04:00
HcySunYang
e8ddf86080
fix(runtime-core): properly check forwarded slots type ( #3781 )
...
fix #3779
2021-05-26 11:52:03 -04:00
HcySunYang
201060717d
fix(runtime-core): should not track dynamic children when the user calls a compiled slot inside template expression ( #3554 )
...
fix #3548 , partial fix for #3569
2021-05-25 13:33:41 -04:00
Evan You
bb76cfae12
wip: test for v-model compat
2021-04-29 16:22:39 -04:00
Evan You
86703c23a6
wip: ref v-for compat
2021-04-26 17:35:41 -04:00
Evan You
1b8f14ee76
wip: more compat progress
2021-04-21 15:09:18 -04:00
Evan You
183f9b0013
wip: component v-model compat
2021-04-09 23:10:29 -04:00
Evan You
f05d6dfd98
wip: render function compat
2021-04-09 18:56:31 -04:00
Evan You
18cf63ff05
wip: async component compat
2021-04-08 16:11:28 -04:00
Evan You
aea88c3280
refactor: fix implementation of SFC :slotted id handling
...
fix #2892
2021-03-05 18:28:12 -05:00
Evan You
5a7a1b8293
fix(hmr): deep clone reused hoisted trees during dev
...
fix vitejs/vite#2022
2021-02-15 15:09:27 -05:00
Evan You
64d4681e4b
fix(async-component): forward refs on async component wrapper
...
fix #2671
2020-11-30 18:59:14 -05:00
被雨水过滤的空气
edd49dcab4
fix(runtime-core): avoid mutating EMPTY_ARR when setting dev root ( #2419 )
...
also freeze EMPTY_ARR in dev
fix #2413
2020-10-19 18:08:54 -04:00
ᴜɴвʏтᴇ
052a621762
feat(compile-core): handle falsy dynamic args for v-on and v-bind ( #2393 )
...
fix #2388
2020-10-19 17:15:53 -04:00
Katashin
422f05e085
fix(hmr): make hmr working with class components ( #2144 )
2020-09-18 00:14:59 -04:00
Evan You
5ae7380b4a
feat: update Suspense usage ( #2099 )
...
See https://github.com/vuejs/vue-next/pull/2099 for details.
2020-09-15 12:45:06 -04:00
Evan You
612eb6712a
fix(runtime-core/refs): handle multiple merged refs for dynamic component with vnode
...
fix #2078
2020-09-14 15:33:38 -04:00
Evan You
ad93fa42fc
fix(runtime-core): openBlock() should not be tracked when block tracking is disabled
2020-09-02 12:30:37 -04:00