Evan You
b010cb9939
release: v3.4.2
2023-12-30 19:41:35 +08:00
Evan You
f787337b47
release: v3.4.1
2023-12-30 09:02:48 +08:00
Evan You
d702b66482
release: v3.4.0
2023-12-29 10:50:32 +08:00
Evan You
ef90a99208
release: v3.4.0-rc.3
2023-12-27 10:15:44 +08:00
三咲智子 Kevin Deng
bfe6b459d3
style: update format & lint config ( #9162 )
...
Co-authored-by: 丶远方 <yangpanteng@gmail.com>
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
Co-authored-by: Guo Xingjun <99574369+Plumbiu@users.noreply.github.com>
2023-12-26 19:39:47 +08:00
Evan You
947aacf5ea
release: v3.4.0-rc.2
2023-12-26 15:52:53 +08:00
Evan You
cda74beceb
chore: Merge branch 'main' into minor
2023-12-26 15:45:49 +08:00
yangxiuxiu
0695c69e0d
fix(types): fix distribution of union types when unwrapping setup bindings ( #9909 )
...
close #9903
2023-12-26 11:57:50 +08:00
Evan You
9cbb27745d
release: v3.4.0-rc.1
2023-12-25 16:42:12 +08:00
Evan You
048dffd7ee
release: v3.4.0-beta.4
2023-12-19 18:23:57 +08:00
Evan You
95f6fffea2
chore: Merge branch 'main' into minor
2023-12-19 18:16:16 +08:00
Evan You
7c49a9c4d8
release: v3.3.13
2023-12-19 18:12:48 +08:00
Eduardo San Martin Morote
24b1c1dd57
fix(types): extract properties from extended collections ( #9854 )
...
close #9852
2023-12-19 17:05:29 +08:00
Evan You
317b783a53
release: v3.4.0-beta.3
2023-12-16 14:41:29 +08:00
Evan You
9f64d2b681
chore: Merge branch 'main' into minor
2023-12-16 14:37:21 +08:00
Evan You
4e7967f016
release: v3.3.12
2023-12-16 14:23:40 +08:00
丶远方
9a571582b5
fix(types): fix `shallowRef` type error ( #9839 )
2023-12-16 13:45:01 +08:00
Evan You
c51ab4c765
release: v3.4.0-beta.2
2023-12-14 10:28:34 +08:00
Evan You
e00b160435
release: v3.4.0-beta.1
2023-12-13 18:52:16 +08:00
Evan You
982a145d38
chore: Merge branch 'main' into minor
2023-12-11 22:03:28 +08:00
Evan You
ef432bda77
refactor(reactivity): improve nested readonly ref set check
...
ref #9094
2023-12-11 18:40:55 +08:00
三咲智子 Kevin Deng
b1fe48d851
ci: add continuous reactivity benchmark ( #9638 )
2023-12-08 21:26:48 +08:00
Evan You
19b590fa3a
release: v3.3.11
2023-12-08 14:13:52 +08:00
丶远方
cdac12161e
fix(types): ref() return type should not be any when initial value is any ( #9768 )
2023-12-07 16:28:16 +08:00
Evan You
6ecbd5ce2a
fix(reactivity): fix mutation on user proxy of reactive Array
...
close #9742
close #9751
close #9750
2023-12-07 13:26:30 +08:00
Evan You
c0d396b785
release: v3.4.0-alpha.4
2023-12-04 23:24:43 +08:00
Evan You
e12b10ac3e
chore: Merge branch 'main' into minor
2023-12-04 23:17:41 +08:00
Evan You
d5a88ef9d7
release: v3.3.10
2023-12-04 21:42:18 +08:00
三咲智子 Kevin Deng
ad27473701
fix(types): fix reactive collection types ( #8960 )
...
close #8904
2023-12-01 02:33:09 +08:00
ZHAO Jin-Xiang
fff7b864f4
feat: use enum to replace const enum ( #9261 )
...
close #1228
2023-11-29 12:24:50 +08:00
Evan You
7d89887f71
release: v3.4.0-alpha.3
2023-11-28 08:26:01 +08:00
Evan You
ebaeb2e0aa
release: v3.4.0-alpha.2
2023-11-27 17:26:22 +08:00
Evan You
069f838691
release: v3.3.9
2023-11-25 16:11:31 +08:00
Evan You
1ea775633d
chore: Merge branch 'main' into minor
2023-11-21 09:48:26 +08:00
Evan You
8fddb19c3a
workflow: use workspace deps
2023-11-21 09:22:12 +08:00
renovate[bot]
16a6438236
chore(deps): update lint ( #9627 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-11-18 10:33:24 +08:00
丶远方
176d476712
fix(types): fix `unref` and `toValue` when input union type contains ComputedRef ( #8748 )
...
close #8747
close #8857
2023-11-10 16:56:29 +08:00
Simon Lévesque
7c448000b0
fix(types): fix shallowRef return type with union value type ( #7853 )
...
close #7852
2023-11-10 13:40:47 +08:00
魏
657476dcdb
fix(reactivity): clear method on readonly collections should return undefined ( #7316 )
2023-11-09 17:32:21 +08:00
Evan You
bc5846939c
release: v3.3.8
2023-11-06 18:54:26 +08:00
Johnson Chu
48b47a1ab6
feat(reactivity): expose last result for computed getter ( #9497 )
2023-10-31 22:19:40 +08:00
Evan You
3c828f3cfb
release: v3.4.0-alpha.1
2023-10-28 11:33:46 +09:00
Johnson Chu
16e06ca08f
feat(reactivity): more efficient reactivity system ( #5912 )
...
fix #311 , fix #1811 , fix #6018 , fix #7160 , fix #8714 , fix #9149 , fix #9419 , fix #9464
2023-10-27 23:28:40 +09:00
Evan You
1789c1caac
release: v3.3.7
2023-10-25 07:35:08 +08:00
skirtle
e9e2778e9e
fix(reactivity): assigning array.length while observing a symbol property ( #7568 )
2023-10-21 09:48:59 +08:00
Evan You
a09ed44446
release: v3.3.6
2023-10-20 21:04:11 +08:00
Evan You
5ebb459fc7
release: v3.3.5
2023-10-20 11:50:49 +08:00
chenfan
e33d554cae
refactor(reactivity): add instance check for effect ( #9055 )
2023-09-05 03:27:54 -05:00
Waleed Khaled
02c6924bcd
refactor(reactivity): encapsulate reactive handlers in class ( #8586 )
...
reactive obj create has a huge positive impact (200% - 700%)
get/set reactive obj props has a small negative impact (1% - 5%)
2023-08-22 16:50:27 +08:00
三咲智子 Kevin Deng
623ba514ec
chore: format code
2023-08-11 17:30:04 +08:00
zqran
7c2e44ff5f
test(reactivity): use vitest fn instead of counting manually ( #8476 )
2023-07-11 17:37:56 +08:00
丶远方
3decc57d0c
chore: remove unnecessary type assertions ( #8386 )
2023-07-10 18:18:53 +08:00
魏
13b72317c5
refactor(reactivity): use hasChanged to avoid tracking NaN key twice ( #7378 )
2023-07-10 18:17:26 +08:00
魏
b401243855
chore(types): remove unnecessary @ts-ignore or use @ts-expected-error ( #7178 )
2023-07-10 18:00:32 +08:00
zqran
924069891e
test(reactivity): bigint test for non-observable values ( #6177 )
2023-07-10 17:51:30 +08:00
丶远方
b01fc7ea84
chore: remove unnecessary imports ( #8262 )
2023-05-19 07:54:12 +08:00
丶远方
3798c5480b
chore: remove unnecessary type assertions ( #8311 )
2023-05-19 07:49:28 +08:00
Evan You
0e8bbe873e
release: v3.3.4
2023-05-18 16:31:03 +08:00
Evan You
fecd5c4044
release: v3.3.3
2023-05-18 13:10:52 +08:00
Evan You
a374d7e6ed
release: v3.3.2
2023-05-12 13:25:05 +01:00
Evan You
6e1966a92f
release: v3.3.1
2023-05-11 09:00:14 +01:00
Evan You
483a4e7e3b
release: v3.3.0
2023-05-11 08:44:38 +01:00
Evan You
847658b7a2
release: v3.3.0-beta.5
2023-05-08 16:40:41 +08:00
丶远方
3294e50b0b
chore: update tests to use expect.toBeInstanceOf ( #8154 )
2023-05-08 14:34:24 +08:00
Evan You
cc09cc7e28
release: v3.3.0-beta.4
2023-05-05 17:15:14 +08:00
Evan You
5d4c3c60a8
release: v3.3.0-beta.3
2023-05-01 12:28:29 +08:00
Evan You
a778034a3e
release: v3.3.0-beta.2
2023-04-25 16:41:04 +08:00
Evan You
1447596bf4
release: v3.3.0-beta.1
2023-04-21 16:26:10 +08:00
Evan You
5cdaac2590
release: v3.3.0-alpha.13
2023-04-20 21:13:34 +08:00
白雾三语
2f9f6eceb9
chore: delete outdated content in readme ( #8093 ) [ci skip]
...
close #8084
2023-04-20 10:11:22 +08:00
Evan You
72be89423d
release: v3.3.0-alpha.12
2023-04-18 22:18:56 +08:00
Evan You
57f0fbe76a
release: v3.3.0-alpha.11
2023-04-17 21:17:17 +08:00
Evan You
33adc2a17a
release: v3.3.0-alpha.10
2023-04-17 18:15:17 +08:00
丶远方
2ce23f0e09
chore(reactivity): remove unnecessary type assertions. ( #8046 )
2023-04-10 14:06:56 +08:00
Evan You
681ac7c896
release: v3.3.0-alpha.9
2023-04-08 13:33:46 +08:00
丶远方
cac1512390
chore(reactive): remove unref type assertion ( #8007 )
2023-04-06 17:15:27 +08:00
Evan You
036914c10b
release: v3.3.0-alpha.8
2023-04-04 18:23:06 +08:00
Evan You
9a09e47667
release: v3.3.0-alpha.7
2023-04-03 18:19:11 +08:00
Evan You
59e828448e
feat(reactivity): improve support of getter usage in reactivity APIs ( #7997 )
2023-04-02 10:17:51 +08:00
Roland Hummel
c346af2b6a
docs: comments on reactivity functions ( fixes #4832 ) ( #4836 )
...
close #4832
2023-03-31 17:06:10 +08:00
Evan You
8ac0620c1b
release: v3.3.0-alpha.6
2023-03-30 18:22:42 +08:00
Evan You
27e1e38641
release: v3.3.0-alpha.5
2023-03-26 16:52:46 +08:00
Evan You
78b86150b8
release: v3.3.0-alpha.4
2023-02-06 14:10:56 +08:00
Evan You
097f6beca2
release: v3.3.0-alpha.3
2023-02-06 10:27:25 +08:00
Evan You
37ec04b984
release: v3.3.0-alpha.2
2023-02-05 16:23:54 +08:00
Evan You
85f4d8ccb9
release: v3.3.0-alpha.1
2023-02-05 11:20:39 +08:00
Evan You
eb0c1e7025
build: remove api-extractor
2023-02-03 15:57:00 +08:00
Evan You
6213b73cd2
build: custom const enum processing
2023-02-03 09:54:15 +08:00
Evan You
53e3533b75
chore: bump deps
2023-02-03 05:47:40 +08:00
Evan You
124373db50
wip: isolatedModules + use rollup-plugin-esbuild
2023-02-03 04:30:19 +08:00
Evan You
45984d559f
release: v3.2.47
2023-02-02 13:48:18 +08:00
Evan You
29f8cf8b07
release: v3.2.46
2023-02-02 11:32:04 +08:00
Anthony Fu
e64c9ae957
fix(reactivity): `triggerRef` working with `toRef` from reactive ( #7507 )
...
* fix(reactivity): `triggerRef` working with `toRef` from reactive
* chore: refactor
2023-02-01 03:20:47 -05:00
Evan You
8867bb259a
wip(vitest-migration): reactivity tests passing
2023-01-26 15:25:55 +08:00
魏
13dc28aeff
refactor(reactivity): hasOwnProperty add this parameter ( #7233 )
...
hasOwnProperty adds this parameter and delete @ts-ignore
2023-01-09 15:21:32 +01:00
魏
8731852919
test(reactivity): Using toRaw on a raw Array ( #7354 )
2023-01-09 15:19:19 +01:00
Evan You
f0645a9b2f
chore: remove yarn reference
...
close #6709
2022-11-14 19:03:51 +08:00
Evan You
588bd44f03
fix(reactivity): track hasOwnProperty
...
fix #2619
close #2621
2022-11-14 17:17:35 +08:00
Evan You
efa2ac54d9
refactor: use Number constructor when coercing array length
2022-11-14 16:10:05 +08:00
webfansplz
59ffe5ee1f
fix(types/effectScope): re-expose `active` as readonly property ( #6187 )
...
close #6186
2022-11-13 20:27:52 -05:00
Evan You
6f663d47e5
release: v3.2.45
2022-11-11 17:35:27 +08:00
Evan You
ec795bfc51
release: v3.2.44
2022-11-10 07:25:22 +08:00
Evan You
71977ec972
release: v3.2.43
2022-11-09 21:00:57 +08:00
Evan You
f023d49a49
release: v3.2.42
2022-11-09 11:36:09 +08:00
三咲智子 Kevin Deng
e9172db68b
fix(types): export `Raw` type ( #6380 )
...
fix #7048
2022-11-07 21:03:49 -05:00
三咲智子 (Kevin)
bbb66d7ac7
ci: check prettier format ( #6830 )
2022-10-28 09:39:34 +08:00
HeYunfei
e816812f10
fix(types): should unwrap tuple correctly ( #3820 )
...
fix #3819
2022-10-26 04:27:42 -04:00
Evan You
d9de6caecd
refactor: move toNumber call out of loop
2022-10-26 15:17:25 +08:00
bcq028
e6224f4256
fix(reactivity): enable trigger when use str to set length of arr ( #6810 )
...
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2022-10-21 09:25:06 +02:00
Evan You
9617dd4b2a
release: v3.2.41
2022-10-14 18:41:15 +08:00
Evan You
a71f9ac41a
fix(effectScope): calling off() of a detached scope should not break currentScope
2022-10-14 10:53:23 +08:00
Evan You
551f606d98
release: v3.2.40
2022-09-28 11:40:24 +08:00
Evan You
f79c423621
release: v3.2.39
2022-09-08 10:12:39 +08:00
Evan You
6624ead663
release: v3.2.38
2022-08-30 16:02:01 +08:00
Evan You
a95554d35c
fix(reactivity): fix shallow/readonly edge cases
2022-07-22 11:16:06 +08:00
Carlos Rodrigues
17c50ce18d
build(deps-dev): bump typescript to 4.7.4 ( #6215 )
2022-07-06 04:27:30 -04:00
Evan You
bdffc143ef
release: v3.2.37
2022-06-06 20:08:19 +08:00
Evan You
160d5df34a
release: v3.2.36
2022-05-23 10:04:12 +08:00
Evan You
a0c577692f
release: v3.2.35
2022-05-21 01:16:26 +08:00
Evan You
3991609087
release: v3.2.34
2022-05-19 12:42:34 +08:00
Evan You
7fd761e577
release: v3.2.34-beta.1
2022-05-17 12:53:51 +08:00
Marcos Dantas
cd92654510
chore: comments ( #5332 ) [ci skip]
2022-05-12 20:23:28 -04:00
HeYunfei
b5b103a736
chore(types): delete @ts-ignore or use @ts-expected-error instead ( #3669 )
...
Co-authored-by: heyunfei.i <heyunfei.i@bytedance.com>
2022-05-11 20:40:59 -04:00
descire
b87dc06193
fix(reactivity): ios10.x compatibility ( #4900 )
2022-05-10 04:10:40 -04:00
那里好脏不可以
6042ab0f2f
chore: type [ci skip]
2022-05-09 22:51:51 -04:00
Evan You
30c33af839
chore: use explicit type import to avoid Rollup warning
2022-05-10 10:05:24 +08:00
zhangenming
b9484543db
refactor(reactivity): make some expression simpler ( #5131 )
2022-05-06 06:42:22 -04:00
Carlos Rodrigues
32e53bfd47
fix(types): keep the original type when unwrapping `markRaw` ( #3791 )
2022-05-06 05:07:49 -04:00
Evan You
82bdf86254
fix(reactivity): ensure computed is invalidated before other effects
...
fix #5720
2022-04-15 16:43:17 +08:00
Evan You
56879e6b23
release: v3.2.33
2022-04-14 18:14:37 +08:00
宋铄运 (Alan Song)
c6eb3cccce
build: improve treeshakeability ( #5682 )
2022-04-13 05:39:02 -04:00
Code_xxmyyds
711c826c68
chore(reactivity): use warn ( #5548 )
2022-04-13 05:21:38 -04:00
Evan You
154233abdb
fix(reactivity): fix ref tracking of self-stopping effects
...
close #5707
2022-04-13 17:00:31 +08:00
Evan You
f4f5e80a19
release: v3.2.32
2022-04-12 16:07:43 +08:00
Evan You
ea6fc845f2
chore: trim non-public properties on EffectScope type
2022-04-12 15:57:07 +08:00
Wei
0a301d4dab
fix(reactivity): fix currentScope loss when running detached effect scope ( #5575 )
2022-04-12 03:51:05 -04:00
Evan You
7efb9dba30
refactor: remove use of Object.assign
...
TS already transpiles spread to Object.assign with target:es2016
2022-04-12 15:22:11 +08:00
Evan You
d56dec6b4a
release: v3.2.31
2022-02-12 16:41:52 +08:00
Evan You
15adf251ab
release: v3.2.30
2022-02-07 14:14:53 +08:00
Evan You
a51f935b72
refactor: remove isTracking() method
2022-01-30 18:53:43 +08:00
Evan You
81a6708739
chore: simplify effectScope
2022-01-28 21:02:09 +08:00
Evan You
2993a24618
perf(reactivity): optimize effect/effectScope active state tracking
2022-01-28 18:35:09 +08:00
Evan You
6b6889852f
release: v3.2.29
2022-01-23 22:02:23 +08:00
Thorsten Lünborg
4be1037f31
fix(reactivity): ensure readonly refs can be replaced with new refs in reactive objects ( #5310 )
...
fix #5307
2022-01-23 08:08:27 -05:00
Evan You
283df0ad68
release: v3.2.28
2022-01-21 16:15:13 +08:00
HcySunYang
c64907d261
fix(types): calling readonly() with ref() should return Readonly<Ref<T>> ( #5212 )
2022-01-21 02:33:30 -05:00
Thorsten Lünborg
171f5e9c60
fix(reactivity): mutating a readonly ref nested in a reactive object should fail. ( #5048 )
...
fix : #5042
2022-01-21 02:33:18 -05:00
Evan You
2f91872e7b
fix(ssr): only cache computed getters during render phase
...
fix #5300
2022-01-21 12:31:54 +08:00
Evan You
25bc6549eb
perf(reactivity): optimize effect run condition
2022-01-21 09:41:58 +08:00
Evan You
ae4b0783d7
chore: update repo references
2022-01-18 16:43:59 +08:00
Evan You
9c304bfe79
fix(reactivity): differentiate shallow/deep proxies of same target when nested in reactive
...
fix #5271
2022-01-18 09:22:41 +08:00
Evan You
9fda9411ec
feat(reactivity): add isShallow api
2022-01-18 09:22:41 +08:00
Evan You
3adfc0fe94
release: v3.2.27
2022-01-16 22:08:18 +08:00
Evan You
f4f0966b33
fix(ssr): make computed inactive during ssr, fix memory leak
...
fix #5208
2022-01-16 18:22:18 +08:00
Evan You
5ac703055f
fix(types): handle ToRef<any>
...
fix #5188
2022-01-16 15:47:00 +08:00
Evan You
92f11d6740
fix(types): fix shallowReadonly type
2022-01-10 15:05:09 +08:00
Evan You
ccb6651b12
release: v3.2.26
2021-12-12 15:03:29 +08:00
Evan You
756534bde0
release: v3.2.25
2021-12-12 12:21:13 +08:00
Evan You
db729ce99e
feat(reactivity-transform/types): restructure macro types + export types for all shorthand methods
2021-12-11 18:15:44 +08:00
Evan You
2db9c909c2
feat(reactivity): support default value in toRef()
2021-12-11 16:41:58 +08:00
Evan You
d955cfacd6
release: v3.2.24
2021-12-06 17:03:10 +08:00
三咲智子
523b4b78f5
fix(types/reactivity): export ShallowRef type ( #5026 )
...
close #5205
2021-12-05 23:18:21 -05:00
Evan You
b6a8a451b8
release: v3.2.23
2021-11-26 14:33:46 +08:00
mehan
2a4f134fc5
chore: remove unnecessary assertion ( #4867 )
2021-11-25 23:08:25 -05:00
Evan You
6d46b36e7c
revert: "fix(types): use proper array type when unwrapping reactive array ( #4807 )"
...
This reverts commit 89c54ee2b9
.
2021-11-26 10:54:12 +08:00
Cheese
89c54ee2b9
fix(types): use proper array type when unwrapping reactive array ( #4807 )
2021-11-25 05:41:25 -05:00
JensDll
c6cd6a7938
fix (types): do not unwrap refs in `toRefs` ( #4966 )
2021-11-25 04:39:09 -05:00
Evan You
d145128ab4
fix(reactivity): retain readonly proxies when setting as reactive property
...
fix #4986
2021-11-25 12:14:39 +08:00
Jeet Mandaliya
61720231b4
chore: typo [skip ci] ( #4961 )
2021-11-18 11:01:11 +01:00
Evan You
635d88aa9e
release: v3.2.22
2021-11-15 11:45:05 +08:00
Marvin Rudolph
d56f115f71
chore(reactivity): fix typo in types ( #4889 )
2021-11-02 20:19:39 +01:00
Evan You
fe853a5a40
release: v3.2.21
2021-11-02 14:35:14 +08:00
Evan You
c803eb15ec
chore: avoid rollup plugin ts warning
2021-10-09 18:34:54 -04:00
Evan You
20a361541c
fix(types): fix ref unwrapping type inference for nested shallowReactive & shallowRef
...
fix #4771
2021-10-09 17:51:15 -04:00
Evan You
3c500e422f
release: v3.2.20
2021-10-08 13:01:51 -04:00
Che Guevara
925bc346fe
fix(types): make `toRef` return correct type( fix #4732 ) ( #4734 )
...
* fix(types): make `toRef` return correct type(fix #4732 )
* chore: use correct test
Co-authored-by: Evan You <yyx990803@gmail.com>
2021-10-08 11:57:49 -04:00
Thorsten Lünborg
ed0071ac1a
fix(types): ensure that DeepReadonly handles Ref type properly ( #4714 )
2021-10-07 18:30:54 -04:00
Evan You
c5c53846ed
release: v3.2.19
2021-09-25 14:58:20 -04:00
Evan You
13bfa2edfe
release: v3.2.18
2021-09-24 16:05:16 -04:00
Evan You
f5076eb4b7
release: v3.2.17
2021-09-24 12:43:11 -04:00
Evan You
114b856fd1
release: v3.2.16
2021-09-23 10:17:02 -04:00
Evan You
74a84ff546
release: v3.2.15
2021-09-23 09:48:59 -04:00
Evan You
df4fcd94d8
release: v3.2.14
2021-09-22 18:36:57 -04:00
zhangenming
52e4ea732d
refactor(reactivity): reuse toReactive helper ( #4641 )
2021-09-22 10:11:54 -04:00
Evan You
b9deb6e50e
release: v3.2.13
2021-09-21 14:22:53 -04:00
zhangenming
b264551c9b
refactor(reactivity): reuse computed getter check ( #4623 )
2021-09-21 13:03:09 -04:00
Evan You
ebe00f66dd
release: v3.2.12
2021-09-17 10:55:26 -04:00
Evan You
781d2d4d58
release: v3.2.11
2021-09-08 18:58:13 -04:00
Evan You
96b531bfa3
release: v3.2.10
2021-09-07 16:20:07 -04:00
n2ptune
2361ca4fc2
chore(reactivity): fix typo in dep ( #4534 ) [ci skip]
2021-09-07 11:31:12 -04:00
Evan You
642710eded
release: v3.2.9
2021-09-05 18:24:01 -04:00
Evan You
815bfcffae
fix(types): fix ref macro types
...
fix #4499
2021-09-04 16:42:46 -04:00
Evan You
3ad9dc4880
release: v3.2.8
2021-09-02 14:46:30 -04:00
huangkairan
592cdbdd7c
chore: remove unnecessary 'async' for test case ( #4490 )
2021-09-02 09:44:38 -04:00
Evan You
b079996040
release: v3.2.7
2021-09-01 18:05:16 -04:00
zhangenming
a6e6253319
types(reactivity): adjust type exports ( #4407 )
2021-09-01 16:49:12 -04:00
Evan You
72d2b26e96
release: v3.2.6
2021-08-24 12:54:30 -04:00
Evan You
a137d73e91
release: v3.2.5
2021-08-24 11:54:22 -04:00
阿崔cxr
a46b0a9a96
chore(test): make unnecessarily async test case sync ( #4421 )
2021-08-23 18:52:11 -04:00
zhangenming
9043d0dca7
refactor(reactivity): use explicit assignments. ( #4401 )
2021-08-23 18:32:58 -04:00
Evan You
ceace3a8cc
release: v3.2.4
2021-08-17 12:26:50 -04:00
Evan You
951fbb197b
Revert "chore: add missing space in warning message ( #4359 ) [ci skip]"
...
This reverts commit c68cba82ea
.
2021-08-17 12:18:54 -04:00
zhangenming
d8da4214fc
refactor(reactivity): reduce variable access ( #4366 )
2021-08-17 12:11:52 -04:00
okbug
c68cba82ea
chore: add missing space in warning message ( #4359 ) [ci skip]
2021-08-17 11:28:33 -04:00
Evan You
03abc2573c
release: v3.2.3
2021-08-16 18:25:32 -04:00
Haoqun Jiang
7c4e4514d1
chore: rename `onDispose` to `onScopeDispose` in warnings and tests ( #4355 )
2021-08-16 18:19:06 -04:00
Evan You
7ffa225aa3
release: v3.2.2
2021-08-11 11:40:25 -04:00
webfansplz
e04680b0aa
test(reactivity): add test case for effectScope ( #4239 )
2021-08-10 13:59:58 -04:00
Evan You
2749c15170
release: v3.2.1
2021-08-09 16:29:53 -04:00
Evan You
5a7a43cc3d
release: v3.2.0
2021-08-09 15:51:53 -04:00
Evan You
4781965cc2
release: v3.2.0-beta.8
2021-08-06 23:12:27 -04:00
Amour1688
d3d5ad204d
fix(types): remove explicit return type annotation requirement for `this` inference in computed options ( #4221 )
2021-08-02 09:18:35 -04:00
Evan You
b357009a82
release: v3.2.0-beta.7
2021-07-29 13:21:30 -04:00
Evan You
13c69469f2
refactor: simplify for size
2021-07-29 10:45:05 -04:00
Bas van Meurs
91f29540fe
refactor(reactivity): optimize child effect scope dereferencing ( #4184 )
2021-07-29 10:26:24 -04:00
Evan You
1867591e7c
fix(reactivity): dereference nested effect scopes on manual stop
2021-07-28 12:08:01 -04:00
Pick
da6c055b19
types(reactivity): simplify UnwrapNestedRefs ( #4194 )
2021-07-28 11:15:08 -04:00
Pick
b79e4ca717
types(reactivity): Simplify the SymbolExtract ( #4162 )
2021-07-28 11:12:46 -04:00
Evan You
204e194d2b
release: v3.2.0-beta.6
2021-07-27 18:56:02 -04:00
Evan You
4b595a3ea1
release: v3.2.0-beta.5
2021-07-23 16:10:22 -04:00
Evan You
2581cfb707
fix(types): fix types for readonly ref
...
fix #4180
2021-07-23 15:24:58 -04:00
Evan You
fe58bae412
release: v3.2.0-beta.4
2021-07-21 17:40:25 -04:00
Evan You
9d5dd2da8c
release: v3.2.0-beta.3
2021-07-20 17:47:03 -04:00
Evan You
14ca881a1b
feat(reactivity): deferredComputed
...
Note: this is not exposed as part of Vue API, only as
a lower-level API specific to @vue/reactivity
2021-07-20 17:39:19 -04:00
Evan You
33c2fbfdc8
fix(reactivity): revert computed scheduler change
...
fix #4157
2021-07-20 16:45:29 -04:00
Evan You
1034546a4c
release: v3.2.0-beta.2
2021-07-19 19:36:55 -04:00
Evan You
47f488350c
chore: run updated prettier
2021-07-19 18:24:18 -04:00
Pick
35cc7b0d31
chore(reactivity): correct the description of the test case ( #4135 )
2021-07-19 17:59:30 -04:00
Evan You
6eb47f000a
fix(reactivity): computed should not trigger scheduler if stopped
...
fix #4149
2021-07-19 13:37:03 -04:00
Evan You
d4c67dd253
release: v3.2.0-beta.1
2021-07-16 14:44:06 -04:00
Evan You
5cea9a1d4e
feat(reactivity): support onTrack/onTrigger debug options for computed
2021-07-16 14:30:49 -04:00
Evan You
2dd4739089
test: more test cases for computed w/ scheduler
2021-07-16 14:30:49 -04:00
Evan You
1fe2239270
refactor: sync value access for chained computed w/ scheduler
2021-07-16 14:30:49 -04:00
Evan You
979a841946
chore: use consistent file naming
2021-07-16 14:30:49 -04:00
Evan You
eae7c247af
refactor: reduce bundle size
2021-07-16 14:30:49 -04:00
Bas van Meurs
6cf2377cd4
perf(reactivity): use bitwise dep markers to optimize re-tracking ( #4017 )
2021-07-16 14:30:49 -04:00
Evan You
cc09772d55
chore: remove unncessary property on ComputedRef interface
2021-07-16 14:30:49 -04:00
Evan You
bde855e017
test: test for computed optimization
2021-07-16 14:30:49 -04:00
Evan You
ebaac9a56d
perf(reactivity): avoid triggering re-render if computed value did not change
2021-07-16 14:30:49 -04:00
Anthony Fu
f5617fc3bb
feat(reactivity): new effectScope API ( #2195 )
2021-07-16 14:30:49 -04:00
Evan You
87f69fd0bb
perf(reactivity): improve reactive effect memory usage ( #4001 )
...
Based on #2345 , but with smaller API change
- Use class implementation for `ReactiveEffect`
- Switch internal creation of effects to use the class constructor
- Avoid options object allocation
- Avoid creating bound effect runner function (used in schedulers) when not necessary.
- Consumes ~17% less memory compared to last commit
- Introduces a very minor breaking change: the `scheduler` option passed to `effect` no longer receives the runner function.
2021-07-16 14:30:49 -04:00
Evan You
b2554aefba
refactor: small bundle size / readability optimization
2021-07-16 14:30:49 -04:00
Bas van Meurs
64310405ac
perf(reactivity): ref-specific track/trigger and miscellaneous optimizations ( #3995 )
2021-07-16 14:30:49 -04:00
Evan You
31abdc8ada
release: v3.1.5
2021-07-16 12:38:01 -04:00
TheDro
1cfe290352
fix(reactivity): call array subclass methods ( #3624 )
...
fix #2314 , close #2315
2021-07-15 17:17:13 -04:00
Yang Mingshan
08f504c1b7
fix(ref): should not trigger when setting value to same proxy ( #3658 )
2021-07-15 16:28:01 -04:00
Carlos Rodrigues
f6a5f09a3a
types(defineComponent): fix unwrap when returning `Ref<T>|undefined` from `setup` ( #4100 )
2021-07-15 15:58:20 -04:00
Evan You
348c3b01e5
release: v3.1.4
2021-07-02 08:37:50 -04:00
Evan You
fc7b640041
release: v3.1.3
2021-07-01 19:28:06 -04:00
Evan You
127ed1b969
fix(types): improve type of unref()
...
fix #3954
2021-07-01 15:20:49 -04:00