Commit Graph

689 Commits

Author SHA1 Message Date
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
edison bcda96b525
fix(suspense): avoid double-patching nested suspense when parent suspense is not resolved (#10055)
close #8678
2024-01-11 17:27:53 +08:00
Evan You dcc68ef7d4 fix(hydration): do not warn against bindings w/ object values 2024-01-11 16:18:00 +08:00
Evan You 70ad4caad7 fix(suspense): fix more suspense patch before resolve edge cases
close #10017
2024-01-11 00:37:06 +08:00
Evan You 972facee0d fix(hydration): improve attr hydration mismatch check for boolean attrs
close #10057
close #10060
2024-01-10 14:14:47 +08:00
Evan You 2fd3905738 revert: "dx(computed): warn incorrect use of getCurrentInstance inside computed"
This reverts commit 324e817ef8.
2024-01-09 16:37:50 +08:00
Doctorwu 3bf34b767e
fix(runtime-core): handle fragment with null children (#10010)
close #10007
2024-01-08 18:48:47 +08:00
Evan You 3c3561e720 fix: fix post watcher fire timing on nested app mounts
close #10005
2024-01-08 18:44:28 +08:00
Evan You d9162dfc2e fix(scheduler): sort nested postFlushCbs
close #10003
2024-01-08 18:20:29 +08:00
Evan You 324e817ef8 dx(computed): warn incorrect use of getCurrentInstance inside computed
ref #9974
close #10001
2024-01-08 18:12:40 +08:00
zhoulixiang 2701355e8e
fix(hydration): avoid hydration mismatch warning for styles with different order (#10011)
close #10000
close #10006
2024-01-08 16:36:27 +08:00
Yang Mingshan d2d89551bb
fix(watch): cleanup watcher effect from scope when manually stopped (#9978) 2024-01-04 10:36:13 +08:00
skirtle 10ccb9bfa0
fix(defineModel): support kebab-case/camelCase mismatches (#9950) 2024-01-03 18:18:35 +08:00
Evan You a9f781a92c fix(watch): revert watch behavior when watching shallow reactive objects
close #9965
2024-01-03 17:25:24 +08:00
yangxiuxiu 06488047c1
fix(runtime-core): correctly assign suspenseId to avoid conflicts with the default id (#9966)
close #9944
2024-01-03 17:22:06 +08:00
Evan You 24d77c25ce perf(watch): avoid double traverse for reactive source 2023-12-31 17:29:58 +08:00
yangxiuxiu 4f703d120d
fix(runtime-core): support deep: false when watch reactive (#9928)
close #9916

---------

Co-authored-by: RicardoErii <‘1974364190@qq.com’>
Co-authored-by: Evan You <yyx990803@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-12-30 18:52:17 +08:00
Evan You 97ce041910 fix(defineModel): support local mutation when only prop but no listener is passed 2023-12-30 08:57:55 +08:00
Evan You a772031ea8 feat(defineModel): support modifiers and transformers 2023-12-26 22:13:04 +08:00