Commit Graph

470 Commits

Author SHA1 Message Date
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