Commit Graph

637 Commits

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