Commit Graph

228 Commits

Author SHA1 Message Date
linzhe f2d8019188
fix(custom-element): handle nested customElement mount w/ shadowRoot false (#11861)
close #11851
close #11871
2024-09-13 20:18:10 +08:00
Evan You b1db66a1a9
chore(deps): upgrade to TypeScript 5.6 2024-09-10 16:46:19 +08:00
edison 6b7901d28e
fix(Transition): handle KeepAlive child unmount in Transition out-in mode (#11833)
close #11775
2024-09-06 11:03:58 +08:00
Evan You 7e3b3bb2a1
fix: Revert "fix(Transition): handle KeepAlive child unmount in Transition out-in mode (#11778)"
This reverts commit 3116553529.

close #11829
reopen #11775
2024-09-06 08:50:39 +08:00
edison 3c0d531fa7
fix(suspense): avoid updating anchor if activeBranch has not been rendered to the actual container (#11818)
close #11806
2024-09-05 20:56:34 +08:00
edison 3116553529
fix(Transition): handle KeepAlive child unmount in Transition out-in mode (#11778)
close #11775
2024-09-05 16:47:50 +08:00
edison 51912f8a02
fix(Transition): avoid applying transition hooks on comment vnode (#11788)
close #11782
2024-09-04 20:54:04 +08:00
Evan You 40193696b3
chore(build): use /*@__PURE__*/ annotation consistently 2024-09-04 20:24:33 +08:00
Evan You 4eee630b31
fix(build): improve built-in components treeshakability 2024-09-04 20:22:33 +08:00
Evan You ac9e7e8bfa
test: adjust coverage config, use v8 coverage 2024-08-29 10:41:29 +08:00
linzhe 29c321bfd3
fix(keep-alive): reset keep alive flag when the component is removed from include (#11718)
close #11717
2024-08-29 10:41:19 +08:00
btea 3653bc0f45
fix(keep-alive): ensure include/exclude regexp work with global flag (#11595) 2024-08-13 22:07:35 +08:00
edison 73fa91fabd
refactor: remove unnecessary check as filter is always non-null (#11599) 2024-08-13 22:05:14 +08:00
Kevin Deng 三咲智子 928af5fe2f
refactor(types): enable `isolatedDeclarations` (#11178) 2024-08-08 23:05:21 +08:00
Evan You eaf5455d77
chore: Merge branch 'main' into minor 2024-08-07 18:25:58 +08:00
かっこかり 81351dc7fb
fix(keep-alive): fix render error in cached is undefined (#11496)
fix #11427
close #11431
2024-08-07 11:58:44 +08:00
edison a917c0539c
fix(keep-alive): avoid cache suspense comment root (#11479) 2024-08-07 11:24:17 +08:00
Evan You f35080daf5
chore: Merge branch 'main' into minor 2024-07-31 16:49:22 +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 59a3e88903
feat(teleport): support deferred Teleport (#11387)
close #2015
close #11386
2024-07-18 21:06:48 +08:00
Evan You f15ba2c2e2
chore: Merge branch 'main' into minor 2024-07-17 17:32:31 +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
Evan You 7d06ca3a83
chore: Merge branch 'main' into minor 2024-06-22 21:05:15 +08:00
Fernando Fernández 80ba50d74c
refactor(built-ins): remove unused code from Teleport and Suspense components (#11139) 2024-06-22 17:10:16 +08:00
Evan You 26356264d2
chore: Merge branch 'main' into minor 2024-06-14 12:32:28 +02: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
tomasvn 32262a9af5
chore: use PropertyKey type (#11056)
close #8559
2024-06-06 18:23:21 +08:00
edison 671cf297a5
fix(transition): ensure Transition enterHooks are updated after clone (#11066)
close #11061
2024-06-04 22:07:42 +08:00
AlexVagrant ef2e737577
fix(runtime-core): fix Transition for components with root-level v-if (#7678)
close #7649
2024-06-04 22:06:07 +08:00
Thorsten Lünborg c521f956e1
fix(runtime-core): ensure suspense creates dep component's render effect with correct optimized flag (#7689)
close #7688
2024-05-31 23:57:37 +08:00
Evan You 1d8727ec97
chore: Merge branch 'main' into minor 2024-05-30 11:21:12 +08:00
Yi Yang 15ee43f66a
fix(teleport): do not throw target warning when teleport is disabled (#9818) 2024-05-30 10:51:30 +08:00
Haoqun Jiang 530d9ec5f6
chore: correct the comments in KeepAlive.ts (#11005) 2024-05-24 16:43:13 +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
Evan You 801b8dea3b
chore: Merge branch 'main' into minor 2024-04-29 18:46:20 +08:00
skirtle d00632b1de
refactor: remove optional chaining (#10792) 2024-04-29 14:04:05 +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
edison 0e6e3c7eb0
feat(transition): support directly nesting Teleport inside Transition (#6548)
close #5836
2024-04-25 15:19:53 +08:00
Evan You 0c3a920012
chore: Merge branch 'main' into minor 2024-04-25 10:31:09 +08:00
edison 3724693a25
fix(runtime-core): properly get keepAlive child (#10772)
close #10771
2024-04-24 16:32:39 +08:00
Evan You 5f0c6e4a05
chore: Merge branch 'main' into minor 2024-04-19 22:09:34 +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
Haoqun Jiang ea494af993
chore: update to ESLint 9 (#10705) 2024-04-17 21:58:35 +08:00
Evan You bb5c31e614
chore: Merge branch 'main' into minor 2024-04-16 00:05:37 +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 7c97778aec
fix(suspense): ensure nested suspense patching if in fallback state (#10417)
close #10415
2024-02-28 19:05:22 +08:00
Evan You 55660b0cfc
refactor(scheduler): use bitwise flags for scheduler jobs + optimize queueJob (#10407)
related: https://github.com/vuejs/core-vapor/pull/138
2024-02-26 10:22:12 +08:00
Evan You 58d827cb71 chore: Merge branch 'main' into minor 2024-02-26 10:13:44 +08:00
Elodie Hill edbbb6da12
refactor(transition): remove unused getTransitionKey logic (#10283) 2024-02-25 21:14:46 +08:00