Evan You
d343a0dc01
fix(v-once): properly unmount v-once cached trees
...
close #5154
close #8809
2024-07-13 21:38:32 +08:00
Evan You
aef807746a
refactor(compiler): move patchFlag text generation to codegen phase
2024-07-13 19:40:04 +08:00
skirtle
7fb6eb882b
fix(v-model): component v-model modifiers trim and number when cases don't match ( #9609 )
...
close #4848
close #4850 (based on commits from #4850 )
Co-authored-by: zhaozhongyu <zhaozhongyu@xunlei.com>
Co-authored-by: Evan You <evan@vuejs.org>
2024-07-13 14:57:37 +08:00
Evan You
d76dd9c58d
fix(runtime-core): force diff slot fallback content and provided content
...
fix #7256
fix #9200
fix #9308
close #7266
close #9213
2024-07-12 18:26:11 +08:00
Evan You
685e3f381c
fix(runtime-core): more edge case fix for manually rendered compiled slot
...
close #11336
2024-07-12 17:29:42 +08:00
Evan You
314ce82e47
test: test case for 3d34f406a
/ #10870
2024-07-12 01:25:08 +08:00
Evan You
ee0248accf
fix(runtime-core): errors during component patch should be caught by error handlers
2024-07-12 01:24:17 +08:00
Evan You
3d34f406ac
fix(runtime-core): bail manually rendered compiler slot fragments in all cases
...
Previously this bail was only applied on updates but not on initial mount,
and leads to different patch code paths between mount and update in edge
cases.
close #10870
2024-07-12 00:34:23 +08:00
Evan You
de174e1aa7
fix(defineModel): force local update when setter results in same emitted value
...
fix #10279
fix #10301
2024-07-11 17:00:39 +08:00
Evan You
3169c91493
fix(hydration): skip prop mismatch check for directives that mutate DOM in created
...
close #11189
2024-06-22 18:05:45 +08:00
yangxiuxiu
7ad67ced26
fix(hydration): fix css vars hydration mismatch false positive on attr-fallthrough ( #11190 )
...
close #11188
2024-06-22 17:49:25 +08:00
XiaoDong
8c4d7f5dd9
chore: remove dead links ( #11173 ) [ci skip]
2024-06-22 16:55:37 +08:00
Tycho
220fe24748
fix(runtime-core): ensure unmount dynamic components in optimized mode ( #11171 )
...
close #11168
2024-06-22 16:54:56 +08:00
Tycho
b557d3fb8a
fix(runtime-core): avoid traversing static children for vnodes w/ PatchFlags.BAIL ( #11115 )
...
close #10547
2024-06-14 17:10:13 +08:00
edison
edf263847e
fix(runtime-core): fix stale v-memo after v-if toggle ( #6606 )
...
close #6593
2024-06-07 17:29:28 +08:00
edison
aa156ed5c4
fix(runtime-core): do not fire mount/activated hooks if unmounted before mounted ( #9370 )
...
close #8898
close #9264
close #9617
2024-06-07 13:48:50 +08:00
auvred
b310ec389d
fix(runtime-core): fix missed updates when passing text vnode to `<component :is>` ( #8304 )
...
close #8298
2024-06-05 23:08:46 +08:00
iwusong
be1e9bf03f
test: test for events when component updating ( #7896 )
...
test for #5517
2024-06-04 23:04:11 +08:00
Zeke Zhang
36bd9b0a1f
fix(hmr): avoid infinite recursion when reloading hmr components ( #6936 )
...
close #6930
2024-05-31 23:41:13 +08:00
skirtle
a3e8aafbcc
fix(watch): support traversing symbol properties in deep watcher ( #10969 )
...
close #402
2024-05-30 11:03:44 +08:00
远方os
94b9b37362
test: improve test coverage ( #9203 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Haoqun Jiang <haoqunjiang@gmail.com>
2024-05-28 17:36:29 +08:00
Evan You
37f9ef8174
chore: run prettier
2024-05-27 17:03:03 +08:00
edison
d1011c07a9
fix(ssr): fix hydration for node with empty text node ( #7216 )
2024-05-27 16:50:49 +08:00
edison
07764fe330
fix(KeepAlive): properly cache nested Suspense subtree ( #10912 )
...
* fix(KeepAlive): properly cache nested Suspense subtree
* test: add test case
* chore: add comments
* Update KeepAlive.ts
2024-05-24 16:37:38 +08:00
Tycho
9b40d0f25d
fix(shared): ensure invokeArrayFns handles undefined arguments ( #10869 )
...
Co-authored-by: Haoqun Jiang <haoqunjiang@gmail.com>
Close #10863
2024-05-20 19:28:22 +08:00
Evan You
f2c1412e46
fix(hydration): handle edge case of style mismatch without style attribute
...
ref #10786
2024-05-06 15:38:16 -07:00
skirtle
c0c9432b64
test(watch): watching a reactive array ( #10848 )
2024-05-04 04:26:49 +08:00
skirtle
e8fd6446d1
fix(runtime-core): attrs should be readonly in functional components ( #10767 )
2024-04-29 14:37:11 +08:00
edison
accf8396ae
fix(Transition): re-fix #10620 ( #10832 )
...
revert #10632
re-fix #10620
close #10827
2024-04-29 13:50:49 +08:00
Evan You
a7cf74277e
test: fix test case broken by b93f264
2024-04-22 21:05:00 +08:00
yangxiuxiu
e51ca61ca0
fix(runtime-core): fix edge case of KeepAlive inside Transition with slot children ( #10719 )
...
close #10708
2024-04-18 12:00:06 +08:00
Evan You
6930e60787
fix(runtime-core): fix regression for $attrs tracking in slots
...
close #10710
2024-04-16 21:53:47 +08:00
edison
fc99e4d3f0
fix(Transition): ensure the KeepAlive children unmount w/ out-in mode ( #10632 )
...
close #10620
2024-04-15 22:40:38 +08:00
edison
2ec06fd6c8
fix(hydration): properly handle optimized mode during hydrate node ( #10638 )
...
close #10607
2024-04-15 21:23:30 +08:00
丶远方
ab59bedae4
fix(runtime-core): fix errorHandler causes an infinite loop during execution ( #9575 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Haoqun Jiang <haoqunjiang@gmail.com>
2024-03-19 20:47:52 +08:00
edison
7c97778aec
fix(suspense): ensure nested suspense patching if in fallback state ( #10417 )
...
close #10415
2024-02-28 19:05:22 +08:00
Evan You
9a365fe00d
refactor: use more descriptive name for v-show original display key
2024-02-25 21:50:47 +08:00
Evan You
c6defc8df1
chore: remove unused ts-expect-error
2024-02-25 21:50:35 +08:00
Wick
ede2e3f030
test: remove unnecessary code in apiCreateApp tests ( #10388 )
2024-02-25 21:11:04 +08:00
edison
0f3da05ea2
fix(suspense): handle suspense switching with nested suspense ( #10184 )
...
close #10098
2024-02-25 20:22:12 +08:00
Evan You
995d2fdcca
fix(hydration): fix css vars hydration mismatch false positive on non-root nodes
...
close #10317
test case from #10325
2024-02-13 18:00:23 +08:00
Evan You
77a804b1d0
fix(dx): warn against reserved keys as prop name
...
close #10281
2024-02-09 08:47:06 +08:00
yangxiuxiu
75e02b5099
fix(runtime-core): support for nested calls to runWithContext ( #10261 )
...
close #10260
2024-02-07 13:33:44 +08:00
yangxiuxiu
f0b5f7ed8d
fix(hydration): fix SFC style v-bind hydration mismatch warnings ( #10250 )
...
close #10215
2024-02-06 17:38:41 +08:00
inottn
6fa33e67ec
fix(runtime-core): should not warn out-of-render slot fn usage when mounting another app in setup ( #10125 )
...
close #10124
2024-01-18 11:45:11 +08:00
Evan You
d16a2138a3
fix(hydration): fix incorect mismatch warning for option with non-string value and inner text
...
close 10140
2024-01-18 11:20:32 +08:00
edison
d35b87725a
fix(runtime-core): filter single root for nested DEV_ROOT_FRAGMENT ( #8593 )
...
close #5203
close #8581
close #10087
2024-01-12 22:07:06 +08:00
zhoulixiang
08b60f5d0d
fix(hydration): improve mismatch when client valut is null or undefined ( #10086 )
2024-01-12 17:50:26 +08:00
Evan You
3907c87ce2
fix(hydration): should not warn on falsy bindings of non-property keys
2024-01-11 21:07:41 +08:00
Evan You
8fda856a82
refactor: split out useModel implementation and tests
2024-01-11 18:04:47 +08:00