Commit Graph

838 Commits

Author SHA1 Message Date
Evan You 674151c9b9
chore: Merge branch 'minor' into vapor 2025-01-29 15:37:54 +08:00
edison 7b222990ae
test(runtime-vapor): port tests from rendererComponent.spec.ts (#12677) 2025-01-29 12:12:52 +08:00
daiwei edc79e7052 Merge branch 'main' into minor 2025-01-24 09:23:17 +08:00
Johnson Chu 9d651e2774
refactor(reactivity): ports alien-signals 1.0.0 (#12570) 2025-01-15 11:19:27 +08:00
Evan You 22dcbf3e20
fix(reactivity): ensure multiple effectScope on() and off() calls maintains correct active scope
close #12631
close #12632

This is a combination of changes from both 8dec243 and #12641
2025-01-08 18:07:44 +08:00
Evan You 2bbb6d2fc5
fix(scheduler): recover nextTick from error in post flush cb 2024-12-09 18:35:28 +08:00
Evan You 300bb0859a
wip: fix all runtime-core type errors 2024-12-06 01:19:20 +08:00
Johnson Chu 313dc61bef
perf(reactivity): refactor reactivity core by porting alien-signals (#12349) 2024-12-02 21:05:12 +08:00
三咲智子 Kevin Deng f6ce3f9d43
Merge tag 'v3.5.13' 2024-11-16 02:48:30 +08:00
edison 983eb50a17
fix(templateRef): set ref on cached async component which wrapped in KeepAlive (#12290)
close #4999
close #5004
2024-11-15 22:32:22 +08:00
edison da7ad5e3d2
fix(ssr): avoid updating subtree of async component if it is resolved (#12363)
close #12362
2024-11-15 22:11:21 +08:00
linzhe a20a4cb36a
fix(hydration): the component vnode's el should be updated when a mismatch occurs. (#12255)
close #12253
2024-11-15 18:18:58 +08:00
edison 8bff142f99
fix(teleport): handle deferred teleport update before mounted (#12168)
close #12161
2024-11-14 20:55:18 +08:00
edison 37300fc261
fix(v-once): setting hasOnce to current block only when in v-once (#12374)
close #12371
2024-11-14 14:53:55 +08:00
edison bee2f5ee62
fix(reactivity): release nested effects/scopes on effect scope stop (#12373)
close #12370
2024-11-14 14:24:22 +08:00
Evan You b1260e0dd6
Merge remote-tracking branch 'upstream/main' 2024-11-11 17:05:52 +08:00
btea a038505c65
chore: improve `renderComponentRoot` warn message (#10914) 2024-10-14 10:14:32 +08:00
YangLGggggggggg 9da1ac1565
fix(runtime-core): fix required prop check false positive for kebab-case edge cases (#12034)
close #12011
2024-10-11 11:02:58 +08:00
edison 10a46f43c0
chore(runtime-core): warn if use a non-ref to hold the element reference in DEV (#12051)
close #12029
2024-10-11 10:53:45 +08:00
yangxiuxiu b4d35349d8
fix(useId): ensure useId consistency when using serverPrefetch (#12128)
close #12102
2024-10-11 10:49:14 +08:00
山吹色御守 c0418a3b8f
fix(defineModel): handle kebab-case model correctly (#12063)
close #12060
2024-10-11 10:35:57 +08:00
edison f1a4f67aed
fix(transition/ssr): make transition appear work with Suspense in SSR (#12047)
close #12046
2024-10-11 10:34:28 +08:00
Tycho d9d4d4e158
fix(runtime-core): allow symbol values for slot prop key (#12069)
close #12068
2024-10-11 10:28:54 +08:00
三咲智子 Kevin Deng c7fd6ae2dc
Merge tag 'v3.5.11' 2024-10-05 11:40:13 +08:00
skirtle 577edca8e7
fix(scheduler): job ordering when the post queue is flushing (#12090) 2024-10-03 23:21:31 +08:00
Evan You aa9ef2386a
fix(reactivity): only clear notified flags for computed in first batch iteration
close #12045
2024-09-27 11:25:58 +08:00
edison cb34b28a4a
fix(runtime-core): avoid rendering plain object as VNode (#12038)
close #12035
close vitejs/vite-plugin-vue#353
2024-09-26 17:08:48 +08:00
三咲智子 Kevin Deng b8713589de
Merge remote-tracking branch 'upstream/main' 2024-09-22 02:42:52 +08:00
skirtle d18d6aa1b2
fix(scheduler): ensure recursive jobs can't be queued twice (#11955) 2024-09-20 16:43:35 +08:00
三咲智子 Kevin Deng 594cb1412d
Merge remote-tracking branch 'upstream/main' 2024-09-17 10:33:35 +08:00
edison 3db0a0f979
chore(deps): update vitest to ^2.1.1 (#11943) 2024-09-16 15:00:41 +08:00
Matt Garrett 2d6adf78a0
fix(watch): unwatch should be callable during SSR (#11925)
close #11924
2024-09-16 10:49:16 +08:00
2nofa11 817dca8712
chore:fix-issue-id (#11927) [ci skip] 2024-09-14 12:00:10 +08:00
Evan You a5f3c2eb4d
fix(hydration): fix mismatch of leading newline in <textarea> and <pre>
close #11873
close #11874
2024-09-13 21:24:59 +08:00
edison 10a2c6053b
fix(hmr): reload async child wrapped in Suspense + KeepAlive (#11907)
close #11868
2024-09-13 20:19:47 +08:00
edison 7fe6c795a1
fix(runtime-core): properly update async component nested in KeepAlive (#11917)
close #11916
2024-09-13 17:17:56 +08:00
Tycho ced59ab8f2
fix(runtime-core): handle shallow reactive arrays in renderList correctly (#11870)
close #11869
2024-09-10 15:48:14 +08:00
Evan You babfb4cbcb
fix(useId): make generated IDs selector compatible
close #11828
2024-09-06 08:46:47 +08:00
Evan You 9b7797d0d1
fix(useTemplateRef): properly fix readonly warning in dev and ensure prod behavior consistency
close #11808
close #11816
close #11810
2024-09-05 17:47:03 +08:00
Evan You bc63df0199
fix(useTemplateRef): fix readonly warning when useTemplateRef has same variable name as template ref
close #11795
close #11802
close #11804
2024-09-04 20:53:12 +08:00
edison ca12e776bc
fix(hydration): escape css var name to avoid mismatch (#11739)
close #11735
2024-09-03 08:25:00 +08:00
edison c756da24b2
fix(hydration): handle text nodes with 0 during hydration (#11772)
close #11771
2024-09-02 17:09:38 +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
yangxiuxiu fbc0c42bcf
fix(reactivity): ensure watcher with once: true are properly removed from effect scope (#11665) 2024-08-20 16:35:08 +08:00
Rizumu Ayaka 205e5b5e27
feat(reactivity): base `watch`, `getCurrentWatcher`, and `onWatcherCleanup` (#9927) 2024-08-20 08:21:44 +08:00
edison ac2a410e46
fix(runtime-core): ensure suspense content inherit scopeId (#10652)
close #5148
2024-08-19 16:19:24 +08:00
skirtle 4b608a9449
refactor(scheduler): remove invalidateJob (#11650)
Co-authored-by: Evan You <evan@vuejs.org>
2024-08-19 10:49:59 +08:00
skirtle b332f80f0e
fix(runtime-core): pre jobs without an id should run first (#7746) 2024-08-19 10:13:50 +08:00
Jakob 8bcaad4a32
fix(watch): handle errors in computed used as watch source (#11626)
close #11624
2024-08-16 16:14:08 +08:00
linzhe 3bda3e83fd
fix(reactivity): sync watch should be executed correctly (#11589)
close #11577
2024-08-13 22:54:08 +08:00