Commit Graph

1699 Commits

Author SHA1 Message Date
Thorsten Lünborg
d4d3319c1b
fix(ssr): ensure app can be unmounted when created with createSSRApp() (#5992)
fix #5990
2022-05-24 08:30:40 -04:00
Evan You
160d5df34a release: v3.2.36 2022-05-23 10:04:12 +08:00
Evan You
2f07e3460b fix(compat): fix globalProperties pollution in v3 mode
fix #5699
2022-05-23 09:46:00 +08:00
Alex Van Liew
7fb57327b9
fix(compat): fix app-level asset registration affecting other local apps (#5979) 2022-05-22 21:41:39 -04:00
Alex Kozack
b5462822d6
fix(sfc/types): allow use default factory for primitive types in withDefaults (#5939)
fix #5938
2022-05-22 20:28:39 -04:00
Evan You
a0c577692f release: v3.2.35 2022-05-21 01:16:26 +08:00
Carlos Rodrigues
0c7fd13ea6
fix(types): fix typescript error when spreading $props(#5968) 2022-05-20 12:59:29 -04:00
Evan You
8071ef47b5 fix(types): restore DefineComponent argument order
This is necessary for compatibility w/ tsc-generated component types
using DefineComponent.

revert #5416
reopen #3796
fix #5967
2022-05-21 00:55:51 +08:00
Evan You
523f6aa363 chore: use existing method 2022-05-19 14:08:55 +08:00
Evan You
3991609087 release: v3.2.34 2022-05-19 12:42:34 +08:00
Evan You
31bdde0480 chore: fix lint 2022-05-19 12:39:48 +08:00
Evan You
939209c6b5 fix(ssr): fix hydration for slot with empty text node
fix #5728
2022-05-19 12:35:29 +08:00
Carlos Rodrigues
7c8f4578e9
fix(types): fix defineComponent inference to Component (#5949) 2022-05-18 19:34:35 -04:00
Cédric Exbrayat
3e2850fa6c
fix(types): export ComponentProvideOptions (#5947) 2022-05-18 19:32:20 -04:00
Evan You
595263c0e9 fix(ssr/teleport): support nested teleports in ssr
fix #5242
2022-05-18 18:13:08 +08:00
Evan You
84f0353511 test: hydration test case for component w/ teleport root 2022-05-18 17:27:53 +08:00
Evan You
cdda49bbfb fix(runtime-core): adjust force diff of dev root fragments
fix #5946
2022-05-18 16:36:00 +08:00
Evan You
b60cff052c fix(ssr): fix hydration error when teleport is used as component root
fix #4293
2022-05-18 12:18:12 +08:00
Bulat Aykaev
0841b9b524 fix(keep-alive): fix keep-alive rendering when placed in vnode branch
fix #4817
2022-05-18 10:48:58 +08:00
Evan You
7fd761e577 release: v3.2.34-beta.1 2022-05-17 12:53:51 +08:00
edison
2a9e9a4096
refactor(runtime-core): extract function isReservedPrefix (#3265)
* chore(runtime-core): extract function isReservedKey

* chore: improve code

Co-authored-by: Evan You <yyx990803@gmail.com>
2022-05-13 04:52:19 -04:00
edison
40794c80ca
refactor(runtime-core): extract type SetRootFn (#3209) 2022-05-13 04:48:20 -04:00
zs
0c07f12541
chore: warn when mounting different apps on the same host element (#5573) 2022-05-12 21:09:18 -04:00
edison
220f255fe9
fix(watch): fix watching multiple sources containing shallowRef (#5381)
fix #5371
2022-05-12 20:20:04 -04:00
小刘(liulinboyi)
71066b5afe
fix(v-model): fix case where .trim and .number modifiers are used together (#5842)
fix #5839
2022-05-12 19:52:16 -04:00
huangcheng
a3881299e9
fix(runtime-core): handle NaN identity check in v-memo (#5852)
fix #5853
2022-05-12 19:49:51 -04:00
Evan You
d36ca4d80e fix(runtime-core): clone root vnode before inheriting directives 2022-05-13 07:29:37 +08:00
Cédric Exbrayat
9ecee16f89
chore: add no-debugger eslint rule (#5906) 2022-05-12 19:10:00 -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
Evan You
9309b044bd fix(ssr): fix hydration error for slot outlet inside transition
fix #3989
2022-05-12 15:06:32 +08:00
Evan You
da49c863a2 fix(keep-alive): fix unmounting late-included components
fix #3648
based on #3650
2022-05-12 11:52:54 +08:00
Evan You
20ed16f68c fix(keep-alive): invoke initial activated hook for async components
revert #5459
fix #5095
fix #5651
2022-05-12 11:29:26 +08:00
Evan You
9d815d28ad chore: remove dbeugger [ci skip] 2022-05-12 10:38:40 +08:00
HeYunfei
b5b103a736
chore(types): delete @ts-ignore or use @ts-expected-error instead (#3669)
Co-authored-by: heyunfei.i <heyunfei.i@bytedance.com>
2022-05-11 20:40:59 -04:00
Zardddddd60
eed3973459
chore(runtime-code): delete outdated test case (#3036) 2022-05-11 20:25:06 -04:00
edison
f1d1cdbb69
fix(runtime-core): fix activated hook when using async component with KeepAlive (#5459)
fix #5095
fix #5651
2022-05-11 20:19:11 -04:00
Johnson Chu
c901dca5ad
feat(types): avoid props JSDocs loss by default option (#5871) 2022-05-11 07:37:49 -04:00
Evan You
425310e8b6 fix(transition/v-show): ensure transition is in persisted mode when used with v-show
fix #4845
close #4852
2022-05-11 19:22:55 +08:00
Evan You
2bab639683 fix(runtime-core): fix directive inheritance on dev root fragment
fix #5523
2022-05-11 18:02:31 +08:00
Kael
fec12d7dcc
fix(runtime-core): transition hooks can be arrays of functions (#5177) 2022-05-10 21:56:57 -04:00
edison
cd659fc86f
fix(ssr): should de-optimize on vnode with PatchFlags.BAIL (#4818)
fix #4679
fix #5771
2022-05-10 06:35:34 -04:00
Thorsten Lünborg
e4dffe900a
fix(runtime-core): ensure raw slot function is only normalized once (#5358)
fix: #5343
2022-05-10 04:41:54 -04:00
Evan You
d52907f4eb fix(runtime-core): ensure consistent identity of $forceUpdate and $nextTick instance methods
fix #5556
2022-05-10 14:17:04 +08:00
那里好脏不可以
6042ab0f2f
chore: type [ci skip] 2022-05-09 22:51:51 -04:00
huangcheng
392ca5dd88
chore: fix eslint error (#5876) 2022-05-09 22:43:35 -04:00
Evan You
16a0b232d7 chore: remove unused import due to merge conflict resolve mistake 2022-05-10 09:58:28 +08:00
edison
2a44225446
chore(runtime-core): Remove duplicate variable assignments (#3700) 2022-05-09 21:42:41 -04:00
edison
762a9e99ce
chore(runtime-core): use getGlobalThis when installing HMR API (#3217) 2022-05-09 21:40:19 -04:00
qinxiaosen_ccc
292ce69439
chore: remove outdated type comment (#5103) 2022-05-06 06:44:28 -04:00
zhangenming
b9484543db
refactor(reactivity): make some expression simpler (#5131) 2022-05-06 06:42:22 -04:00