Commit graph

1711 commits

Author SHA1 Message Date
Zixuan Chen
9b60d01be2
fix: define the fork behavior when the doc is detached (#537)
* fix: define the fork behavior when the doc is detached

* chore: add release note
2024-11-04 22:34:33 +08:00
Zixuan Chen
7bf6db7398
feat: add push/push_container to LoroText/LoroList/LoroMovableList (#534)
Some checks are pending
Release WASM / Release (push) Waiting to run
Test All / build (push) Waiting to run
* feat: add push_container and push_str to list/text

* chore: add changeset file
2024-11-04 17:03:24 +08:00
Zixuan Chen
f78e1da8a0
refactor(rust): extract LoroStringValue, LoroMapValue, LoroBinaryValue, LoroListValue (#535)
* refactor: extract LoroStringValue LoroMapValue LoroListValue LoroBinaryValue

* chore: clippy fix

* chore: fix warning
2024-11-04 17:03:14 +08:00
github-actions[bot]
d3cdb20ef8
chore: version packages (#533)
Some checks failed
Release WASM / Release (push) Has been cancelled
Test All / build (push) Has been cancelled
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-29 21:54:16 +08:00
Zixuan Chen
62a3a93552
Refactor: merge two js packages (#532)
* feat: make vitest tests pass

* chore: update readme & add deno test for web bundle

* chore: bump version to 1.0.8-alpha.0

* chore: bump loro-crdt version

* fix: build script
export init method from loro-wasm/web

* chore: bump version

* chore: specify which files to include for npm publish

* refactor: rename loro-js to loro-js-test

* refactor: remove the old loro-js folder

* fix: build scripts

* chore: 1.0.8-alpha.3

* chore: add release info
2024-10-29 21:46:56 +08:00
Zixuan Chen
e2be56b0c2
docs: update ts docs (#529)
Some checks failed
Release WASM / Release (push) Has been cancelled
Test All / build (push) Has been cancelled
* docs: update ts docs

* docs: update rust docs

* test: add js doc tests and fix outdated js docs
2024-10-25 16:35:33 +08:00
Zixuan Chen
afec0b8c2e
docs: add caption for demo video
Some checks failed
Release WASM / Release (push) Has been cancelled
Test All / build (push) Has been cancelled
2024-10-24 00:19:08 +08:00
Zixuan Chen
24f4370c0d
docs: refine readme 2024-10-24 00:14:55 +08:00
Zixuan Chen
ccf435dc9f
docs: Update README.md 2024-10-24 00:04:18 +08:00
Zixuan Chen
a47048e49e
docs: update readme 2024-10-23 23:58:19 +08:00
Zixuan Chen
19b7ed9186
chore: bump version 2024-10-23 23:42:18 +08:00
Zixuan Chen
520a54dc71
chore: bump version 2024-10-23 23:35:41 +08:00
github-actions[bot]
87157121e4
chore: version packages (#527)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-23 23:19:24 +08:00
Zixuan Chen
dd3bd92d87
chore: release v1 (#526) 2024-10-23 23:16:11 +08:00
Zixuan Chen
c858b616f7
chore: add license file for kv-store
Some checks are pending
Release WASM / Release (push) Waiting to run
Test All / build (push) Waiting to run
2024-10-22 23:14:03 +08:00
Zixuan Chen
9731e6ace2
chore: bump rust crates versions 2024-10-22 23:07:38 +08:00
Zixuan Chen
340f315623
chore: bump version 2024-10-22 22:58:01 +08:00
Zixuan Chen
2622e301d0
fix: subscription convert error (#525)
Some checks are pending
Release WASM / Release (push) Waiting to run
Test All / build (push) Waiting to run
2024-10-22 08:06:37 +08:00
Zixuan Chen
484d6db7a1
fix: fork at should restore detached state (#523)
Some checks failed
Release WASM / Release (push) Has been cancelled
Test All / build (push) Has been cancelled
2024-10-20 00:21:04 +08:00
Zixuan Chen
77024c378f
chore: bump version 2024-10-19 23:22:20 +08:00
Zixuan Chen
bdd6b58b3d
Merge pull request #522 from loro-dev/fix-fork-at
fix: forkAt should inherit the config and auto commit from origin doc
2024-10-19 22:51:24 +08:00
Zixuan Chen
efad275e1a
fix: forkAt should inherit the config and auto commit from the original doc 2024-10-19 22:46:41 +08:00
Zixuan Chen
7860702dc1
Merge pull request #462 from loro-dev/dev
v1.0
2024-10-19 21:50:55 +08:00
Zixuan Chen
f3a03f83ac
chore: bump version 2024-10-19 17:13:01 +08:00
Leon Zhao
203d82bf3b
feat: wasm api 1.0 (#521)
* feat: new 1.0 api wasm

* test: add new api test
2024-10-19 17:09:03 +08:00
Leon Zhao
3e4005d113
chore: rename tree event (#520) 2024-10-19 11:24:13 +08:00
Leon Zhao
dedc8e087e
chore: rename wasm export from (#519)
* chore: rename wasm export from

* fix: clippy
2024-10-18 19:49:40 +08:00
Zixuan Chen
2110a4e33a
chore: bump to beta.2 2024-10-17 14:16:02 +08:00
Zixuan Chen
0e21977705
chore: update build script 2024-10-17 14:12:21 +08:00
Zixuan Chen
e32fdbf542
feat(wasm): add methods to encode and decode Frontiers (#517) 2024-10-17 13:48:11 +08:00
Zixuan Chen
d872ac6488
fix: avoid auto unsubscribe (due to gc) in js env (#516)
* fix: avoid auto unsubscribe (due to gc) in js env

* fix: drop subscription if the subscriber is dropped

* perf: use manually drop

* fix: rm once_cell dep

* fix: should call unsubscribe
2024-10-17 13:33:29 +08:00
Zixuan Chen
9650c52a30
chore: rm unused deps 2024-10-17 02:01:16 +08:00
Zixuan Chen
00775d3bcd
chore: bump to 1.0.0-beta.1 2024-10-16 16:29:52 +08:00
Zixuan Chen
e0b7280024
perf: use better data structure for frontiers (#515)
* perf: optimize high concurrency performance

* refactor: use new fronteirs impl init

* refactor: fix more type err

* refactor: fix more type err

* fix: fix more type err

* fix: all type errors and warnings

* fix: type error in tests

* fix: Debug impl

* fix: singular value

* fix: err

* fix: avoid potential err of frontiers merging

* fix: a few test issues

* test: add frontiers tests

* fix: all test errors

* chore: fix warnings

* chore: rm testing code

* perf: optimize dag related performance

* chore: rm outdated marks

* refactor: frontiers's map variant should contains at least 2 elements
2024-10-16 16:22:36 +08:00
Zixuan Chen
e14f81aa37
perf: optimize high concurrency performance (#514)
* perf: optimize high concurrency performance

* fix: err

* chore: fix warnings
2024-10-16 12:01:31 +08:00
Zixuan Chen
84fbd6d368
fix: isContainerDeleted cache err (#513) 2024-10-15 11:22:46 +08:00
Zixuan Chen
344613cd76
fix: tracker skip applied deletion error (#512) 2024-10-15 02:18:03 +08:00
Zixuan Chen
13898f0af9
Perf: commit speed & text insert cache (#511)
* perf: reduce the cost of is_deleted check

* perf: speedup get_or_insert container

* perf: reduce the cost of get or insert with

* fix: store len

* perf: cache cursor for text insertions

* chore: fix warnings
2024-10-15 02:09:30 +08:00
Zixuan Chen
40e6c524c7
perf: optimize batch container registrations on arena (#510) 2024-10-14 13:26:58 +08:00
Zixuan Chen
270ee41a5e
docs: refine wasm docs 2024-10-14 09:42:22 +08:00
Zixuan Chen
2b9194cf42
perf: optimize shrink frontiers 2024-10-12 13:54:47 +08:00
Zixuan Chen
f4823191e7
fix: movable list undo del impl 2024-10-12 13:49:36 +08:00
Zixuan Chen
ba7c1b7b94
fix: movable list undo impl (#509) 2024-10-12 11:53:50 +08:00
Zixuan Chen
23a99f53c9
Test fuzz oom (#508)
* test: avoid fuzz oom

* fix: get pending dag node err
2024-10-12 00:49:23 +08:00
Zixuan Chen
b5e153a33d
fix: movable list undo/redo error (#507)
* fix: movable list undo/redo error

* chore: rm log

* chore: rm unused

* chore: use deno 2.x

* ci: remove build step
2024-10-11 23:36:04 +08:00
Leon Zhao
9680be4103
fix: ffi remove try unwrap (#506) 2024-10-10 20:13:59 +08:00
Zixuan Chen
29a8d090d1
chore: update config 2024-10-10 17:47:41 +08:00
Leon Zhao
5914d32b38
fix: ffi Subscription (#505) 2024-10-10 15:14:39 +08:00
Zixuan Chen
f2365a837b
feat: redact (#504) 2024-10-10 12:47:41 +08:00
Zixuan Chen
596374d622
docs: update the release guide 2024-10-09 19:33:32 +08:00