document-drive 1.0.0-experimental.6 → 1.0.0-experimental.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +670 -0
- package/package.json +4 -2
- package/src/queue/manager.ts +22 -0
- package/src/server/index.ts +5 -4
- package/src/utils/index.ts +2 -5
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,670 @@
|
|
|
1
|
+
# 1.0.0-experimental.1 (2024-05-15)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* acknowledge porper document ([c7abd01](https://github.com/powerhouse-inc/document-drive/commit/c7abd0138346b2482546a7a731b22be3e61c8ccd))
|
|
7
|
+
* add exports ([#157](https://github.com/powerhouse-inc/document-drive/issues/157)) ([1c74344](https://github.com/powerhouse-inc/document-drive/commit/1c74344f225aa0dc12b06603937c137b6be2afe7))
|
|
8
|
+
* added exports ([04958fb](https://github.com/powerhouse-inc/document-drive/commit/04958fb7c6595bc5e700196e481c4746e6702301))
|
|
9
|
+
* added name field to getDocument ([2cba21a](https://github.com/powerhouse-inc/document-drive/commit/2cba21aa6c4efcde50d8524f46dd22804b96f7d0))
|
|
10
|
+
* apply auto lint ([803cf91](https://github.com/powerhouse-inc/document-drive/commit/803cf91b3c427dd9c6b1ef9a76c92a4cfa480fbd))
|
|
11
|
+
* cast result of json parse ([83ee12b](https://github.com/powerhouse-inc/document-drive/commit/83ee12be711c74047eb7a4a86e235b7ab16e0a69))
|
|
12
|
+
* delete drive handling ([6547274](https://github.com/powerhouse-inc/document-drive/commit/6547274d4ebe02e737aa429699af39fbabe2184b))
|
|
13
|
+
* duplicate driv entry ([c89c27e](https://github.com/powerhouse-inc/document-drive/commit/c89c27e892a2b1d345cf5b28b00722f3cef88228))
|
|
14
|
+
* generate drive Id if empty string ([9c5044c](https://github.com/powerhouse-inc/document-drive/commit/9c5044cb21b9f311b999ab60612e8e61991d0dad))
|
|
15
|
+
* handle signals in sequence ([9660b08](https://github.com/powerhouse-inc/document-drive/commit/9660b089e554e570ff6312645b799e1af9e09596))
|
|
16
|
+
* missing operations in return values ([6d6cf56](https://github.com/powerhouse-inc/document-drive/commit/6d6cf56426d75b41aad1df0e8735e2a3dcc34221))
|
|
17
|
+
* operation data filter ([0e91f21](https://github.com/powerhouse-inc/document-drive/commit/0e91f2110a5942404b864199af8ebabd00112dea))
|
|
18
|
+
* prisma schema ([bac17dd](https://github.com/powerhouse-inc/document-drive/commit/bac17ddd305788252529706c0c2e8b2207c64838))
|
|
19
|
+
* queue actions ([8a9f3c0](https://github.com/powerhouse-inc/document-drive/commit/8a9f3c0ed0ff78fcebf3630ca3c3b64c245a3baf))
|
|
20
|
+
* remove react settings ([6e11865](https://github.com/powerhouse-inc/document-drive/commit/6e1186575de9a457add141fc916d6ea78fd066d5))
|
|
21
|
+
* remove sentry ([75faf6a](https://github.com/powerhouse-inc/document-drive/commit/75faf6acff391bb2f5fac016190a481019a225ee))
|
|
22
|
+
* reverse since change ([3e09362](https://github.com/powerhouse-inc/document-drive/commit/3e093623ca2f315e7faebeee3b3f3fc42bad083b))
|
|
23
|
+
* semantic release ([94077da](https://github.com/powerhouse-inc/document-drive/commit/94077da1f383ee2bf1530af9a4f2749cbc8d4e89))
|
|
24
|
+
* transmitter not found ([0fac28b](https://github.com/powerhouse-inc/document-drive/commit/0fac28b6f3de37b13899075c88fd37a9ce355013))
|
|
25
|
+
* types ([37ebeca](https://github.com/powerhouse-inc/document-drive/commit/37ebeca0ff18a8f60c4604ace6ba17bad730f4cb))
|
|
26
|
+
* update revision field if new operations are added ([45eb259](https://github.com/powerhouse-inc/document-drive/commit/45eb259b479655dde575835ce5c1aa6ad68a94f1))
|
|
27
|
+
* wording issues ([fcbb994](https://github.com/powerhouse-inc/document-drive/commit/fcbb994d49eb035cdb9e553b104b6c8279b7fbef))
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
### Features
|
|
31
|
+
|
|
32
|
+
* add ts-reset lib ([760c3fb](https://github.com/powerhouse-inc/document-drive/commit/760c3fbe685775be506835a1975541539c8fb862))
|
|
33
|
+
* add unique constraint on operation index ([b058834](https://github.com/powerhouse-inc/document-drive/commit/b058834a8b48c2f6db971427e9633a91141c1079))
|
|
34
|
+
* added .env.example ([c781094](https://github.com/powerhouse-inc/document-drive/commit/c781094ad7f7312efeee3e94695e809c5d4c6722))
|
|
35
|
+
* added acknowledge function to pull responder ([e72a721](https://github.com/powerhouse-inc/document-drive/commit/e72a721713bb947b0ba93be1c38797e209865e5c))
|
|
36
|
+
* added addAction methods and addInternalListener ([9a076b3](https://github.com/powerhouse-inc/document-drive/commit/9a076b3155060825d442351a2cd36d935a17ca44))
|
|
37
|
+
* added basic implementation of push and pull transmitter ([1ffb004](https://github.com/powerhouse-inc/document-drive/commit/1ffb00443bf442a17e545f2451e9b399edfcc0d3))
|
|
38
|
+
* added basic push strands implementatioN ([c858b75](https://github.com/powerhouse-inc/document-drive/commit/c858b7544365429ce4535a6c849cf785a5cafcd5))
|
|
39
|
+
* added basic transmitters ([996ff0f](https://github.com/powerhouse-inc/document-drive/commit/996ff0f0c7ea212f1ed96ebc05690d0689bf3429))
|
|
40
|
+
* added clearStorage support ([#82](https://github.com/powerhouse-inc/document-drive/issues/82)) ([323a93f](https://github.com/powerhouse-inc/document-drive/commit/323a93f0aaf1da1bd66b3b3292e35aefd92e9c5f))
|
|
41
|
+
* added clipboard flag to operations table ([f6ce677](https://github.com/powerhouse-inc/document-drive/commit/f6ce677b5e3d723074a40bb834f4029cd1c13b9a))
|
|
42
|
+
* added clipboard to document ([3f8c295](https://github.com/powerhouse-inc/document-drive/commit/3f8c29573cbd08f071492b56f4b31f688af7c9db))
|
|
43
|
+
* added debug and trace methods and logger export ([c7336de](https://github.com/powerhouse-inc/document-drive/commit/c7336de1f4b0e55a4c8d4e5efe5b063c7a4ccc88))
|
|
44
|
+
* added document cache ([deae523](https://github.com/powerhouse-inc/document-drive/commit/deae523851b98fcd250825a4b2918b364525660f))
|
|
45
|
+
* added drive events and improved sync error handling ([647c833](https://github.com/powerhouse-inc/document-drive/commit/647c8339b2166767c240a286d9ea12b032695417))
|
|
46
|
+
* added duplicate folders id tests ([#143](https://github.com/powerhouse-inc/document-drive/issues/143)) ([abd3688](https://github.com/powerhouse-inc/document-drive/commit/abd3688bb284257a8f088e905e1f7cf6de1f8f5d))
|
|
47
|
+
* added experimental release ([#155](https://github.com/powerhouse-inc/document-drive/issues/155)) ([adc52a5](https://github.com/powerhouse-inc/document-drive/commit/adc52a56655ef97de588cb03b6922ab69e72a8e9))
|
|
48
|
+
* added exponential retry backoff to prisma transactions ([b38e72f](https://github.com/powerhouse-inc/document-drive/commit/b38e72fdfd29f4c39e15f606fccc942ec966fffe))
|
|
49
|
+
* added getDrive by slug to memory adapter ([5515c34](https://github.com/powerhouse-inc/document-drive/commit/5515c34ecc18a6f14931a1a66cee454f14dbe03f))
|
|
50
|
+
* added getDriveBySlug ([680cf71](https://github.com/powerhouse-inc/document-drive/commit/680cf71209853689e1414f90f58f079460be94d5))
|
|
51
|
+
* added graphql requests for pull responder ([6578bae](https://github.com/powerhouse-inc/document-drive/commit/6578bae242a0c625531ac8b9bdec4c51727f57e6))
|
|
52
|
+
* added init of pullResponder ([3961916](https://github.com/powerhouse-inc/document-drive/commit/3961916bbb780c0555d3d7e106ab25c80e988c7b))
|
|
53
|
+
* added internal transmitter ([d728aed](https://github.com/powerhouse-inc/document-drive/commit/d728aed8ae692a83a0b998ccd6d7e36496e08b95))
|
|
54
|
+
* added internal transmitter service ([6863620](https://github.com/powerhouse-inc/document-drive/commit/68636202d5bfd081ef979263fd697086529a1d10))
|
|
55
|
+
* added listener functions ([6bc1803](https://github.com/powerhouse-inc/document-drive/commit/6bc180358826adf8a0ce6f247df37d8de245d8e7))
|
|
56
|
+
* added missing forceSync param ([04cd42c](https://github.com/powerhouse-inc/document-drive/commit/04cd42c5cc1f173dd04e362fde7ba2e592142d62))
|
|
57
|
+
* added namespace option for browser storage ([2fb312a](https://github.com/powerhouse-inc/document-drive/commit/2fb312a020d6593157c401814e0327d260f64718))
|
|
58
|
+
* added operation queues with memory and redis adapters ([#139](https://github.com/powerhouse-inc/document-drive/issues/139)) ([df54c4a](https://github.com/powerhouse-inc/document-drive/commit/df54c4a0ab069d0bc96cd0988967dc421c332668)), closes [#154](https://github.com/powerhouse-inc/document-drive/issues/154)
|
|
59
|
+
* added prisma connection ([ef87ca7](https://github.com/powerhouse-inc/document-drive/commit/ef87ca7681c4336a68f15ecf35906cdfc9c8aa0a))
|
|
60
|
+
* added registerListener function to PullResponderTransmitter ([814c160](https://github.com/powerhouse-inc/document-drive/commit/814c1603ef011402db30f373c3b5fbb2d3f12c58))
|
|
61
|
+
* added retry mechanism to transaction ([e01a2cb](https://github.com/powerhouse-inc/document-drive/commit/e01a2cb6e1c64d37655255191fc4af13254201fe))
|
|
62
|
+
* added semantic release ([f1c31a6](https://github.com/powerhouse-inc/document-drive/commit/f1c31a6bd2012ac6d51a7a3a5b94f656887e6b5a))
|
|
63
|
+
* added sequelize adapter ([#19](https://github.com/powerhouse-inc/document-drive/issues/19)) ([71529d8](https://github.com/powerhouse-inc/document-drive/commit/71529d8d60eb6ff0390bdebb1bb660fb680c99f3))
|
|
64
|
+
* added strandUpdate events ([1143716](https://github.com/powerhouse-inc/document-drive/commit/11437161fd1b0b0f37a7ef50833022507e4699f3))
|
|
65
|
+
* added support for update noop operations ([#42](https://github.com/powerhouse-inc/document-drive/issues/42)) ([c59e15a](https://github.com/powerhouse-inc/document-drive/commit/c59e15a69f08f2abe654ce15c090f1212aee7606))
|
|
66
|
+
* added update operations in prisma storage addDocumentOperations ([#71](https://github.com/powerhouse-inc/document-drive/issues/71)) ([eeb96af](https://github.com/powerhouse-inc/document-drive/commit/eeb96afbad520f90ce8c9b71bf573950dadadf4b))
|
|
67
|
+
* added winston as default logger ([77c2451](https://github.com/powerhouse-inc/document-drive/commit/77c2451e4ceaddb11dd378a89f89c4245db51cb0))
|
|
68
|
+
* also transmit scope state on internal transmitters ([c75a5d5](https://github.com/powerhouse-inc/document-drive/commit/c75a5d5b01ddaf166f0d86cd0afab4f888757a17))
|
|
69
|
+
* avoid duplicating sync units on listener manager ([ad9a015](https://github.com/powerhouse-inc/document-drive/commit/ad9a015d8b50ba444362b85b1f57b9349037c325))
|
|
70
|
+
* bug fixing ([1bb6097](https://github.com/powerhouse-inc/document-drive/commit/1bb60972588b5b95d2bb52354d8b35319d21eed5))
|
|
71
|
+
* bump document-model dep ([7442070](https://github.com/powerhouse-inc/document-drive/commit/744207006dad191e214f0547d78d185530476560))
|
|
72
|
+
* bump libs ([8b18624](https://github.com/powerhouse-inc/document-drive/commit/8b18624c05792d086b31a0b42b99cf42f3dc0627))
|
|
73
|
+
* bump lint deps ([c4a68c9](https://github.com/powerhouse-inc/document-drive/commit/c4a68c9d1c8fea85d85d18eebf66a53d57438dbd))
|
|
74
|
+
* cache updated document as soon as possible ([0b3327c](https://github.com/powerhouse-inc/document-drive/commit/0b3327cea01b508e0c07f05dee7fdcb4a6aaea35))
|
|
75
|
+
* change unimportant rules to warn ([3958150](https://github.com/powerhouse-inc/document-drive/commit/395815033e8fe5e937342b5b2ba1d57ba64cbc8d))
|
|
76
|
+
* check if there are conflicting operations when storing operations ([2487ab1](https://github.com/powerhouse-inc/document-drive/commit/2487ab10017ab819c560a115409829027dad9fda))
|
|
77
|
+
* continue initializing remaining drives if one fails ([5cd9962](https://github.com/powerhouse-inc/document-drive/commit/5cd9962785e399aa5eb06f2b87a97fed72b51178))
|
|
78
|
+
* defined types and functions ([0b57ae9](https://github.com/powerhouse-inc/document-drive/commit/0b57ae969f023f06ffc4859d1f8f514ef7a2508f))
|
|
79
|
+
* delay sync updates after receiving strands ([e1d3a87](https://github.com/powerhouse-inc/document-drive/commit/e1d3a871a99042d397b7c7928432028251fba55d))
|
|
80
|
+
* delete sync units before removing document ([6b54e1d](https://github.com/powerhouse-inc/document-drive/commit/6b54e1dfb7249c0c6e061e916783ac92cb5d1481))
|
|
81
|
+
* do not consider already skipped operations when adding operations to document ([0778863](https://github.com/powerhouse-inc/document-drive/commit/077886351a1dbde484331a30778fa4daf12cf2a2))
|
|
82
|
+
* don't send operation with index equal to fromRevision ([f279046](https://github.com/powerhouse-inc/document-drive/commit/f279046f156c3b9c35c1c7cdd950319078f09e04))
|
|
83
|
+
* emit missing operation error ([8250681](https://github.com/powerhouse-inc/document-drive/commit/82506819148565aa6a7034b8e4a6d27ec9d3a0a3))
|
|
84
|
+
* emit single sync status event for multiple strands ([1b9cf53](https://github.com/powerhouse-inc/document-drive/commit/1b9cf5313cca31f696c104b169d1210a3c2b829f))
|
|
85
|
+
* emit sync events when updating listeners ([b1899bb](https://github.com/powerhouse-inc/document-drive/commit/b1899bbe6a3d555fc6ea5236c55b1417def11ec2))
|
|
86
|
+
* filter out drive strand if filter excludes it ([a6d3cd2](https://github.com/powerhouse-inc/document-drive/commit/a6d3cd25e63c917cf0033429ab75d265e76bde32))
|
|
87
|
+
* fix adding files with documents ([b033ff9](https://github.com/powerhouse-inc/document-drive/commit/b033ff99be62a7024448c51186b26aaa6d49215c))
|
|
88
|
+
* fix filter operations with since timestamp ([8a19d30](https://github.com/powerhouse-inc/document-drive/commit/8a19d30f892a9862be15c670d8114f4493198245))
|
|
89
|
+
* fixed array access error ([ed1a3a9](https://github.com/powerhouse-inc/document-drive/commit/ed1a3a953a0a52d629eb8a69f83ce18b976076af))
|
|
90
|
+
* fixed date comparison ([6d28a3b](https://github.com/powerhouse-inc/document-drive/commit/6d28a3bfd6b338deaa5ede718b7a9ebc0cccf498))
|
|
91
|
+
* fixed state on internal transmitter strand ([5dbe930](https://github.com/powerhouse-inc/document-drive/commit/5dbe930af551375117d36f9b4d36fd613de8d9f7))
|
|
92
|
+
* fixed unit tests ([46edd15](https://github.com/powerhouse-inc/document-drive/commit/46edd150aa4deb8814b4d1e6bd41b13e42b6ae91))
|
|
93
|
+
* force deploy ([#126](https://github.com/powerhouse-inc/document-drive/issues/126)) ([e02d22e](https://github.com/powerhouse-inc/document-drive/commit/e02d22ee00471f3f20544cc27155108143d22512))
|
|
94
|
+
* format changelog ([99dd18b](https://github.com/powerhouse-inc/document-drive/commit/99dd18bf95b798423e4dc83c2b4fd088a612b9c8))
|
|
95
|
+
* get drive by id or slug ([95c171e](https://github.com/powerhouse-inc/document-drive/commit/95c171e97eb7e27a65129d7fc400fae862d62fdc))
|
|
96
|
+
* implementation of switchboard transmitter ([cfbdc85](https://github.com/powerhouse-inc/document-drive/commit/cfbdc8570dfc86b6fe949c5246b240c634917a99))
|
|
97
|
+
* implemented operation validation for document operations ([39bedf4](https://github.com/powerhouse-inc/document-drive/commit/39bedf43d2a3b1fda51d82f26b7f92b93a7cce5b))
|
|
98
|
+
* improve add operations insert statement ([1c238ce](https://github.com/powerhouse-inc/document-drive/commit/1c238cef779e62bf89d2341a05a3af3633b9ec59))
|
|
99
|
+
* improved error reporting and fixed operation hash check ([c6cc70f](https://github.com/powerhouse-inc/document-drive/commit/c6cc70f627dbdd2eab6399543fd41544fb959506))
|
|
100
|
+
* improved operation errors ([a05772d](https://github.com/powerhouse-inc/document-drive/commit/a05772d023c600dd85d50be65f1ee80b19d546ef))
|
|
101
|
+
* init listener manager ([0edb539](https://github.com/powerhouse-inc/document-drive/commit/0edb53988f691672a3c3e0ce3179142bc09b6b58))
|
|
102
|
+
* initial work on tests migration ([3046dc1](https://github.com/powerhouse-inc/document-drive/commit/3046dc16a0405476a0af22aaf605be6ce43bf4c5))
|
|
103
|
+
* instantiate listeners on server initialization ([367396d](https://github.com/powerhouse-inc/document-drive/commit/367396d8205b6ba81f7c4261d516be2eebfb664e))
|
|
104
|
+
* integrated append only conflict resolution ([#153](https://github.com/powerhouse-inc/document-drive/issues/153)) ([16f12b6](https://github.com/powerhouse-inc/document-drive/commit/16f12b655963bd34575a00af3deb49182a35863a))
|
|
105
|
+
* only add listeners once ([12ca458](https://github.com/powerhouse-inc/document-drive/commit/12ca458ce9a4b5577fc45c5a8bcca5d905bd80ee))
|
|
106
|
+
* only emit event when syncStatus changes ([1cedf61](https://github.com/powerhouse-inc/document-drive/commit/1cedf6110fead2410a61d0d8f261a57d11c48fa1))
|
|
107
|
+
* proceed with loop only after previous request is done ([d7eec70](https://github.com/powerhouse-inc/document-drive/commit/d7eec7044233c060c56e98698360070198a540dd))
|
|
108
|
+
* replaced winston with console ([bbb7fc5](https://github.com/powerhouse-inc/document-drive/commit/bbb7fc53fa8cb5da97c6068e95ab77d5149d87fc))
|
|
109
|
+
* run pull loop immediately for the first time ([802a126](https://github.com/powerhouse-inc/document-drive/commit/802a126e4ec90b5b62ad3e228cee73daa06cf651))
|
|
110
|
+
* set sync status success if no new strands ([7a9627c](https://github.com/powerhouse-inc/document-drive/commit/7a9627cd72c80ae3c56a933bcd92c3da87529e00))
|
|
111
|
+
* skip hash generation when replaying documents ([697ea35](https://github.com/powerhouse-inc/document-drive/commit/697ea35ae79a6697c8bfd4810a8d28139bf1a01f))
|
|
112
|
+
* stop drive sync if triggers are removed ([dcf2df2](https://github.com/powerhouse-inc/document-drive/commit/dcf2df256f43f234bfb9188c750521fb57df880f))
|
|
113
|
+
* store and sync operation context ([b2e5d5e](https://github.com/powerhouse-inc/document-drive/commit/b2e5d5efe59ed382fe6f984c193959218cbac4e0))
|
|
114
|
+
* sync protocol draft ([f5ef843](https://github.com/powerhouse-inc/document-drive/commit/f5ef8436f9dfa50b546c77363bc8edfb887d671c))
|
|
115
|
+
* trigger release ([a99370f](https://github.com/powerhouse-inc/document-drive/commit/a99370fbfea65bbc20f3fc3c39f0a26087795603))
|
|
116
|
+
* trigger release ([75d8cc7](https://github.com/powerhouse-inc/document-drive/commit/75d8cc73c7022ecb6c71945486539e3b61ad9e1d))
|
|
117
|
+
* trigger release ([33209d5](https://github.com/powerhouse-inc/document-drive/commit/33209d59cf4f44946b524a88c9008fef40aceea9))
|
|
118
|
+
* Update CHANGELOG.md ([dc9d571](https://github.com/powerhouse-inc/document-drive/commit/dc9d5712092eec57d156b967f91a3079ce6dd917))
|
|
119
|
+
* update config ([c0197a6](https://github.com/powerhouse-inc/document-drive/commit/c0197a6bd86cdb706883e9cd7f0cad017fa115de))
|
|
120
|
+
* update document-model and document-model-libs ([#145](https://github.com/powerhouse-inc/document-drive/issues/145)) ([87dff17](https://github.com/powerhouse-inc/document-drive/commit/87dff17b5c8a76010e09dff2d8e6dba55fb262a5))
|
|
121
|
+
* update document-model-libs version ([#100](https://github.com/powerhouse-inc/document-drive/issues/100)) ([0648328](https://github.com/powerhouse-inc/document-drive/commit/06483288af745f94aa9a81e526a03ae72197aa99))
|
|
122
|
+
* update updatedOperations instead of create ([f87691d](https://github.com/powerhouse-inc/document-drive/commit/f87691dadee45b08f357f5b9df7374bbf7dd39f1))
|
|
123
|
+
* updated document model dep ([37fa455](https://github.com/powerhouse-inc/document-drive/commit/37fa4556c44b000837bcb95673c90cf06af784c7))
|
|
124
|
+
* updated document model dep ([c9876dc](https://github.com/powerhouse-inc/document-drive/commit/c9876dc83462d80b1c4c4213f9aab6f791f60f61))
|
|
125
|
+
* updated document-model ([6d2eb8b](https://github.com/powerhouse-inc/document-drive/commit/6d2eb8b6eb35696b84d6dbe4586ec410ff5c61e6))
|
|
126
|
+
* updated document-model-libs dep ([44bced0](https://github.com/powerhouse-inc/document-drive/commit/44bced07a07d6f65f105f342c8b07f98b5f1bbc4))
|
|
127
|
+
* updated document-model-libs dep ([e73b813](https://github.com/powerhouse-inc/document-drive/commit/e73b81352899b1478512f2e9a50d61e534c6c360))
|
|
128
|
+
* updated IDocumentDriveServer type ([ea1d7b4](https://github.com/powerhouse-inc/document-drive/commit/ea1d7b4ad3b4804db398de6a5d7f60088bee3118))
|
|
129
|
+
* updated prisma schema with syncUnits and listeners ([224cbfe](https://github.com/powerhouse-inc/document-drive/commit/224cbfe51d97a2107ea114cc00a7a1665278f85c))
|
|
130
|
+
* use prisma transaction ([4a02fb8](https://github.com/powerhouse-inc/document-drive/commit/4a02fb8c7d2b93253c4cd7104318772e3b199b61))
|
|
131
|
+
* use reshuffleByTimestamp + added BasciClient + tests ([#129](https://github.com/powerhouse-inc/document-drive/issues/129)) ([8e0cfae](https://github.com/powerhouse-inc/document-drive/commit/8e0cfae5e0d2de52064689f023e4a80c170d8c84))
|
|
132
|
+
* use serializable transactions ([267cae4](https://github.com/powerhouse-inc/document-drive/commit/267cae47ba3fec4a4863169350cbf961172caebf))
|
|
133
|
+
|
|
134
|
+
# [1.0.0-experimental.5](https://github.com/powerhouse-inc/document-drive/compare/v1.0.0-experimental.4...v1.0.0-experimental.5) (2024-05-09)
|
|
135
|
+
|
|
136
|
+
### Features
|
|
137
|
+
|
|
138
|
+
- updated IDocumentDriveServer type ([09dfbd4](https://github.com/powerhouse-inc/document-drive/commit/09dfbd41da5a805c842a69bedf168d5cff0976f0))
|
|
139
|
+
|
|
140
|
+
# [1.0.0-experimental.4](https://github.com/powerhouse-inc/document-drive/compare/v1.0.0-experimental.3...v1.0.0-experimental.4) (2024-05-08)
|
|
141
|
+
|
|
142
|
+
### Bug Fixes
|
|
143
|
+
|
|
144
|
+
- add exports ([#157](https://github.com/powerhouse-inc/document-drive/issues/157)) ([59b5753](https://github.com/powerhouse-inc/document-drive/commit/59b57539216aea41f633c7a3f88cf93974c5f0e5))
|
|
145
|
+
|
|
146
|
+
# [1.0.0-experimental.3](https://github.com/powerhouse-inc/document-drive/compare/v1.0.0-experimental.2...v1.0.0-experimental.3) (2024-05-08)
|
|
147
|
+
|
|
148
|
+
### Bug Fixes
|
|
149
|
+
|
|
150
|
+
- added exports ([412aced](https://github.com/powerhouse-inc/document-drive/commit/412acedb614750d6fe0ca23cdcff90e1003a99ad))
|
|
151
|
+
|
|
152
|
+
# [1.0.0-experimental.2](https://github.com/powerhouse-inc/document-drive/compare/v1.0.0-experimental.1...v1.0.0-experimental.2) (2024-05-08)
|
|
153
|
+
|
|
154
|
+
### Features
|
|
155
|
+
|
|
156
|
+
- added operation queues with memory and redis adapters ([#139](https://github.com/powerhouse-inc/document-drive/issues/139)) ([7839cea](https://github.com/powerhouse-inc/document-drive/commit/7839ceadb666d2358a7e06167862c7f179b7ad5a)), closes [#154](https://github.com/powerhouse-inc/document-drive/issues/154)
|
|
157
|
+
|
|
158
|
+
# 1.0.0-experimental.1 (2024-05-07)
|
|
159
|
+
|
|
160
|
+
### Bug Fixes
|
|
161
|
+
|
|
162
|
+
- acknowledge porper document ([c7abd01](https://github.com/powerhouse-inc/document-drive/commit/c7abd0138346b2482546a7a731b22be3e61c8ccd))
|
|
163
|
+
- added name field to getDocument ([2cba21a](https://github.com/powerhouse-inc/document-drive/commit/2cba21aa6c4efcde50d8524f46dd22804b96f7d0))
|
|
164
|
+
- apply auto lint ([803cf91](https://github.com/powerhouse-inc/document-drive/commit/803cf91b3c427dd9c6b1ef9a76c92a4cfa480fbd))
|
|
165
|
+
- cast result of json parse ([83ee12b](https://github.com/powerhouse-inc/document-drive/commit/83ee12be711c74047eb7a4a86e235b7ab16e0a69))
|
|
166
|
+
- delete drive handling ([6547274](https://github.com/powerhouse-inc/document-drive/commit/6547274d4ebe02e737aa429699af39fbabe2184b))
|
|
167
|
+
- duplicate driv entry ([c89c27e](https://github.com/powerhouse-inc/document-drive/commit/c89c27e892a2b1d345cf5b28b00722f3cef88228))
|
|
168
|
+
- generate drive Id if empty string ([9c5044c](https://github.com/powerhouse-inc/document-drive/commit/9c5044cb21b9f311b999ab60612e8e61991d0dad))
|
|
169
|
+
- handle signals in sequence ([9660b08](https://github.com/powerhouse-inc/document-drive/commit/9660b089e554e570ff6312645b799e1af9e09596))
|
|
170
|
+
- missing operations in return values ([6d6cf56](https://github.com/powerhouse-inc/document-drive/commit/6d6cf56426d75b41aad1df0e8735e2a3dcc34221))
|
|
171
|
+
- operation data filter ([0e91f21](https://github.com/powerhouse-inc/document-drive/commit/0e91f2110a5942404b864199af8ebabd00112dea))
|
|
172
|
+
- prisma schema ([bac17dd](https://github.com/powerhouse-inc/document-drive/commit/bac17ddd305788252529706c0c2e8b2207c64838))
|
|
173
|
+
- remove react settings ([6e11865](https://github.com/powerhouse-inc/document-drive/commit/6e1186575de9a457add141fc916d6ea78fd066d5))
|
|
174
|
+
- remove sentry ([75faf6a](https://github.com/powerhouse-inc/document-drive/commit/75faf6acff391bb2f5fac016190a481019a225ee))
|
|
175
|
+
- reverse since change ([3e09362](https://github.com/powerhouse-inc/document-drive/commit/3e093623ca2f315e7faebeee3b3f3fc42bad083b))
|
|
176
|
+
- semantic release ([94077da](https://github.com/powerhouse-inc/document-drive/commit/94077da1f383ee2bf1530af9a4f2749cbc8d4e89))
|
|
177
|
+
- transmitter not found ([0fac28b](https://github.com/powerhouse-inc/document-drive/commit/0fac28b6f3de37b13899075c88fd37a9ce355013))
|
|
178
|
+
- types ([37ebeca](https://github.com/powerhouse-inc/document-drive/commit/37ebeca0ff18a8f60c4604ace6ba17bad730f4cb))
|
|
179
|
+
- update revision field if new operations are added ([45eb259](https://github.com/powerhouse-inc/document-drive/commit/45eb259b479655dde575835ce5c1aa6ad68a94f1))
|
|
180
|
+
- wording issues ([fcbb994](https://github.com/powerhouse-inc/document-drive/commit/fcbb994d49eb035cdb9e553b104b6c8279b7fbef))
|
|
181
|
+
|
|
182
|
+
### Features
|
|
183
|
+
|
|
184
|
+
- add ts-reset lib ([760c3fb](https://github.com/powerhouse-inc/document-drive/commit/760c3fbe685775be506835a1975541539c8fb862))
|
|
185
|
+
- add unique constraint on operation index ([b058834](https://github.com/powerhouse-inc/document-drive/commit/b058834a8b48c2f6db971427e9633a91141c1079))
|
|
186
|
+
- added .env.example ([c781094](https://github.com/powerhouse-inc/document-drive/commit/c781094ad7f7312efeee3e94695e809c5d4c6722))
|
|
187
|
+
- added acknowledge function to pull responder ([e72a721](https://github.com/powerhouse-inc/document-drive/commit/e72a721713bb947b0ba93be1c38797e209865e5c))
|
|
188
|
+
- added addAction methods and addInternalListener ([9a076b3](https://github.com/powerhouse-inc/document-drive/commit/9a076b3155060825d442351a2cd36d935a17ca44))
|
|
189
|
+
- added basic implementation of push and pull transmitter ([1ffb004](https://github.com/powerhouse-inc/document-drive/commit/1ffb00443bf442a17e545f2451e9b399edfcc0d3))
|
|
190
|
+
- added basic push strands implementatioN ([c858b75](https://github.com/powerhouse-inc/document-drive/commit/c858b7544365429ce4535a6c849cf785a5cafcd5))
|
|
191
|
+
- added basic transmitters ([996ff0f](https://github.com/powerhouse-inc/document-drive/commit/996ff0f0c7ea212f1ed96ebc05690d0689bf3429))
|
|
192
|
+
- added clearStorage support ([#82](https://github.com/powerhouse-inc/document-drive/issues/82)) ([323a93f](https://github.com/powerhouse-inc/document-drive/commit/323a93f0aaf1da1bd66b3b3292e35aefd92e9c5f))
|
|
193
|
+
- added clipboard flag to operations table ([f6ce677](https://github.com/powerhouse-inc/document-drive/commit/f6ce677b5e3d723074a40bb834f4029cd1c13b9a))
|
|
194
|
+
- added clipboard to document ([3f8c295](https://github.com/powerhouse-inc/document-drive/commit/3f8c29573cbd08f071492b56f4b31f688af7c9db))
|
|
195
|
+
- added debug and trace methods and logger export ([c7336de](https://github.com/powerhouse-inc/document-drive/commit/c7336de1f4b0e55a4c8d4e5efe5b063c7a4ccc88))
|
|
196
|
+
- added document cache ([deae523](https://github.com/powerhouse-inc/document-drive/commit/deae523851b98fcd250825a4b2918b364525660f))
|
|
197
|
+
- added drive events and improved sync error handling ([647c833](https://github.com/powerhouse-inc/document-drive/commit/647c8339b2166767c240a286d9ea12b032695417))
|
|
198
|
+
- added duplicate folders id tests ([#143](https://github.com/powerhouse-inc/document-drive/issues/143)) ([abd3688](https://github.com/powerhouse-inc/document-drive/commit/abd3688bb284257a8f088e905e1f7cf6de1f8f5d))
|
|
199
|
+
- added experimental release ([#155](https://github.com/powerhouse-inc/document-drive/issues/155)) ([adc52a5](https://github.com/powerhouse-inc/document-drive/commit/adc52a56655ef97de588cb03b6922ab69e72a8e9))
|
|
200
|
+
- added exponential retry backoff to prisma transactions ([b38e72f](https://github.com/powerhouse-inc/document-drive/commit/b38e72fdfd29f4c39e15f606fccc942ec966fffe))
|
|
201
|
+
- added getDrive by slug to memory adapter ([5515c34](https://github.com/powerhouse-inc/document-drive/commit/5515c34ecc18a6f14931a1a66cee454f14dbe03f))
|
|
202
|
+
- added getDriveBySlug ([680cf71](https://github.com/powerhouse-inc/document-drive/commit/680cf71209853689e1414f90f58f079460be94d5))
|
|
203
|
+
- added graphql requests for pull responder ([6578bae](https://github.com/powerhouse-inc/document-drive/commit/6578bae242a0c625531ac8b9bdec4c51727f57e6))
|
|
204
|
+
- added init of pullResponder ([3961916](https://github.com/powerhouse-inc/document-drive/commit/3961916bbb780c0555d3d7e106ab25c80e988c7b))
|
|
205
|
+
- added internal transmitter ([d728aed](https://github.com/powerhouse-inc/document-drive/commit/d728aed8ae692a83a0b998ccd6d7e36496e08b95))
|
|
206
|
+
- added internal transmitter service ([6863620](https://github.com/powerhouse-inc/document-drive/commit/68636202d5bfd081ef979263fd697086529a1d10))
|
|
207
|
+
- added listener functions ([6bc1803](https://github.com/powerhouse-inc/document-drive/commit/6bc180358826adf8a0ce6f247df37d8de245d8e7))
|
|
208
|
+
- added namespace option for browser storage ([2fb312a](https://github.com/powerhouse-inc/document-drive/commit/2fb312a020d6593157c401814e0327d260f64718))
|
|
209
|
+
- added prisma connection ([ef87ca7](https://github.com/powerhouse-inc/document-drive/commit/ef87ca7681c4336a68f15ecf35906cdfc9c8aa0a))
|
|
210
|
+
- added registerListener function to PullResponderTransmitter ([814c160](https://github.com/powerhouse-inc/document-drive/commit/814c1603ef011402db30f373c3b5fbb2d3f12c58))
|
|
211
|
+
- added retry mechanism to transaction ([e01a2cb](https://github.com/powerhouse-inc/document-drive/commit/e01a2cb6e1c64d37655255191fc4af13254201fe))
|
|
212
|
+
- added semantic release ([f1c31a6](https://github.com/powerhouse-inc/document-drive/commit/f1c31a6bd2012ac6d51a7a3a5b94f656887e6b5a))
|
|
213
|
+
- added sequelize adapter ([#19](https://github.com/powerhouse-inc/document-drive/issues/19)) ([71529d8](https://github.com/powerhouse-inc/document-drive/commit/71529d8d60eb6ff0390bdebb1bb660fb680c99f3))
|
|
214
|
+
- added strandUpdate events ([1143716](https://github.com/powerhouse-inc/document-drive/commit/11437161fd1b0b0f37a7ef50833022507e4699f3))
|
|
215
|
+
- added support for update noop operations ([#42](https://github.com/powerhouse-inc/document-drive/issues/42)) ([c59e15a](https://github.com/powerhouse-inc/document-drive/commit/c59e15a69f08f2abe654ce15c090f1212aee7606))
|
|
216
|
+
- added update operations in prisma storage addDocumentOperations ([#71](https://github.com/powerhouse-inc/document-drive/issues/71)) ([eeb96af](https://github.com/powerhouse-inc/document-drive/commit/eeb96afbad520f90ce8c9b71bf573950dadadf4b))
|
|
217
|
+
- added winston as default logger ([77c2451](https://github.com/powerhouse-inc/document-drive/commit/77c2451e4ceaddb11dd378a89f89c4245db51cb0))
|
|
218
|
+
- also transmit scope state on internal transmitters ([c75a5d5](https://github.com/powerhouse-inc/document-drive/commit/c75a5d5b01ddaf166f0d86cd0afab4f888757a17))
|
|
219
|
+
- avoid duplicating sync units on listener manager ([ad9a015](https://github.com/powerhouse-inc/document-drive/commit/ad9a015d8b50ba444362b85b1f57b9349037c325))
|
|
220
|
+
- bug fixing ([1bb6097](https://github.com/powerhouse-inc/document-drive/commit/1bb60972588b5b95d2bb52354d8b35319d21eed5))
|
|
221
|
+
- bump document-model dep ([7442070](https://github.com/powerhouse-inc/document-drive/commit/744207006dad191e214f0547d78d185530476560))
|
|
222
|
+
- bump libs ([8b18624](https://github.com/powerhouse-inc/document-drive/commit/8b18624c05792d086b31a0b42b99cf42f3dc0627))
|
|
223
|
+
- bump lint deps ([c4a68c9](https://github.com/powerhouse-inc/document-drive/commit/c4a68c9d1c8fea85d85d18eebf66a53d57438dbd))
|
|
224
|
+
- cache updated document as soon as possible ([0b3327c](https://github.com/powerhouse-inc/document-drive/commit/0b3327cea01b508e0c07f05dee7fdcb4a6aaea35))
|
|
225
|
+
- change unimportant rules to warn ([3958150](https://github.com/powerhouse-inc/document-drive/commit/395815033e8fe5e937342b5b2ba1d57ba64cbc8d))
|
|
226
|
+
- check if there are conflicting operations when storing operations ([2487ab1](https://github.com/powerhouse-inc/document-drive/commit/2487ab10017ab819c560a115409829027dad9fda))
|
|
227
|
+
- continue initializing remaining drives if one fails ([5cd9962](https://github.com/powerhouse-inc/document-drive/commit/5cd9962785e399aa5eb06f2b87a97fed72b51178))
|
|
228
|
+
- defined types and functions ([0b57ae9](https://github.com/powerhouse-inc/document-drive/commit/0b57ae969f023f06ffc4859d1f8f514ef7a2508f))
|
|
229
|
+
- delay sync updates after receiving strands ([e1d3a87](https://github.com/powerhouse-inc/document-drive/commit/e1d3a871a99042d397b7c7928432028251fba55d))
|
|
230
|
+
- delete sync units before removing document ([6b54e1d](https://github.com/powerhouse-inc/document-drive/commit/6b54e1dfb7249c0c6e061e916783ac92cb5d1481))
|
|
231
|
+
- do not consider already skipped operations when adding operations to document ([0778863](https://github.com/powerhouse-inc/document-drive/commit/077886351a1dbde484331a30778fa4daf12cf2a2))
|
|
232
|
+
- don't send operation with index equal to fromRevision ([f279046](https://github.com/powerhouse-inc/document-drive/commit/f279046f156c3b9c35c1c7cdd950319078f09e04))
|
|
233
|
+
- emit missing operation error ([8250681](https://github.com/powerhouse-inc/document-drive/commit/82506819148565aa6a7034b8e4a6d27ec9d3a0a3))
|
|
234
|
+
- emit single sync status event for multiple strands ([1b9cf53](https://github.com/powerhouse-inc/document-drive/commit/1b9cf5313cca31f696c104b169d1210a3c2b829f))
|
|
235
|
+
- emit sync events when updating listeners ([b1899bb](https://github.com/powerhouse-inc/document-drive/commit/b1899bbe6a3d555fc6ea5236c55b1417def11ec2))
|
|
236
|
+
- filter out drive strand if filter excludes it ([a6d3cd2](https://github.com/powerhouse-inc/document-drive/commit/a6d3cd25e63c917cf0033429ab75d265e76bde32))
|
|
237
|
+
- fix filter operations with since timestamp ([8a19d30](https://github.com/powerhouse-inc/document-drive/commit/8a19d30f892a9862be15c670d8114f4493198245))
|
|
238
|
+
- fixed array access error ([ed1a3a9](https://github.com/powerhouse-inc/document-drive/commit/ed1a3a953a0a52d629eb8a69f83ce18b976076af))
|
|
239
|
+
- fixed date comparison ([6d28a3b](https://github.com/powerhouse-inc/document-drive/commit/6d28a3bfd6b338deaa5ede718b7a9ebc0cccf498))
|
|
240
|
+
- fixed state on internal transmitter strand ([5dbe930](https://github.com/powerhouse-inc/document-drive/commit/5dbe930af551375117d36f9b4d36fd613de8d9f7))
|
|
241
|
+
- fixed unit tests ([46edd15](https://github.com/powerhouse-inc/document-drive/commit/46edd150aa4deb8814b4d1e6bd41b13e42b6ae91))
|
|
242
|
+
- force deploy ([#126](https://github.com/powerhouse-inc/document-drive/issues/126)) ([e02d22e](https://github.com/powerhouse-inc/document-drive/commit/e02d22ee00471f3f20544cc27155108143d22512))
|
|
243
|
+
- get drive by id or slug ([95c171e](https://github.com/powerhouse-inc/document-drive/commit/95c171e97eb7e27a65129d7fc400fae862d62fdc))
|
|
244
|
+
- implementation of switchboard transmitter ([cfbdc85](https://github.com/powerhouse-inc/document-drive/commit/cfbdc8570dfc86b6fe949c5246b240c634917a99))
|
|
245
|
+
- implemented operation validation for document operations ([39bedf4](https://github.com/powerhouse-inc/document-drive/commit/39bedf43d2a3b1fda51d82f26b7f92b93a7cce5b))
|
|
246
|
+
- improve add operations insert statement ([1c238ce](https://github.com/powerhouse-inc/document-drive/commit/1c238cef779e62bf89d2341a05a3af3633b9ec59))
|
|
247
|
+
- improved error reporting and fixed operation hash check ([c6cc70f](https://github.com/powerhouse-inc/document-drive/commit/c6cc70f627dbdd2eab6399543fd41544fb959506))
|
|
248
|
+
- improved operation errors ([a05772d](https://github.com/powerhouse-inc/document-drive/commit/a05772d023c600dd85d50be65f1ee80b19d546ef))
|
|
249
|
+
- init listener manager ([0edb539](https://github.com/powerhouse-inc/document-drive/commit/0edb53988f691672a3c3e0ce3179142bc09b6b58))
|
|
250
|
+
- initial work on tests migration ([3046dc1](https://github.com/powerhouse-inc/document-drive/commit/3046dc16a0405476a0af22aaf605be6ce43bf4c5))
|
|
251
|
+
- instantiate listeners on server initialization ([367396d](https://github.com/powerhouse-inc/document-drive/commit/367396d8205b6ba81f7c4261d516be2eebfb664e))
|
|
252
|
+
- integrated append only conflict resolution ([#153](https://github.com/powerhouse-inc/document-drive/issues/153)) ([5ecb264](https://github.com/powerhouse-inc/document-drive/commit/5ecb264ec6a4804653ff81d213c42d5e8cfb341b))
|
|
253
|
+
- only add listeners once ([12ca458](https://github.com/powerhouse-inc/document-drive/commit/12ca458ce9a4b5577fc45c5a8bcca5d905bd80ee))
|
|
254
|
+
- only emit event when syncStatus changes ([1cedf61](https://github.com/powerhouse-inc/document-drive/commit/1cedf6110fead2410a61d0d8f261a57d11c48fa1))
|
|
255
|
+
- proceed with loop only after previous request is done ([d7eec70](https://github.com/powerhouse-inc/document-drive/commit/d7eec7044233c060c56e98698360070198a540dd))
|
|
256
|
+
- replaced winston with console ([bbb7fc5](https://github.com/powerhouse-inc/document-drive/commit/bbb7fc53fa8cb5da97c6068e95ab77d5149d87fc))
|
|
257
|
+
- run pull loop immediately for the first time ([802a126](https://github.com/powerhouse-inc/document-drive/commit/802a126e4ec90b5b62ad3e228cee73daa06cf651))
|
|
258
|
+
- set sync status success if no new strands ([7a9627c](https://github.com/powerhouse-inc/document-drive/commit/7a9627cd72c80ae3c56a933bcd92c3da87529e00))
|
|
259
|
+
- skip hash generation when replaying documents ([697ea35](https://github.com/powerhouse-inc/document-drive/commit/697ea35ae79a6697c8bfd4810a8d28139bf1a01f))
|
|
260
|
+
- stop drive sync if triggers are removed ([dcf2df2](https://github.com/powerhouse-inc/document-drive/commit/dcf2df256f43f234bfb9188c750521fb57df880f))
|
|
261
|
+
- store and sync operation context ([b2e5d5e](https://github.com/powerhouse-inc/document-drive/commit/b2e5d5efe59ed382fe6f984c193959218cbac4e0))
|
|
262
|
+
- sync protocol draft ([f5ef843](https://github.com/powerhouse-inc/document-drive/commit/f5ef8436f9dfa50b546c77363bc8edfb887d671c))
|
|
263
|
+
- trigger release ([a99370f](https://github.com/powerhouse-inc/document-drive/commit/a99370fbfea65bbc20f3fc3c39f0a26087795603))
|
|
264
|
+
- trigger release ([75d8cc7](https://github.com/powerhouse-inc/document-drive/commit/75d8cc73c7022ecb6c71945486539e3b61ad9e1d))
|
|
265
|
+
- trigger release ([33209d5](https://github.com/powerhouse-inc/document-drive/commit/33209d59cf4f44946b524a88c9008fef40aceea9))
|
|
266
|
+
- update config ([c0197a6](https://github.com/powerhouse-inc/document-drive/commit/c0197a6bd86cdb706883e9cd7f0cad017fa115de))
|
|
267
|
+
- update document-model and document-model-libs ([#145](https://github.com/powerhouse-inc/document-drive/issues/145)) ([87dff17](https://github.com/powerhouse-inc/document-drive/commit/87dff17b5c8a76010e09dff2d8e6dba55fb262a5))
|
|
268
|
+
- update document-model-libs version ([#100](https://github.com/powerhouse-inc/document-drive/issues/100)) ([0648328](https://github.com/powerhouse-inc/document-drive/commit/06483288af745f94aa9a81e526a03ae72197aa99))
|
|
269
|
+
- update updatedOperations instead of create ([f87691d](https://github.com/powerhouse-inc/document-drive/commit/f87691dadee45b08f357f5b9df7374bbf7dd39f1))
|
|
270
|
+
- updated document model dep ([37fa455](https://github.com/powerhouse-inc/document-drive/commit/37fa4556c44b000837bcb95673c90cf06af784c7))
|
|
271
|
+
- updated document model dep ([c9876dc](https://github.com/powerhouse-inc/document-drive/commit/c9876dc83462d80b1c4c4213f9aab6f791f60f61))
|
|
272
|
+
- updated document-model ([6d2eb8b](https://github.com/powerhouse-inc/document-drive/commit/6d2eb8b6eb35696b84d6dbe4586ec410ff5c61e6))
|
|
273
|
+
- updated document-model-libs dep ([44bced0](https://github.com/powerhouse-inc/document-drive/commit/44bced07a07d6f65f105f342c8b07f98b5f1bbc4))
|
|
274
|
+
- updated document-model-libs dep ([e73b813](https://github.com/powerhouse-inc/document-drive/commit/e73b81352899b1478512f2e9a50d61e534c6c360))
|
|
275
|
+
- updated prisma schema with syncUnits and listeners ([224cbfe](https://github.com/powerhouse-inc/document-drive/commit/224cbfe51d97a2107ea114cc00a7a1665278f85c))
|
|
276
|
+
- use prisma transaction ([4a02fb8](https://github.com/powerhouse-inc/document-drive/commit/4a02fb8c7d2b93253c4cd7104318772e3b199b61))
|
|
277
|
+
- use reshuffleByTimestamp + added BasciClient + tests ([#129](https://github.com/powerhouse-inc/document-drive/issues/129)) ([8e0cfae](https://github.com/powerhouse-inc/document-drive/commit/8e0cfae5e0d2de52064689f023e4a80c170d8c84))
|
|
278
|
+
- use serializable transactions ([267cae4](https://github.com/powerhouse-inc/document-drive/commit/267cae47ba3fec4a4863169350cbf961172caebf))
|
|
279
|
+
|
|
280
|
+
# [1.0.0-alpha.54](https://github.com/powerhouse-inc/document-drive/compare/v1.0.0-alpha.53...v1.0.0-alpha.54) (2024-05-07)
|
|
281
|
+
|
|
282
|
+
### Features
|
|
283
|
+
|
|
284
|
+
- added experimental release ([#155](https://github.com/powerhouse-inc/document-drive/issues/155)) ([adc52a5](https://github.com/powerhouse-inc/document-drive/commit/adc52a56655ef97de588cb03b6922ab69e72a8e9))
|
|
285
|
+
|
|
286
|
+
# [1.0.0-alpha.53](https://github.com/powerhouse-inc/document-drive/compare/v1.0.0-alpha.52...v1.0.0-alpha.53) (2024-04-30)
|
|
287
|
+
|
|
288
|
+
### Features
|
|
289
|
+
|
|
290
|
+
- added getDrive by slug to memory adapter ([5515c34](https://github.com/powerhouse-inc/document-drive/commit/5515c34ecc18a6f14931a1a66cee454f14dbe03f))
|
|
291
|
+
- added getDriveBySlug ([680cf71](https://github.com/powerhouse-inc/document-drive/commit/680cf71209853689e1414f90f58f079460be94d5))
|
|
292
|
+
- get drive by id or slug ([95c171e](https://github.com/powerhouse-inc/document-drive/commit/95c171e97eb7e27a65129d7fc400fae862d62fdc))
|
|
293
|
+
|
|
294
|
+
# [1.0.0-alpha.52](https://github.com/powerhouse-inc/document-drive/compare/v1.0.0-alpha.51...v1.0.0-alpha.52) (2024-04-24)
|
|
295
|
+
|
|
296
|
+
### Features
|
|
297
|
+
|
|
298
|
+
- store and sync operation context ([b2e5d5e](https://github.com/powerhouse-inc/document-drive/commit/b2e5d5efe59ed382fe6f984c193959218cbac4e0))
|
|
299
|
+
|
|
300
|
+
# [1.0.0-alpha.51](https://github.com/powerhouse-inc/document-drive/compare/v1.0.0-alpha.50...v1.0.0-alpha.51) (2024-04-24)
|
|
301
|
+
|
|
302
|
+
### Features
|
|
303
|
+
|
|
304
|
+
- added exponential retry backoff to prisma transactions ([b38e72f](https://github.com/powerhouse-inc/document-drive/commit/b38e72fdfd29f4c39e15f606fccc942ec966fffe))
|
|
305
|
+
|
|
306
|
+
# [1.0.0-alpha.50](https://github.com/powerhouse-inc/document-drive/compare/v1.0.0-alpha.49...v1.0.0-alpha.50) (2024-04-23)
|
|
307
|
+
|
|
308
|
+
### Features
|
|
309
|
+
|
|
310
|
+
- update document-model and document-model-libs ([#145](https://github.com/powerhouse-inc/document-drive/issues/145)) ([87dff17](https://github.com/powerhouse-inc/document-drive/commit/87dff17b5c8a76010e09dff2d8e6dba55fb262a5))
|
|
311
|
+
|
|
312
|
+
# [1.0.0-alpha.49](https://github.com/powerhouse-inc/document-drive/compare/v1.0.0-alpha.48...v1.0.0-alpha.49) (2024-04-23)
|
|
313
|
+
|
|
314
|
+
### Features
|
|
315
|
+
|
|
316
|
+
- added duplicate folders id tests ([#143](https://github.com/powerhouse-inc/document-drive/issues/143)) ([abd3688](https://github.com/powerhouse-inc/document-drive/commit/abd3688bb284257a8f088e905e1f7cf6de1f8f5d))
|
|
317
|
+
|
|
318
|
+
# [1.0.0-alpha.48](https://github.com/powerhouse-inc/document-drive/compare/v1.0.0-alpha.47...v1.0.0-alpha.48) (2024-04-23)
|
|
319
|
+
|
|
320
|
+
### Features
|
|
321
|
+
|
|
322
|
+
- added retry mechanism to transaction ([e01a2cb](https://github.com/powerhouse-inc/document-drive/commit/e01a2cb6e1c64d37655255191fc4af13254201fe))
|
|
323
|
+
|
|
324
|
+
# [1.0.0-alpha.47](https://github.com/powerhouse-inc/document-drive/compare/v1.0.0-alpha.46...v1.0.0-alpha.47) (2024-04-23)
|
|
325
|
+
|
|
326
|
+
### Features
|
|
327
|
+
|
|
328
|
+
- use serializable transactions ([267cae4](https://github.com/powerhouse-inc/document-drive/commit/267cae47ba3fec4a4863169350cbf961172caebf))
|
|
329
|
+
|
|
330
|
+
# [1.0.0-alpha.46](https://github.com/powerhouse-inc/document-drive/compare/v1.0.0-alpha.45...v1.0.0-alpha.46) (2024-04-23)
|
|
331
|
+
|
|
332
|
+
### Features
|
|
333
|
+
|
|
334
|
+
- do not consider already skipped operations when adding operations to document ([0778863](https://github.com/powerhouse-inc/document-drive/commit/077886351a1dbde484331a30778fa4daf12cf2a2))
|
|
335
|
+
|
|
336
|
+
# [1.0.0-alpha.45](https://github.com/powerhouse-inc/document-drive/compare/v1.0.0-alpha.44...v1.0.0-alpha.45) (2024-04-22)
|
|
337
|
+
|
|
338
|
+
### Features
|
|
339
|
+
|
|
340
|
+
- continue initializing remaining drives if one fails ([5cd9962](https://github.com/powerhouse-inc/document-drive/commit/5cd9962785e399aa5eb06f2b87a97fed72b51178))
|
|
341
|
+
|
|
342
|
+
# [1.0.0-alpha.44](https://github.com/powerhouse-inc/document-drive/compare/v1.0.0-alpha.43...v1.0.0-alpha.44) (2024-04-22)
|
|
343
|
+
|
|
344
|
+
### Features
|
|
345
|
+
|
|
346
|
+
- cache updated document as soon as possible ([0b3327c](https://github.com/powerhouse-inc/document-drive/commit/0b3327cea01b508e0c07f05dee7fdcb4a6aaea35))
|
|
347
|
+
|
|
348
|
+
# [1.0.0-alpha.43](https://github.com/powerhouse-inc/document-drive/compare/v1.0.0-alpha.42...v1.0.0-alpha.43) (2024-04-19)
|
|
349
|
+
|
|
350
|
+
### Features
|
|
351
|
+
|
|
352
|
+
- fixed array access error ([ed1a3a9](https://github.com/powerhouse-inc/document-drive/commit/ed1a3a953a0a52d629eb8a69f83ce18b976076af))
|
|
353
|
+
|
|
354
|
+
# [1.0.0-alpha.42](https://github.com/powerhouse-inc/document-drive/compare/v1.0.0-alpha.41...v1.0.0-alpha.42) (2024-04-19)
|
|
355
|
+
|
|
356
|
+
### Features
|
|
357
|
+
|
|
358
|
+
- trigger release ([a99370f](https://github.com/powerhouse-inc/document-drive/commit/a99370fbfea65bbc20f3fc3c39f0a26087795603))
|
|
359
|
+
|
|
360
|
+
# [1.0.0-alpha.41](https://github.com/powerhouse-inc/document-drive/compare/v1.0.0-alpha.40...v1.0.0-alpha.41) (2024-04-18)
|
|
361
|
+
|
|
362
|
+
### Features
|
|
363
|
+
|
|
364
|
+
- updated document-model ([6d2eb8b](https://github.com/powerhouse-inc/document-drive/commit/6d2eb8b6eb35696b84d6dbe4586ec410ff5c61e6))
|
|
365
|
+
|
|
366
|
+
# [1.0.0-alpha.40](https://github.com/powerhouse-inc/document-drive/compare/v1.0.0-alpha.39...v1.0.0-alpha.40) (2024-04-18)
|
|
367
|
+
|
|
368
|
+
### Features
|
|
369
|
+
|
|
370
|
+
- skip hash generation when replaying documents ([697ea35](https://github.com/powerhouse-inc/document-drive/commit/697ea35ae79a6697c8bfd4810a8d28139bf1a01f))
|
|
371
|
+
|
|
372
|
+
# [1.0.0-alpha.39](https://github.com/powerhouse-inc/document-drive/compare/v1.0.0-alpha.38...v1.0.0-alpha.39) (2024-04-18)
|
|
373
|
+
|
|
374
|
+
### Features
|
|
375
|
+
|
|
376
|
+
- trigger release ([75d8cc7](https://github.com/powerhouse-inc/document-drive/commit/75d8cc73c7022ecb6c71945486539e3b61ad9e1d))
|
|
377
|
+
|
|
378
|
+
# [1.0.0-alpha.38](https://github.com/powerhouse-inc/document-drive/compare/v1.0.0-alpha.37...v1.0.0-alpha.38) (2024-04-17)
|
|
379
|
+
|
|
380
|
+
### Bug Fixes
|
|
381
|
+
|
|
382
|
+
- types ([37ebeca](https://github.com/powerhouse-inc/document-drive/commit/37ebeca0ff18a8f60c4604ace6ba17bad730f4cb))
|
|
383
|
+
|
|
384
|
+
### Features
|
|
385
|
+
|
|
386
|
+
- added document cache ([deae523](https://github.com/powerhouse-inc/document-drive/commit/deae523851b98fcd250825a4b2918b364525660f))
|
|
387
|
+
|
|
388
|
+
# [1.0.0-alpha.37](https://github.com/powerhouse-inc/document-drive/compare/v1.0.0-alpha.36...v1.0.0-alpha.37) (2024-04-17)
|
|
389
|
+
|
|
390
|
+
### Features
|
|
391
|
+
|
|
392
|
+
- fixed unit tests ([46edd15](https://github.com/powerhouse-inc/document-drive/commit/46edd150aa4deb8814b4d1e6bd41b13e42b6ae91))
|
|
393
|
+
- initial work on tests migration ([3046dc1](https://github.com/powerhouse-inc/document-drive/commit/3046dc16a0405476a0af22aaf605be6ce43bf4c5))
|
|
394
|
+
|
|
395
|
+
# [1.0.0-alpha.36](https://github.com/powerhouse-inc/document-drive/compare/v1.0.0-alpha.35...v1.0.0-alpha.36) (2024-04-16)
|
|
396
|
+
|
|
397
|
+
### Features
|
|
398
|
+
|
|
399
|
+
- added namespace option for browser storage ([2fb312a](https://github.com/powerhouse-inc/document-drive/commit/2fb312a020d6593157c401814e0327d260f64718))
|
|
400
|
+
|
|
401
|
+
# [1.0.0-alpha.35](https://github.com/powerhouse-inc/document-drive/compare/v1.0.0-alpha.34...v1.0.0-alpha.35) (2024-04-16)
|
|
402
|
+
|
|
403
|
+
### Features
|
|
404
|
+
|
|
405
|
+
- use reshuffleByTimestamp + added BasciClient + tests ([#129](https://github.com/powerhouse-inc/document-drive/issues/129)) ([8e0cfae](https://github.com/powerhouse-inc/document-drive/commit/8e0cfae5e0d2de52064689f023e4a80c170d8c84))
|
|
406
|
+
|
|
407
|
+
# [1.0.0-alpha.34](https://github.com/powerhouse-inc/document-drive/compare/v1.0.0-alpha.33...v1.0.0-alpha.34) (2024-04-12)
|
|
408
|
+
|
|
409
|
+
### Features
|
|
410
|
+
|
|
411
|
+
- force deploy ([#126](https://github.com/powerhouse-inc/document-drive/issues/126)) ([e02d22e](https://github.com/powerhouse-inc/document-drive/commit/e02d22ee00471f3f20544cc27155108143d22512))
|
|
412
|
+
|
|
413
|
+
# [1.0.0-alpha.33](https://github.com/powerhouse-inc/document-drive/compare/v1.0.0-alpha.32...v1.0.0-alpha.33) (2024-04-11)
|
|
414
|
+
|
|
415
|
+
### Features
|
|
416
|
+
|
|
417
|
+
- added debug and trace methods and logger export ([c7336de](https://github.com/powerhouse-inc/document-drive/commit/c7336de1f4b0e55a4c8d4e5efe5b063c7a4ccc88))
|
|
418
|
+
|
|
419
|
+
# [1.0.0-alpha.32](https://github.com/powerhouse-inc/document-drive/compare/v1.0.0-alpha.31...v1.0.0-alpha.32) (2024-04-11)
|
|
420
|
+
|
|
421
|
+
### Features
|
|
422
|
+
|
|
423
|
+
- replaced winston with console ([bbb7fc5](https://github.com/powerhouse-inc/document-drive/commit/bbb7fc53fa8cb5da97c6068e95ab77d5149d87fc))
|
|
424
|
+
|
|
425
|
+
# [1.0.0-alpha.31](https://github.com/powerhouse-inc/document-drive/compare/v1.0.0-alpha.30...v1.0.0-alpha.31) (2024-04-10)
|
|
426
|
+
|
|
427
|
+
### Bug Fixes
|
|
428
|
+
|
|
429
|
+
- remove sentry ([75faf6a](https://github.com/powerhouse-inc/document-drive/commit/75faf6acff391bb2f5fac016190a481019a225ee))
|
|
430
|
+
|
|
431
|
+
# [1.0.0-alpha.30](https://github.com/powerhouse-inc/document-drive/compare/v1.0.0-alpha.29...v1.0.0-alpha.30) (2024-04-10)
|
|
432
|
+
|
|
433
|
+
### Bug Fixes
|
|
434
|
+
|
|
435
|
+
- delete drive handling ([6547274](https://github.com/powerhouse-inc/document-drive/commit/6547274d4ebe02e737aa429699af39fbabe2184b))
|
|
436
|
+
|
|
437
|
+
# [1.0.0-alpha.29](https://github.com/powerhouse-inc/document-drive/compare/v1.0.0-alpha.28...v1.0.0-alpha.29) (2024-04-10)
|
|
438
|
+
|
|
439
|
+
### Features
|
|
440
|
+
|
|
441
|
+
- added winston as default logger ([77c2451](https://github.com/powerhouse-inc/document-drive/commit/77c2451e4ceaddb11dd378a89f89c4245db51cb0))
|
|
442
|
+
|
|
443
|
+
# [1.0.0-alpha.28](https://github.com/powerhouse-inc/document-drive/compare/v1.0.0-alpha.27...v1.0.0-alpha.28) (2024-04-05)
|
|
444
|
+
|
|
445
|
+
### Features
|
|
446
|
+
|
|
447
|
+
- avoid duplicating sync units on listener manager ([ad9a015](https://github.com/powerhouse-inc/document-drive/commit/ad9a015d8b50ba444362b85b1f57b9349037c325))
|
|
448
|
+
- delay sync updates after receiving strands ([e1d3a87](https://github.com/powerhouse-inc/document-drive/commit/e1d3a871a99042d397b7c7928432028251fba55d))
|
|
449
|
+
|
|
450
|
+
# [1.0.0-alpha.27](https://github.com/powerhouse-inc/document-drive/compare/v1.0.0-alpha.26...v1.0.0-alpha.27) (2024-04-03)
|
|
451
|
+
|
|
452
|
+
### Features
|
|
453
|
+
|
|
454
|
+
- updated document-model-libs dep ([44bced0](https://github.com/powerhouse-inc/document-drive/commit/44bced07a07d6f65f105f342c8b07f98b5f1bbc4))
|
|
455
|
+
- updated document-model-libs dep ([e73b813](https://github.com/powerhouse-inc/document-drive/commit/e73b81352899b1478512f2e9a50d61e534c6c360))
|
|
456
|
+
|
|
457
|
+
# [1.0.0-alpha.26](https://github.com/powerhouse-inc/document-drive/compare/v1.0.0-alpha.25...v1.0.0-alpha.26) (2024-04-03)
|
|
458
|
+
|
|
459
|
+
### Features
|
|
460
|
+
|
|
461
|
+
- only add listeners once ([12ca458](https://github.com/powerhouse-inc/document-drive/commit/12ca458ce9a4b5577fc45c5a8bcca5d905bd80ee))
|
|
462
|
+
|
|
463
|
+
# [1.0.0-alpha.25](https://github.com/powerhouse-inc/document-drive/compare/v1.0.0-alpha.24...v1.0.0-alpha.25) (2024-04-02)
|
|
464
|
+
|
|
465
|
+
### Features
|
|
466
|
+
|
|
467
|
+
- update updatedOperations instead of create ([f87691d](https://github.com/powerhouse-inc/document-drive/commit/f87691dadee45b08f357f5b9df7374bbf7dd39f1))
|
|
468
|
+
- use prisma transaction ([4a02fb8](https://github.com/powerhouse-inc/document-drive/commit/4a02fb8c7d2b93253c4cd7104318772e3b199b61))
|
|
469
|
+
|
|
470
|
+
# [1.0.0-alpha.24](https://github.com/powerhouse-inc/document-drive/compare/v1.0.0-alpha.23...v1.0.0-alpha.24) (2024-04-01)
|
|
471
|
+
|
|
472
|
+
### Features
|
|
473
|
+
|
|
474
|
+
- add unique constraint on operation index ([b058834](https://github.com/powerhouse-inc/document-drive/commit/b058834a8b48c2f6db971427e9633a91141c1079))
|
|
475
|
+
- check if there are conflicting operations when storing operations ([2487ab1](https://github.com/powerhouse-inc/document-drive/commit/2487ab10017ab819c560a115409829027dad9fda))
|
|
476
|
+
|
|
477
|
+
# [1.0.0-alpha.23](https://github.com/powerhouse-inc/document-drive/compare/v1.0.0-alpha.22...v1.0.0-alpha.23) (2024-03-29)
|
|
478
|
+
|
|
479
|
+
### Bug Fixes
|
|
480
|
+
|
|
481
|
+
- generate drive Id if empty string ([9c5044c](https://github.com/powerhouse-inc/document-drive/commit/9c5044cb21b9f311b999ab60612e8e61991d0dad))
|
|
482
|
+
|
|
483
|
+
# [1.0.0-alpha.22](https://github.com/powerhouse-inc/document-drive/compare/v1.0.0-alpha.21...v1.0.0-alpha.22) (2024-03-29)
|
|
484
|
+
|
|
485
|
+
### Features
|
|
486
|
+
|
|
487
|
+
- emit missing operation error ([8250681](https://github.com/powerhouse-inc/document-drive/commit/82506819148565aa6a7034b8e4a6d27ec9d3a0a3))
|
|
488
|
+
|
|
489
|
+
# [1.0.0-alpha.21](https://github.com/powerhouse-inc/document-drive/compare/v1.0.0-alpha.20...v1.0.0-alpha.21) (2024-03-29)
|
|
490
|
+
|
|
491
|
+
### Features
|
|
492
|
+
|
|
493
|
+
- update document-model-libs version ([#100](https://github.com/powerhouse-inc/document-drive/issues/100)) ([0648328](https://github.com/powerhouse-inc/document-drive/commit/06483288af745f94aa9a81e526a03ae72197aa99))
|
|
494
|
+
|
|
495
|
+
# [1.0.0-alpha.20](https://github.com/powerhouse-inc/document-drive/compare/v1.0.0-alpha.19...v1.0.0-alpha.20) (2024-03-28)
|
|
496
|
+
|
|
497
|
+
### Features
|
|
498
|
+
|
|
499
|
+
- updated document model dep ([37fa455](https://github.com/powerhouse-inc/document-drive/commit/37fa4556c44b000837bcb95673c90cf06af784c7))
|
|
500
|
+
|
|
501
|
+
# [1.0.0-alpha.19](https://github.com/powerhouse-inc/document-drive/compare/v1.0.0-alpha.18...v1.0.0-alpha.19) (2024-03-28)
|
|
502
|
+
|
|
503
|
+
### Features
|
|
504
|
+
|
|
505
|
+
- updated document model dep ([c9876dc](https://github.com/powerhouse-inc/document-drive/commit/c9876dc83462d80b1c4c4213f9aab6f791f60f61))
|
|
506
|
+
|
|
507
|
+
# [1.0.0-alpha.18](https://github.com/powerhouse-inc/document-drive/compare/v1.0.0-alpha.17...v1.0.0-alpha.18) (2024-03-27)
|
|
508
|
+
|
|
509
|
+
### Features
|
|
510
|
+
|
|
511
|
+
- only emit event when syncStatus changes ([1cedf61](https://github.com/powerhouse-inc/document-drive/commit/1cedf6110fead2410a61d0d8f261a57d11c48fa1))
|
|
512
|
+
|
|
513
|
+
# [1.0.0-alpha.17](https://github.com/powerhouse-inc/document-drive/compare/v1.0.0-alpha.16...v1.0.0-alpha.17) (2024-03-06)
|
|
514
|
+
|
|
515
|
+
### Features
|
|
516
|
+
|
|
517
|
+
- added clearStorage support ([#82](https://github.com/powerhouse-inc/document-drive/issues/82)) ([323a93f](https://github.com/powerhouse-inc/document-drive/commit/323a93f0aaf1da1bd66b3b3292e35aefd92e9c5f))
|
|
518
|
+
|
|
519
|
+
# [1.0.0-alpha.16](https://github.com/powerhouse-inc/document-drive/compare/v1.0.0-alpha.15...v1.0.0-alpha.16) (2024-03-04)
|
|
520
|
+
|
|
521
|
+
### Features
|
|
522
|
+
|
|
523
|
+
- fixed state on internal transmitter strand ([5dbe930](https://github.com/powerhouse-inc/document-drive/commit/5dbe930af551375117d36f9b4d36fd613de8d9f7))
|
|
524
|
+
|
|
525
|
+
# [1.0.0-alpha.15](https://github.com/powerhouse-inc/document-drive/compare/v1.0.0-alpha.14...v1.0.0-alpha.15) (2024-03-04)
|
|
526
|
+
|
|
527
|
+
### Features
|
|
528
|
+
|
|
529
|
+
- instantiate listeners on server initialization ([367396d](https://github.com/powerhouse-inc/document-drive/commit/367396d8205b6ba81f7c4261d516be2eebfb664e))
|
|
530
|
+
|
|
531
|
+
# [1.0.0-alpha.14](https://github.com/powerhouse-inc/document-drive/compare/v1.0.0-alpha.13...v1.0.0-alpha.14) (2024-02-29)
|
|
532
|
+
|
|
533
|
+
### Features
|
|
534
|
+
|
|
535
|
+
- added addAction methods and addInternalListener ([9a076b3](https://github.com/powerhouse-inc/document-drive/commit/9a076b3155060825d442351a2cd36d935a17ca44))
|
|
536
|
+
- also transmit scope state on internal transmitters ([c75a5d5](https://github.com/powerhouse-inc/document-drive/commit/c75a5d5b01ddaf166f0d86cd0afab4f888757a17))
|
|
537
|
+
|
|
538
|
+
# [1.0.0-alpha.13](https://github.com/powerhouse-inc/document-drive/compare/v1.0.0-alpha.12...v1.0.0-alpha.13) (2024-02-28)
|
|
539
|
+
|
|
540
|
+
### Bug Fixes
|
|
541
|
+
|
|
542
|
+
- wording issues ([fcbb994](https://github.com/powerhouse-inc/document-drive/commit/fcbb994d49eb035cdb9e553b104b6c8279b7fbef))
|
|
543
|
+
|
|
544
|
+
### Features
|
|
545
|
+
|
|
546
|
+
- added internal transmitter ([d728aed](https://github.com/powerhouse-inc/document-drive/commit/d728aed8ae692a83a0b998ccd6d7e36496e08b95))
|
|
547
|
+
|
|
548
|
+
# [1.0.0-alpha.12](https://github.com/powerhouse-inc/document-drive/compare/v1.0.0-alpha.11...v1.0.0-alpha.12) (2024-02-26)
|
|
549
|
+
|
|
550
|
+
### Features
|
|
551
|
+
|
|
552
|
+
- stop drive sync if triggers are removed ([dcf2df2](https://github.com/powerhouse-inc/document-drive/commit/dcf2df256f43f234bfb9188c750521fb57df880f))
|
|
553
|
+
|
|
554
|
+
# [1.0.0-alpha.11](https://github.com/powerhouse-inc/document-drive/compare/v1.0.0-alpha.10...v1.0.0-alpha.11) (2024-02-22)
|
|
555
|
+
|
|
556
|
+
### Features
|
|
557
|
+
|
|
558
|
+
- filter out drive strand if filter excludes it ([a6d3cd2](https://github.com/powerhouse-inc/document-drive/commit/a6d3cd25e63c917cf0033429ab75d265e76bde32))
|
|
559
|
+
|
|
560
|
+
# [1.0.0-alpha.10](https://github.com/powerhouse-inc/document-drive/compare/v1.0.0-alpha.9...v1.0.0-alpha.10) (2024-02-21)
|
|
561
|
+
|
|
562
|
+
### Features
|
|
563
|
+
|
|
564
|
+
- improve add operations insert statement ([1c238ce](https://github.com/powerhouse-inc/document-drive/commit/1c238cef779e62bf89d2341a05a3af3633b9ec59))
|
|
565
|
+
|
|
566
|
+
# [1.0.0-alpha.9](https://github.com/powerhouse-inc/document-drive/compare/v1.0.0-alpha.8...v1.0.0-alpha.9) (2024-02-21)
|
|
567
|
+
|
|
568
|
+
### Features
|
|
569
|
+
|
|
570
|
+
- added update operations in prisma storage addDocumentOperations ([#71](https://github.com/powerhouse-inc/document-drive/issues/71)) ([eeb96af](https://github.com/powerhouse-inc/document-drive/commit/eeb96afbad520f90ce8c9b71bf573950dadadf4b))
|
|
571
|
+
|
|
572
|
+
# [1.0.0-alpha.8](https://github.com/powerhouse-inc/document-drive/compare/v1.0.0-alpha.7...v1.0.0-alpha.8) (2024-02-21)
|
|
573
|
+
|
|
574
|
+
### Features
|
|
575
|
+
|
|
576
|
+
- set sync status success if no new strands ([7a9627c](https://github.com/powerhouse-inc/document-drive/commit/7a9627cd72c80ae3c56a933bcd92c3da87529e00))
|
|
577
|
+
|
|
578
|
+
# [1.0.0-alpha.7](https://github.com/powerhouse-inc/document-drive/compare/v1.0.0-alpha.6...v1.0.0-alpha.7) (2024-02-20)
|
|
579
|
+
|
|
580
|
+
### Features
|
|
581
|
+
|
|
582
|
+
- fixed date comparison ([6d28a3b](https://github.com/powerhouse-inc/document-drive/commit/6d28a3bfd6b338deaa5ede718b7a9ebc0cccf498))
|
|
583
|
+
|
|
584
|
+
# [1.0.0-alpha.6](https://github.com/powerhouse-inc/document-drive/compare/v1.0.0-alpha.5...v1.0.0-alpha.6) (2024-02-20)
|
|
585
|
+
|
|
586
|
+
### Bug Fixes
|
|
587
|
+
|
|
588
|
+
- reverse since change ([3e09362](https://github.com/powerhouse-inc/document-drive/commit/3e093623ca2f315e7faebeee3b3f3fc42bad083b))
|
|
589
|
+
|
|
590
|
+
# [1.0.0-alpha.5](https://github.com/powerhouse-inc/document-drive/compare/v1.0.0-alpha.4...v1.0.0-alpha.5) (2024-02-20)
|
|
591
|
+
|
|
592
|
+
### Features
|
|
593
|
+
|
|
594
|
+
- trigger release ([33209d5](https://github.com/powerhouse-inc/document-drive/commit/33209d59cf4f44946b524a88c9008fef40aceea9))
|
|
595
|
+
|
|
596
|
+
# [1.0.0-alpha.4](https://github.com/powerhouse-inc/document-drive/compare/v1.0.0-alpha.3...v1.0.0-alpha.4) (2024-02-20)
|
|
597
|
+
|
|
598
|
+
### Features
|
|
599
|
+
|
|
600
|
+
- fix filter operations with since timestamp ([8a19d30](https://github.com/powerhouse-inc/document-drive/commit/8a19d30f892a9862be15c670d8114f4493198245))
|
|
601
|
+
|
|
602
|
+
# [1.0.0-alpha.3](https://github.com/powerhouse-inc/document-drive/compare/v1.0.0-alpha.2...v1.0.0-alpha.3) (2024-02-20)
|
|
603
|
+
|
|
604
|
+
### Features
|
|
605
|
+
|
|
606
|
+
- bump document-model dep ([7442070](https://github.com/powerhouse-inc/document-drive/commit/744207006dad191e214f0547d78d185530476560))
|
|
607
|
+
|
|
608
|
+
# [1.0.0-alpha.2](https://github.com/powerhouse-inc/document-drive/compare/v1.0.0-alpha.1...v1.0.0-alpha.2) (2024-02-20)
|
|
609
|
+
|
|
610
|
+
### Features
|
|
611
|
+
|
|
612
|
+
- emit single sync status event for multiple strands ([1b9cf53](https://github.com/powerhouse-inc/document-drive/commit/1b9cf5313cca31f696c104b169d1210a3c2b829f))
|
|
613
|
+
- improved error reporting and fixed operation hash check ([c6cc70f](https://github.com/powerhouse-inc/document-drive/commit/c6cc70f627dbdd2eab6399543fd41544fb959506))
|
|
614
|
+
- proceed with loop only after previous request is done ([d7eec70](https://github.com/powerhouse-inc/document-drive/commit/d7eec7044233c060c56e98698360070198a540dd))
|
|
615
|
+
|
|
616
|
+
# 1.0.0-alpha.1 (2024-02-16)
|
|
617
|
+
|
|
618
|
+
### Bug Fixes
|
|
619
|
+
|
|
620
|
+
- acknowledge porper document ([c7abd01](https://github.com/powerhouse-inc/document-drive/commit/c7abd0138346b2482546a7a731b22be3e61c8ccd))
|
|
621
|
+
- added name field to getDocument ([2cba21a](https://github.com/powerhouse-inc/document-drive/commit/2cba21aa6c4efcde50d8524f46dd22804b96f7d0))
|
|
622
|
+
- apply auto lint ([803cf91](https://github.com/powerhouse-inc/document-drive/commit/803cf91b3c427dd9c6b1ef9a76c92a4cfa480fbd))
|
|
623
|
+
- cast result of json parse ([83ee12b](https://github.com/powerhouse-inc/document-drive/commit/83ee12be711c74047eb7a4a86e235b7ab16e0a69))
|
|
624
|
+
- duplicate driv entry ([c89c27e](https://github.com/powerhouse-inc/document-drive/commit/c89c27e892a2b1d345cf5b28b00722f3cef88228))
|
|
625
|
+
- handle signals in sequence ([9660b08](https://github.com/powerhouse-inc/document-drive/commit/9660b089e554e570ff6312645b799e1af9e09596))
|
|
626
|
+
- missing operations in return values ([6d6cf56](https://github.com/powerhouse-inc/document-drive/commit/6d6cf56426d75b41aad1df0e8735e2a3dcc34221))
|
|
627
|
+
- operation data filter ([0e91f21](https://github.com/powerhouse-inc/document-drive/commit/0e91f2110a5942404b864199af8ebabd00112dea))
|
|
628
|
+
- prisma schema ([bac17dd](https://github.com/powerhouse-inc/document-drive/commit/bac17ddd305788252529706c0c2e8b2207c64838))
|
|
629
|
+
- remove react settings ([6e11865](https://github.com/powerhouse-inc/document-drive/commit/6e1186575de9a457add141fc916d6ea78fd066d5))
|
|
630
|
+
- semantic release ([94077da](https://github.com/powerhouse-inc/document-drive/commit/94077da1f383ee2bf1530af9a4f2749cbc8d4e89))
|
|
631
|
+
- transmitter not found ([0fac28b](https://github.com/powerhouse-inc/document-drive/commit/0fac28b6f3de37b13899075c88fd37a9ce355013))
|
|
632
|
+
- update revision field if new operations are added ([45eb259](https://github.com/powerhouse-inc/document-drive/commit/45eb259b479655dde575835ce5c1aa6ad68a94f1))
|
|
633
|
+
|
|
634
|
+
### Features
|
|
635
|
+
|
|
636
|
+
- add ts-reset lib ([760c3fb](https://github.com/powerhouse-inc/document-drive/commit/760c3fbe685775be506835a1975541539c8fb862))
|
|
637
|
+
- added .env.example ([c781094](https://github.com/powerhouse-inc/document-drive/commit/c781094ad7f7312efeee3e94695e809c5d4c6722))
|
|
638
|
+
- added acknowledge function to pull responder ([e72a721](https://github.com/powerhouse-inc/document-drive/commit/e72a721713bb947b0ba93be1c38797e209865e5c))
|
|
639
|
+
- added basic implementation of push and pull transmitter ([1ffb004](https://github.com/powerhouse-inc/document-drive/commit/1ffb00443bf442a17e545f2451e9b399edfcc0d3))
|
|
640
|
+
- added basic push strands implementatioN ([c858b75](https://github.com/powerhouse-inc/document-drive/commit/c858b7544365429ce4535a6c849cf785a5cafcd5))
|
|
641
|
+
- added basic transmitters ([996ff0f](https://github.com/powerhouse-inc/document-drive/commit/996ff0f0c7ea212f1ed96ebc05690d0689bf3429))
|
|
642
|
+
- added clipboard flag to operations table ([f6ce677](https://github.com/powerhouse-inc/document-drive/commit/f6ce677b5e3d723074a40bb834f4029cd1c13b9a))
|
|
643
|
+
- added clipboard to document ([3f8c295](https://github.com/powerhouse-inc/document-drive/commit/3f8c29573cbd08f071492b56f4b31f688af7c9db))
|
|
644
|
+
- added drive events and improved sync error handling ([647c833](https://github.com/powerhouse-inc/document-drive/commit/647c8339b2166767c240a286d9ea12b032695417))
|
|
645
|
+
- added graphql requests for pull responder ([6578bae](https://github.com/powerhouse-inc/document-drive/commit/6578bae242a0c625531ac8b9bdec4c51727f57e6))
|
|
646
|
+
- added init of pullResponder ([3961916](https://github.com/powerhouse-inc/document-drive/commit/3961916bbb780c0555d3d7e106ab25c80e988c7b))
|
|
647
|
+
- added internal transmitter service ([6863620](https://github.com/powerhouse-inc/document-drive/commit/68636202d5bfd081ef979263fd697086529a1d10))
|
|
648
|
+
- added listener functions ([6bc1803](https://github.com/powerhouse-inc/document-drive/commit/6bc180358826adf8a0ce6f247df37d8de245d8e7))
|
|
649
|
+
- added prisma connection ([ef87ca7](https://github.com/powerhouse-inc/document-drive/commit/ef87ca7681c4336a68f15ecf35906cdfc9c8aa0a))
|
|
650
|
+
- added registerListener function to PullResponderTransmitter ([814c160](https://github.com/powerhouse-inc/document-drive/commit/814c1603ef011402db30f373c3b5fbb2d3f12c58))
|
|
651
|
+
- added semantic release ([f1c31a6](https://github.com/powerhouse-inc/document-drive/commit/f1c31a6bd2012ac6d51a7a3a5b94f656887e6b5a))
|
|
652
|
+
- added sequelize adapter ([#19](https://github.com/powerhouse-inc/document-drive/issues/19)) ([71529d8](https://github.com/powerhouse-inc/document-drive/commit/71529d8d60eb6ff0390bdebb1bb660fb680c99f3))
|
|
653
|
+
- added strandUpdate events ([1143716](https://github.com/powerhouse-inc/document-drive/commit/11437161fd1b0b0f37a7ef50833022507e4699f3))
|
|
654
|
+
- added support for update noop operations ([#42](https://github.com/powerhouse-inc/document-drive/issues/42)) ([c59e15a](https://github.com/powerhouse-inc/document-drive/commit/c59e15a69f08f2abe654ce15c090f1212aee7606))
|
|
655
|
+
- bug fixing ([1bb6097](https://github.com/powerhouse-inc/document-drive/commit/1bb60972588b5b95d2bb52354d8b35319d21eed5))
|
|
656
|
+
- bump libs ([8b18624](https://github.com/powerhouse-inc/document-drive/commit/8b18624c05792d086b31a0b42b99cf42f3dc0627))
|
|
657
|
+
- bump lint deps ([c4a68c9](https://github.com/powerhouse-inc/document-drive/commit/c4a68c9d1c8fea85d85d18eebf66a53d57438dbd))
|
|
658
|
+
- change unimportant rules to warn ([3958150](https://github.com/powerhouse-inc/document-drive/commit/395815033e8fe5e937342b5b2ba1d57ba64cbc8d))
|
|
659
|
+
- defined types and functions ([0b57ae9](https://github.com/powerhouse-inc/document-drive/commit/0b57ae969f023f06ffc4859d1f8f514ef7a2508f))
|
|
660
|
+
- delete sync units before removing document ([6b54e1d](https://github.com/powerhouse-inc/document-drive/commit/6b54e1dfb7249c0c6e061e916783ac92cb5d1481))
|
|
661
|
+
- don't send operation with index equal to fromRevision ([f279046](https://github.com/powerhouse-inc/document-drive/commit/f279046f156c3b9c35c1c7cdd950319078f09e04))
|
|
662
|
+
- emit sync events when updating listeners ([b1899bb](https://github.com/powerhouse-inc/document-drive/commit/b1899bbe6a3d555fc6ea5236c55b1417def11ec2))
|
|
663
|
+
- implementation of switchboard transmitter ([cfbdc85](https://github.com/powerhouse-inc/document-drive/commit/cfbdc8570dfc86b6fe949c5246b240c634917a99))
|
|
664
|
+
- implemented operation validation for document operations ([39bedf4](https://github.com/powerhouse-inc/document-drive/commit/39bedf43d2a3b1fda51d82f26b7f92b93a7cce5b))
|
|
665
|
+
- improved operation errors ([a05772d](https://github.com/powerhouse-inc/document-drive/commit/a05772d023c600dd85d50be65f1ee80b19d546ef))
|
|
666
|
+
- init listener manager ([0edb539](https://github.com/powerhouse-inc/document-drive/commit/0edb53988f691672a3c3e0ce3179142bc09b6b58))
|
|
667
|
+
- run pull loop immediately for the first time ([802a126](https://github.com/powerhouse-inc/document-drive/commit/802a126e4ec90b5b62ad3e228cee73daa06cf651))
|
|
668
|
+
- sync protocol draft ([f5ef843](https://github.com/powerhouse-inc/document-drive/commit/f5ef8436f9dfa50b546c77363bc8edfb887d671c))
|
|
669
|
+
- update config ([c0197a6](https://github.com/powerhouse-inc/document-drive/commit/c0197a6bd86cdb706883e9cd7f0cad017fa115de))
|
|
670
|
+
- updated prisma schema with syncUnits and listeners ([224cbfe](https://github.com/powerhouse-inc/document-drive/commit/224cbfe51d97a2107ea114cc00a7a1665278f85c))
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "document-drive",
|
|
3
|
-
"version": "1.0.0-experimental.
|
|
3
|
+
"version": "1.0.0-experimental.7",
|
|
4
4
|
"license": "AGPL-3.0-only",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./src/index.ts",
|
|
@@ -50,7 +50,8 @@
|
|
|
50
50
|
"graphql-request": "^6.1.0",
|
|
51
51
|
"json-stringify-deterministic": "^1.0.12",
|
|
52
52
|
"nanoevents": "^9.0.0",
|
|
53
|
-
"sanitize-filename": "^1.6.3"
|
|
53
|
+
"sanitize-filename": "^1.6.3",
|
|
54
|
+
"uuid": "^9.0.1"
|
|
54
55
|
},
|
|
55
56
|
"devDependencies": {
|
|
56
57
|
"@commitlint/cli": "^18.6.1",
|
|
@@ -60,6 +61,7 @@
|
|
|
60
61
|
"@semantic-release/git": "^10.0.1",
|
|
61
62
|
"@total-typescript/ts-reset": "^0.5.1",
|
|
62
63
|
"@types/node": "^20.12.7",
|
|
64
|
+
"@types/uuid": "^9.0.8",
|
|
63
65
|
"@typescript-eslint/eslint-plugin": "^6.21.0",
|
|
64
66
|
"@typescript-eslint/parser": "^6.21.0",
|
|
65
67
|
"@vitest/coverage-v8": "^1.4.0",
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { Unsubscribe } from "nanoevents";
|
|
2
|
+
import { IOperationResult } from "../server";
|
|
3
|
+
import { IQueueManager, QueueEvents } from "./types";
|
|
4
|
+
|
|
5
|
+
export class BaseQueueManager implements IQueueManager {
|
|
6
|
+
|
|
7
|
+
constructor() {
|
|
8
|
+
}
|
|
9
|
+
addJob(job: OperationJob): Promise<string> {
|
|
10
|
+
throw new Error("Method not implemented.");
|
|
11
|
+
}
|
|
12
|
+
getResult(driveId: string, documentId: string, jobId: JobId): Promise<IOperationResult | undefined> {
|
|
13
|
+
throw new Error("Method not implemented.");
|
|
14
|
+
}
|
|
15
|
+
init(processor: OperationJobProcessor, onError: (error: Error) => void): Promise<void> {
|
|
16
|
+
throw new Error("Method not implemented.");
|
|
17
|
+
}
|
|
18
|
+
on<K extends keyof QueueEvents>(this: this, event: K, cb: QueueEvents[K]): Unsubscribe {
|
|
19
|
+
throw new Error("Method not implemented.");
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
}
|
package/src/server/index.ts
CHANGED
|
@@ -127,12 +127,12 @@ export class DocumentDriveServer extends BaseDocumentDriveServer {
|
|
|
127
127
|
);
|
|
128
128
|
|
|
129
129
|
const result = await (!strand.documentId
|
|
130
|
-
? this.
|
|
130
|
+
? this.queueDriveOperations(
|
|
131
131
|
strand.driveId,
|
|
132
132
|
operations as Operation<DocumentDriveAction | BaseAction>[],
|
|
133
133
|
false
|
|
134
134
|
)
|
|
135
|
-
: this.
|
|
135
|
+
: this.queueOperations(
|
|
136
136
|
strand.driveId,
|
|
137
137
|
strand.documentId,
|
|
138
138
|
operations,
|
|
@@ -1232,7 +1232,7 @@ export class DocumentDriveServer extends BaseDocumentDriveServer {
|
|
|
1232
1232
|
): Promise<IOperationResult> {
|
|
1233
1233
|
const document = await this.getDocument(drive, id);
|
|
1234
1234
|
const operations = this._buildOperations(document, actions);
|
|
1235
|
-
return this.
|
|
1235
|
+
return this.queueOperations(drive, id, operations);
|
|
1236
1236
|
}
|
|
1237
1237
|
|
|
1238
1238
|
async addDriveAction(
|
|
@@ -1248,7 +1248,8 @@ export class DocumentDriveServer extends BaseDocumentDriveServer {
|
|
|
1248
1248
|
): Promise<IOperationResult<DocumentDriveDocument>> {
|
|
1249
1249
|
const document = await this.getDrive(drive);
|
|
1250
1250
|
const operations = this._buildOperations(document, actions);
|
|
1251
|
-
|
|
1251
|
+
const result = await this.queueDriveOperations(drive, operations);
|
|
1252
|
+
return result as IOperationResult<DocumentDriveDocument>;
|
|
1252
1253
|
}
|
|
1253
1254
|
|
|
1254
1255
|
async addInternalListener(
|
package/src/utils/index.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { v4 as uuidv4 } from 'uuid';
|
|
1
2
|
import {
|
|
2
3
|
DocumentDriveDocument,
|
|
3
4
|
documentModel as DocumentDriveModel,
|
|
@@ -58,11 +59,7 @@ export function mergeOperations<A extends Action = Action>(
|
|
|
58
59
|
}
|
|
59
60
|
|
|
60
61
|
export function generateUUID(): string {
|
|
61
|
-
|
|
62
|
-
const crypto =
|
|
63
|
-
typeof window !== 'undefined' ? window.crypto : require('crypto');
|
|
64
|
-
// eslint-disable-next-line @typescript-eslint/no-unsafe-call, @typescript-eslint/no-unsafe-member-access
|
|
65
|
-
return crypto.randomUUID() as string;
|
|
62
|
+
return uuidv4();
|
|
66
63
|
}
|
|
67
64
|
|
|
68
65
|
export function isNoopUpdate(
|