Commit Graph

743 Commits

Author SHA1 Message Date
Konv Suu 67d6596d40
fix(reactivity): fix markRaw error on already marked object (#11864)
close #11862
2024-09-10 15:40:43 +08:00
Evan You 632e163a41
release: v3.5.3 2024-09-06 11:27:41 +08:00
Evan You 35c760f82f
fix: Revert "fix(reactivity): self-referencing computed should refresh"
This reverts commit e84c4a608e.
2024-09-06 08:47:12 +08:00
Evan You 72263fa12e
release: v3.5.2 2024-09-05 21:11:36 +08:00
Evan You e84c4a608e
fix(reactivity): self-referencing computed should refresh
ref: https://github.com/vuejs/core/pull/11797#issuecomment-2330738633
2024-09-05 19:04:17 +08:00
Jürg Lehni 716275d1b1
fix(reactivity): prevent endless recursion in computed getters (#11797) 2024-09-05 18:54:30 +08:00
Evan You 46c3ab1d71
fix(reactivity): make toRaw work on proxies created by proxyRef 2024-09-05 17:47:03 +08:00
yangxiuxiu 98864a7ef5
fix(reactivity): pass oldValue to computed getter (#11813)
close #11812
2024-09-05 16:10:37 +08:00
Evan You 1b6bc2374d
release: v3.5.1 2024-09-04 21:07:29 +08:00
Evan You 40193696b3
chore(build): use /*@__PURE__*/ annotation consistently 2024-09-04 20:24:33 +08:00
Tycho 475977a6f7
fix(reactivity): handle non-array arguments in reactive `concat` method (#11794)
close #11792
2024-09-04 20:21:10 +08:00
Evan You 6402b98408
release: v3.5.0 2024-09-03 21:13:50 +08:00
Tycho 9817c80187
fix(reactivity): correctly handle method calls on user-extended arrays (#11760)
close #11759
2024-09-03 17:32:13 +08:00
Maisha Tremblay 3de5556521
test(reactive): use vitest fn instead of counting manually (#11746) 2024-09-02 17:08:19 +08:00
Cédric Exbrayat d427bcd71c
chore: document parameters of onWatcherCleanup (#11768) 2024-09-02 17:06:30 +08:00
Evan You d298c431cc
release: v3.5.0-rc.1 2024-08-29 15:25:43 +08:00
lidlanca 1d988b5b99
test(reactivity): test case for #6358 (#6376) 2024-08-29 14:20:04 +08:00
Evan You 313e4bf552
fix(reactivity): avoid infinite recursion when mutating ref wrapped in reactive
close #11696
2024-08-29 14:10:29 +08:00
HEGGRIA 64e1ca2657
chore(reactivity): effectScope.ts variable declarations optimized and remove useless code in effect.ts (#11721)
* chore(reactivity): effectScope.ts variable declarations optimized and remove useless code in effect.ts

* fix(reactivity): batchDepth count error fixed

* fix(reactivity): batchDepth count error fixed

* chore(reactivity): modify the batchDepth increase type
2024-08-28 18:16:59 +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
Evan You f2ea25dc54
refactor(watch): reuse watch types 2024-08-20 16:16:25 +08:00
Evan You 8c3fdd1a7d
release: v3.5.0-beta.3 2024-08-20 08:24:06 +08:00
Rizumu Ayaka 205e5b5e27
feat(reactivity): base `watch`, `getCurrentWatcher`, and `onWatcherCleanup` (#9927) 2024-08-20 08:21:44 +08:00
edison 9de1d101f9
fix(reactivity): extended methods respect reactive (#11629)
close #11628
2024-08-16 16:23:09 +08:00
Evan You 7d700c215d
release: v3.5.0-beta.2 2024-08-15 15:29:43 +08:00
Tycho 5cf5a1620d
fix(types/computed): ensure type safety for `WritableComputedRef` (#11608) 2024-08-14 15:11:10 +08:00
linzhe 3bda3e83fd
fix(reactivity): sync watch should be executed correctly (#11589)
close #11577
2024-08-13 22:54:08 +08:00
edison 4085def1ba
fix(reactivity): ensure extended method arguments are not lost (#11574)
close #11570
2024-08-10 15:54:38 +08:00
Evan You 23e098807b
release: v3.5.0-beta.1 2024-08-08 23:31:46 +08:00
Kevin Deng 三咲智子 928af5fe2f
refactor(types): enable `isolatedDeclarations` (#11178) 2024-08-08 23:05:21 +08:00
Alex e044b6e737
feat(reactivity): store value cache on CustomRefs impls (#11539)
Co-authored-by: Evan You <evan@vuejs.org>
2024-08-07 22:24:28 +08:00
Evan You eaf5455d77
chore: Merge branch 'main' into minor 2024-08-07 18:25:58 +08:00
Evan You b1abac06cd
fix: Revert "fix(types/ref): allow getter and setter types to be unrelated (#11442)"
This reverts commit e0b2975ef6.

This change requires TypeScript 5.1 so it is moved to a minor release.
2024-08-07 18:12:07 +08:00
Evan You 3a56315f94
fix: Revert "fix(types/ref): correct type inference for nested refs (#11536)"
This reverts commit 536f62332c.
2024-08-07 18:11:39 +08:00
Tycho 536f62332c
fix(types/ref): correct type inference for nested refs (#11536)
close #11532
close #11537
2024-08-07 11:20:04 +08:00
sq800 139548e0e0
chore: fix typo (#11535) [ci skip] 2024-08-07 10:57:39 +08:00
vue-bot 1cbbb04008 release: v3.4.36 2024-08-06 14:00:05 +00:00
远方os a01675ef8f
feat(types): allow computed getter and setter types to be unrelated (#11472)
close #7271
2024-08-05 10:51:56 +08:00
Tycho ba2092981c
refactor(types/ref): update `MaybeRef` to include all ref-like types (#11379)
Co-authored-by: Evan You <evan@vuejs.org>
2024-08-05 10:40:17 +08:00
远方os 267093c314
feat(reactivity/watch): add pause/resume for ReactiveEffect, EffectScope, and WatchHandle (#9651) 2024-08-02 14:41:27 +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
Tycho 87923f6af1
chore(types): reuse built-in Iterator type (#11435) 2024-07-29 21:26:48 +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 4ffd9db703
release: v3.5.0-alpha.4 2024-07-24 23:41:40 +08:00
Evan You 9111252042
release: v3.4.34 2024-07-24 23:30:30 +08:00
Evan You ee11f43623
release: v3.5.0-alpha.3 2024-07-19 18:14:31 +08:00
Evan You 422ef34e48
release: v3.4.33 2024-07-19 17:24:34 +08:00