LongYinan
dde779a71d
test(e2e): add subdoc migration test ( #4921 )
...
test(e2e): add subdoc migration test
fix: remove .only
2023-11-13 18:00:40 +08:00
Peng Xiao
bd9f66fbc7
fix(infra): compatibility fix for space prefix ( #4912 )
...
It seems there are some cases that [this upstream PR](https://github.com/toeverything/blocksuite/pull/4747 ) will cause data loss.
Because of some historical reasons, the page id could be different with its doc id.
It might be caused by subdoc migration in the following (not 100% sure if all white screen issue is caused by it) https://github.com/toeverything/AFFiNE/blob/0714c12703ff8840acc180633e5489c755ddfba3/packages/common/infra/src/blocksuite/index.ts#L538-L540
In version 0.10, page id in spaces no longer has prefix "space:"
The data flow for fetching a doc's updates is:
- page id in `meta.pages` -> find `${page-id}` in `doc.spaces` -> `doc` -> `doc.guid`
if `doc` is not found in `doc.spaces`, a new doc will be created and its `doc.guid` is the same with its pageId
- because of guid logic change, the doc that previously prefixed with `space:` will not be found in `doc.spaces`
- when fetching the rows of this doc using the doc id === page id,
it will return EMPTY since there is no updates associated with the page id
The provided fix in the PR will patch the `spaces` field of the root doc so that after 0.10 the page doc can still be found in the `spaces` map. It shall apply to both of the idb & sqlite datasources.
Special thanks to @lawvs 's db file for investigation!
2023-11-13 17:57:56 +08:00
Yifeng Wang
fc6c553ece
chore: bump theme ( #4904 )
...
Co-authored-by: 李华桥 <joooye1991@gmail.com >
2023-11-10 15:40:38 +08:00
Yifeng Wang
2117d6b232
chore: bump blocksuite ( #4901 )
2023-11-10 13:23:29 +08:00
LongYinan
839f500979
ci: disable postinstall on macOS build ( #4885 )
2023-11-09 11:58:55 +00:00
Peng Xiao
442115632b
chore(component): bump bs ( #4880 )
2023-11-09 04:47:10 +00:00
Joooye_34
a8bff81a7e
ci: use resolutions to resolve building error in mac-os ( #4878 )
2023-11-09 02:43:47 +00:00
Hongtao Lye
12c72e63b1
chore: bump blocksuite version ( #4862 )
2023-11-08 07:12:48 +00:00
Peng Xiao
cfffcad1b8
fix(core): adapt blob in sqlite for svg type ( #4845 )
2023-11-06 10:09:48 +00:00
JimmFly
9664d142ad
feat(core): temporary expansion files are limited to 100M ( #4833 )
2023-11-06 06:38:46 +00:00
Peng Xiao
7e381e830a
perf(core): load all pages after 10s ( #4834 )
2023-11-03 09:42:29 +00:00
Peng Xiao
65321e39cc
refactor(component): virtual rendering page list ( #4775 )
...
Co-authored-by: Joooye_34 <Joooye1991@gmail.com >
2023-11-02 14:21:01 +00:00
Hongtao Lye
15024c6c8a
chore: bump blocksuite ( #4801 )
2023-11-02 09:12:23 +00:00
liuyi
6a93203d68
feat(server): sync data with ack ( #4791 )
2023-11-02 09:05:28 +00:00
LongYinan
6aaf550241
ci: fix wrangler deploy ( #4803 )
2023-11-01 09:12:00 +00:00
LongYinan
72babe9157
Merge pull request #4751 from toeverything/yarn-4.0.1
...
chore: upgrade to yarn@4.0.1
2023-10-30 07:49:29 +00:00
DarkSky
95c1a44a0d
Merge branch 'master' into payment-system
2023-10-30 01:55:51 -05:00
LongYinan
fc3516acfb
Merge pull request #4746 from toeverything/data-migrations-system
...
feat(server): add data migration system
2023-10-30 06:36:18 +00:00
forehalo
98d0ac3c90
feat(server): add data migration system
2023-10-30 11:12:09 +08:00
LongYinan
fd76d33421
chore: upgrade to yarn@4.0.1
2023-10-29 16:06:29 +08:00
3720
ef8024c657
feat: new collections ( #4530 )
...
Co-authored-by: Peng Xiao <pengxiao@outlook.com >
2023-10-27 09:06:59 +00:00
Joooye_34
385de7d33b
Merge remote-tracking branch 'origin/master' into payment-system
2023-10-27 16:04:48 +08:00
liuyi
9334a363c7
chore(server): upgrade stripe sdk ( #4733 )
2023-10-26 12:37:52 +00:00
Joooye_34
1deb6bffd3
feat(core): disable payment in canary ( #4722 )
2023-10-26 00:50:39 +08:00
JimmFly
ae6376edee
chore(core): update communities icon ( #4719 )
2023-10-25 10:45:54 +00:00
JimmFly
df69c908fe
feat(core): adapt storage progress to payment system ( #4713 )
2023-10-25 16:18:30 +08:00
LongYinan
b13705ba3d
ci: remove setup-maker to reduce release duration ( #4710 )
2023-10-24 10:09:40 +00:00
Flrande
627e5dfbb5
feat: bump blocksuite ( #4706 )
2023-10-24 09:00:27 +00:00
forehalo
df054ac7f6
feat(core): payment backend
2023-10-24 11:40:44 +08:00
dependabot[bot]
e75a0743f8
chore: bump @mui/material from 5.14.13 to 5.14.14 ( #4678 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-23 08:07:04 +00:00
dependabot[bot]
b52e006bfe
chore: bump @mui/icons-material from 5.14.13 to 5.14.14 ( #4680 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-23 07:04:49 +00:00
dependabot[bot]
9d6b335829
chore: bump @aws-sdk/client-s3 from 3.428.0 to 3.433.0 ( #4682 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-23 06:38:37 +00:00
LongYinan
aba771e99c
feat: upgrade to yarn@4 ( #4676 )
2023-10-23 02:55:45 +00:00
LongYinan
54aad58388
ci: fix electron make script on Windows ( #4666 )
2023-10-19 13:00:11 +00:00
Alex Yang
9958baa843
fix(hooks): use uuid as pageId ( #4658 )
2023-10-18 22:14:41 -05:00
Joooye_34
bed9310519
refactor(infra): directory structure ( #4615 )
2023-10-18 15:30:08 +00:00
Flrande
814d552be8
feat: bump blocksuite and fix bug in migration ( #4653 )
...
Co-authored-by: JimmFly <yangjinfei001@gmail.com >
2023-10-18 14:45:07 +00:00
DarkSky
63ca9671be
feat: add captcha support for sign in/up ( #4582 )
2023-10-18 08:06:07 +00:00
Alex Yang
524e48c8e6
refactor(electron): typescript check on build scripts ( #4650 )
2023-10-18 06:13:47 +00:00
Alex Yang
be6bcfdb9a
chore: fix version
2023-10-17 20:11:09 -05:00
Alex Yang
bb046a12dc
refactor(native): remove unused code ( #4651 )
2023-10-17 18:19:06 -05:00
Alex Yang
a430266389
refactor: use jotai-effect ( #4641 )
2023-10-17 16:09:37 -05:00
LongYinan
e831f612e8
fix(electron): release desktop app workflow ( #4594 )
2023-10-17 06:15:55 +00:00
Alex Yang
a0095496d7
chore: release y-provider package ( #4642 )
2023-10-16 19:47:05 -05:00
dependabot[bot]
579fa1ae4c
chore: bump @faker-js/faker from 8.1.0 to 8.2.0 ( #4631 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-16 19:23:30 +00:00
Alex Yang
7911d67439
chore: bump version ( #4604 )
2023-10-16 12:47:06 +00:00
Alex Yang
710a2f2c97
chore: bump version
2023-10-13 15:40:07 -05:00
JimmFly
2e1e486bc6
chore: bump playwright version ( #4602 )
2023-10-13 14:37:18 -05:00
Joooye_34
6ea10860b4
refactor(infra): record legacy data to improve testing stability ( #4590 )
2023-10-13 03:03:42 +00:00
JimmFly
daa976ca62
fix(component): adjust dialog and input style ( #4566 )
2023-10-12 05:49:39 +00:00