Commit Graph

2260 Commits

Author SHA1 Message Date
Evan You 1fbfa6962b
feat: support specifying allowed keys via generic argument in useTemplateRef() 2024-08-01 11:13:56 +08:00
Evan You f6babf3236
release: v3.5.0-alpha.5 2024-07-31 16:57:19 +08:00
Evan You f35080daf5
chore: Merge branch 'main' into minor 2024-07-31 16:49:22 +08:00
Evan You 0b8ba6320e
release: v3.4.35 2024-07-31 16:42:04 +08:00
Evan You 7b18cdb0b5
fix(teleport/ssr): fix Teleport hydration regression due to targetStart anchor addition 2024-07-31 16:10:23 +08:00
edison 12667da487
fix(Teleport): ensure targetAnchor and targetStart not null during hydration (#11456)
close #11400
2024-07-31 15:46:39 +08:00
Evan You d14a11c1cd
feat: lazy hydration strategies for async components (#11458) 2024-07-31 12:14:51 +08:00
skirtle 5680142e68
perf(runtime-core): improve efficiency of normalizePropsOptions (#11409)
close #9739
2024-07-29 21:47:23 +08:00
Tycho e0b2975ef6
fix(types/ref): allow getter and setter types to be unrelated (#11442) 2024-07-29 10:52:38 +08:00
Tycho e28c58138c
refactor(reactivity): simplify the wrapping logic for returned values in array instrumentations (#11434) 2024-07-29 09:22:18 +08:00
Evan You 94fb2b8106
feat(hydration): support suppressing hydration mismatch via data-allow-mismatch 2024-07-25 11:22:27 +08:00
Evan You 4ffd9db703
release: v3.5.0-alpha.4 2024-07-24 23:41:40 +08:00
Evan You fa6c5d8d32
chore: Merge branch 'main' into minor 2024-07-24 23:37:31 +08:00
Evan You 9111252042
release: v3.4.34 2024-07-24 23:30:30 +08:00
Evan You b5cad0e91c
refactor: use hasChanged for useModel comparisons 2024-07-24 23:26:13 +08:00
Tycho a18f1ecf05
fix(defineModel): correct update with multiple changes in same tick (#11430)
close #11429
2024-07-24 23:25:22 +08:00
Evan You cd28172578
fix(useId): properly mark async boundary for already resolved async component 2024-07-24 23:08:56 +08:00
Evan You 2a55f2267d
test: add test case for useId 2024-07-24 22:50:31 +08:00
Evan You 1b8e197a5b
fix(suspense/hydration): fix hydration timing of async component inside suspense
close #6638
2024-07-24 22:15:25 +08:00
Evan You e255c31c88
refactor: remove unnecessary else 2024-07-24 21:58:04 +08:00
Evan You ee11f43623
release: v3.5.0-alpha.3 2024-07-19 18:14:31 +08:00
Evan You 66579ea544
chore: Merge branch 'main' into minor 2024-07-19 18:07:42 +08:00
Evan You 73ef1561f6
feat(runtime-core): useId() (#11404) 2024-07-19 18:06:02 +08:00
Evan You 422ef34e48
release: v3.4.33 2024-07-19 17:24:34 +08:00
edison 1b81d14bfd
refactor(runtime-core): remove attrsProxy and slotsProxy from instance (#11390) 2024-07-19 17:02:14 +08:00
Evan You 3f8cbb2379
chore: move useTemplateRef tests 2024-07-19 15:50:20 +08:00
Evan You 68bb48c04e
refactor: move useTemplateRef file 2024-07-19 10:50:06 +08:00
Evan You 4c03ab2224
test(teleport): test for accessing template ref inside teleport in mounted 2024-07-18 21:15:27 +08:00
Evan You 59a3e88903
feat(teleport): support deferred Teleport (#11387)
close #2015
close #11386
2024-07-18 21:06:48 +08:00
Evan You 3ba70e49b5
feat: useTemplateRef() 2024-07-17 18:20:23 +08:00
Evan You f15ba2c2e2
chore: Merge branch 'main' into minor 2024-07-17 17:32:31 +08:00
Evan You fd5c001ec7
release: v3.4.32 2024-07-17 17:07:05 +08:00
yangxiuxiu f1bb0aef08
fix(runtime-core): do not emit when defineModel ref is set with same value (#11162)
close #11125
2024-07-17 16:46:10 +08:00
linzhe 3e9e32ee0a
fix(runtime-dom): properly handle innerHTML unmount into new children (#11159)
close #9135
2024-07-17 16:37:14 +08:00
Evan You 3dc5a1ad98
test: test case for #11286 2024-07-17 14:29:54 +08:00
Evan You c10e40a217
fix(hydration): fix tracking of reactive style objects in production
close #11372
2024-07-17 12:14:25 +08:00
Evan You f476b7f030
feat(runtime-core): add app.config.throwUnhandledErrorInProduction
close #7876
2024-07-17 10:05:09 +08:00
Evan You 3ee7b4c7b1
fix(runtime-core): avoid recursive warning
close #8074
2024-07-16 18:05:44 +08:00
Evan You 8655ced480
fix(teleport): skip teleported nodes when locating patch anchor
close #9071
close #9134
close #9313

Tests reused from #9313
2024-07-16 17:17:25 +08:00
Linghao Su 2d854414fa
test(runtime-core): test effectscope instance null (#8397) 2024-07-16 11:40:53 +08:00
Evan You f44c3b37d4
fix(hydration): handle consectuvie text nodes during hydration
close #7285
close #7301
2024-07-16 11:09:00 +08:00
skirtle b0aa234e5e
fix(runtime-core): use separate prop caches for components and mixins (#11350)
Co-authored-by: Red Huang <gcaaa31928@gmail.com>

close #7998
2024-07-15 21:56:37 +08:00
_Kerman c8b9794575
fix(hmr): hmr reload should work with async component (#11248) 2024-07-15 21:54:53 +08:00
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 2815531fd5
refactor: memoIndex -> cacheIndex 2024-07-13 21:05:06 +08:00
Evan You aef807746a
refactor(compiler): move patchFlag text generation to codegen phase 2024-07-13 19:40:04 +08:00
Evan You f05b3ae0f8
chore: improve comments 2024-07-13 15:40:09 +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