Commit Graph

863 Commits

Author SHA1 Message Date
edison f78a9d068d
Merge branch 'minor' into vapor 2025-04-01 21:01:53 +08:00
Johnson Chu 826550cd62
fix(reactivity): queuing effects in an array (#13078) 2025-03-30 23:36:02 -07:00
daiwei d523d24ac0 Merge remote-tracking branch 'origin/main' into minor 2025-03-29 13:51:19 +08:00
Eduardo San Martin Morote 7278d35213
docs(tsdoc): remove extra () in link tag (#13086) 2025-03-24 08:20:35 +08:00
Cédric Exbrayat 6f85cbaaa4
test(reactivity): enable tests marked as todo (#13003)
PR #12349 marked these tests as todo. They are actually working now.
2025-03-07 16:36:32 +08:00
Johnson Chu b7977d4d75 refactor(reactivity): sync alien-signals 1.0.4 changes (#12791) 2025-02-27 11:07:35 +08:00
Johnson Chu 1ac0499b7d
refactor(reactivity): sync alien-signals 1.0.4 changes (#12791) 2025-02-25 15:23:25 +08:00
Sunny 604d08760e
test(reactivity): add tests for reactive and non-reactive objects (#12576) 2025-02-20 17:00:31 +08:00
daiwei 84663ccc2c Merge branch 'main' into minor 2025-02-20 13:50:31 +08:00
FatRadish 295b5ec19b
fix(reactivity): ensure markRaw objects are not reactive (#12824)
close #12807
2025-02-19 14:25:30 +08:00
Evan You 6979952613
refactor(reactivity): improve shallowRef treeshaking 2025-01-29 21:35:13 +08:00
Evan You 1e9062c075
refactor(reactivity): avoid setting up debug flags on falsy onTrigger value 2025-01-29 15:45:54 +08:00
Evan You 674151c9b9
chore: Merge branch 'minor' into vapor 2025-01-29 15:37:54 +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
edison 679cbdf480
fix(reactivity): ensure multiple effectScope `on()` and `off()` calls maintains correct active scope (#12641) 2025-01-08 18:03:40 +08:00
Evan You ac43b11897
fix(reactivity): toRefs should be allowed on plain objects 2024-12-09 21:47:55 +08:00
Evan You f2b69d79ca
chore: remove non-function-related changes from vapor branch 2024-12-09 09:03:43 +08:00
Evan You ccd3f3f5c6
refactor(reactivity): only setup onTrigger debug flags on assign 2024-12-03 23:26:30 +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
Evan You 6eb29d345a
release: v3.5.13 2024-11-15 22:45:28 +08:00
zhangenming d637bd6c01
perf(reactivity): do not track inner key `__v_skip`` (#11690) 2024-11-15 11:00:24 +08:00
edison 70b44ca835
chore(reactivity): remove unecessary array copy (#12400) 2024-11-15 10:37:24 +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 21932840ea
fix(reactiivty): avoid unnecessary watcher effect removal from inactive scope
close #5783
close #5806
2024-11-14 14:12:41 +08:00
Evan You e9f3e6b546
workflow: bench against bundled dist file to avoid import access overhead
ref https://github.com/vitest-dev/vitest/issues/6903
2024-11-14 08:38:48 +08:00
Evan You b1260e0dd6
Merge remote-tracking branch 'upstream/main' 2024-11-11 17:05:52 +08:00
Evan You 770ea67a9c
release: v3.5.12 2024-10-11 21:12:32 +08:00
skirtle c82b66214b
refactor(reactivity): reduce size of collectionHandlers (#12152) 2024-10-11 21:10:09 +08:00
Evan You d82fa611e8
chore: format 2024-10-11 11:25:48 +08:00
KevinXi d96883cf7d
test(reactivity): test for verifying no unnecessary calls of reactive array identity methods (#11328)
related: #9511
2024-10-11 11:24:03 +08:00
skirtle ec917cfdb9
perf(reactivity): avoid unnecessary recursion in removeSub (#12135) 2024-10-11 10:48:54 +08:00
Tycho 7ad289e1e7
fix(reactivity): trigger reactivity for Map key `undefined` (#12055)
close #12054
2024-10-11 10:39:08 +08:00
三咲智子 Kevin Deng 3d487184ea
chore: rename repo name 2024-10-05 15:59:15 +08:00
三咲智子 Kevin Deng c7fd6ae2dc
Merge tag 'v3.5.11' 2024-10-05 11:40:13 +08:00
Evan You 6e4de8d75e
release: v3.5.11 2024-10-03 23:49:47 +08:00
山吹色御守 c97bb84d0b
fix(types): infer the first generic type of `Ref` correctly (#12094) 2024-10-03 23:22:57 +08:00
Tycho d3f5e6e531
fix(reactivity): prevent overwriting `next` property during batch processing (#12075)
close #12072
2024-10-03 23:16:52 +08:00
Evan You 29de6f8b0b
chore: remove no longer used property on Dep 2024-09-28 19:25:16 +08:00
Evan You 4b09ab2074
release: v3.5.10 2024-09-27 23:16:33 +08:00
Evan You 93c95dd4cd
fix(reactivity): fix nested batch edge case 2024-09-27 23:10:20 +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
Evan You 60c2029f77
test: add test case for #11928 2024-09-27 11:06:34 +08:00
Tycho e2c19c20cf
fix(types/ref): handle nested refs in UnwrapRef (#12049)
close #12044
2024-09-27 10:23:01 +08:00
Evan You 01f15beeb0
release: v3.5.9 2024-09-26 19:28:03 +08:00
Evan You 10ff159240
fix(reactivity): fix recursive sync watcher on computed edge case
close #12033
close #12037
2024-09-26 18:38:13 +08:00
Evan You 6001e5c81a
fix(reactivity): fix property dep removal regression
close #12020
close #12021
2024-09-26 16:58:38 +08:00
yangxiuxiu c0e9434414
refactor(reactivity): avoid optional chaining in getDepFromReactive (#12007) 2024-09-24 18:02:01 +08:00