github-actions[bot]
eef5a9fa9a
chore: version packages
Release WASM / Release (push) Has been cancelled
Test All / build (push) Has been cancelled
2024-11-18 15:25:39 +08:00
Zixuan Chen
d6966aca34
fix: fractional index is enabled by default now ( #561 )
...
* fix: tree should use jitter 0 by default
Otherwise, there may be inconsistency between the event and the actual data. But this will increase the cost when the index property is not used.
* chore: add changeset
* chore: fix warning
* refactor: enable tree move by default
* docs: update related docs
2024-11-18 14:32:56 +08:00
github-actions[bot]
c4a9729c9c
chore: version packages
Release WASM / Release (push) Has been cancelled
Test All / build (push) Has been cancelled
2024-11-16 19:33:41 +08:00
Zixuan Chen
e7450e21e1
chore: fix build script
2024-11-16 19:30:37 +08:00
Zixuan Chen
70c4942fad
chore: add wasm-base64 build target
2024-11-16 19:18:29 +08:00
Zixuan Chen
35e7ea5f54
fix: calc change count ( #556 )
...
Release WASM / Release (push) Has been cancelled
Test All / build (push) Has been cancelled
* fix: calc change count
* fix: len ops
2024-11-13 16:52:41 +08:00
Zixuan Chen
4f2bbee2a7
fix: stackoverflow issue when there are lots of empty slots in mem_store ( #558 )
2024-11-13 16:51:28 +08:00
Zixuan Chen
be2ebfa34a
feat(rs): expose more LoroValue types ( #557 )
2024-11-13 16:50:08 +08:00
github-actions[bot]
3edae43e7b
chore: version packages
Release WASM / Release (push) Has been cancelled
Test All / build (push) Has been cancelled
2024-11-12 23:06:29 +08:00
Zixuan Chen
ee26952fc0
feat: Add isDeleted() method to containers ( #555 )
...
* feat: Add isDeleted() method to containers
- Add isDeleted() method to all container types (Text, Map, List, Tree, etc.)
- Fix deletion tracking for containers in tree operations
- Add tests to verify deletion state across different scenarios
* chore: fix redundant field names
---------
Co-authored-by: Leon Zhao <leeeon233@gmail.com>
2024-11-12 21:15:46 +08:00
Zixuan Chen
55e0a4596e
fix: make internal string safer ( #554 )
Release WASM / Release (push) Waiting to run
Test All / build (push) Waiting to run
2024-11-11 22:33:17 +08:00
Zixuan Chen
5fc3458eb7
perf: use simplified internal string ( #551 )
...
Release WASM / Release (push) Waiting to run
Test All / build (push) Waiting to run
* perf: use simplified internal string
* fix: make internal string trait impl more stringish
* perf: reduce InternalString memory cost from 16 bytes to 8 bytes
on 64bit platform
* chore: fix warning
* perf: optimize drop
* test: add init large map example
2024-11-11 15:08:27 +08:00
Zixuan Chen
b1b977cf9e
docs: js container path ( #550 )
Release WASM / Release (push) Waiting to run
Test All / build (push) Waiting to run
2024-11-10 16:36:29 +08:00
Zixuan Chen
9abeb81747
feat(wasm): add methods to modify vv ( #552 )
...
* feat(wasm): add methods to modify vv
* test: add js test for updating vv
2024-11-10 16:36:09 +08:00
Zixuan Chen
75f497d8ee
docs: update readme
Release WASM / Release (push) Waiting to run
Test All / build (push) Waiting to run
2024-11-10 00:23:37 +08:00
Zixuan Chen
9f5df5a4fc
docs: update readme
2024-11-10 00:19:13 +08:00
Zixuan Chen
eac754016e
docs: update readme
2024-11-10 00:16:56 +08:00
Zixuan Chen
1dee85123f
chore: Release
2024-11-09 23:37:44 +08:00
Zixuan Chen
cc570d2b80
chore: bump Rust crates to v1.1.0
2024-11-09 23:35:17 +08:00
github-actions[bot]
85b4722a27
chore: version packages
Release WASM / Release (push) Waiting to run
Test All / build (push) Waiting to run
2024-11-09 21:04:10 +08:00
Zixuan Chen
778ca5452d
feat: allow users to query the changed containers in the target id range ( #549 )
...
* feat: allow users to query the changed containers in the target id range
* chore: add changeset note
* chore: update cargo toml
* test: add related tests and add a commit before get_changed_container_in
2024-11-09 21:00:07 +08:00
Zixuan Chen
6e878d216a
Feat add API to query creators, the last editors/movers ( #548 )
...
* feat: LoroMap::get_last_editor
* feat: get creator/mover/editor of items
* chore: add changeset
* chore: fix warnings
2024-11-09 19:17:56 +08:00
Kursat Aktas
9e2d848485
Introducing Loro Guru on Gurubase.io ( #539 )
...
* Introducing Loro Guru on Gurubase.io
Signed-off-by: Kursat Aktas <kursat.ce@gmail.com>
* fix guru badge style
---------
Signed-off-by: Kursat Aktas <kursat.ce@gmail.com>
2024-11-09 19:12:12 +08:00
Zixuan Chen
4f0d499d4b
perf: use a priority-queue-based search for updating text ( #544 )
...
* perf: use a priority-queue-based search for updating text
It tends to produce diffs with more continuous edits,
which is more efficient when we need to apply them to CRDTs
* fix: use better text diff calc
* refactor: add text update options struct
* chore: update text.update comments
* chore: fix warnings
* fix: rm a dumb optimization
2024-11-09 16:35:15 +08:00
Zixuan Chen
661610165b
perf: import batch optimize - use the largest snapshot first ( #547 )
...
* perf: import batch optimize - use the largest snapshot first
* chore: add changeset info
2024-11-09 16:10:13 +08:00
Zixuan Chen
8486234aba
fix: get correct encode blob info ( #545 )
...
* fix: get correct encode blob info
* fix: is_snapshot
* test: fix test case
* test: update ts tests
* chore: add change file
* chore: fix warnings
2024-11-09 15:43:11 +08:00
Zixuan Chen
715bf759c3
refactor!: reduce footguns when using for_each(fn) on rust ( #540 )
Release WASM / Release (push) Waiting to run
Test All / build (push) Waiting to run
2024-11-09 01:07:38 +08:00
Zixuan Chen
044a1fd31c
fix: avoid creating non-root containers that doesn't exist by get_container api ( #541 )
2024-11-09 00:51:21 +08:00
Leon Zhao
468a957476
feat: impl toJSON
for LoroTreeNode
( #538 )
...
Release WASM / Release (push) Has been cancelled
Test All / build (push) Has been cancelled
* feat: impl `toJSON` for `LoroTreeNode`
* test: add snapshot test
2024-11-05 20:11:03 +08:00
github-actions[bot]
67fcc89e58
chore: version packages
Release WASM / Release (push) Has been cancelled
Test All / build (push) Has been cancelled
2024-11-04 22:45:55 +08:00
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 )
...
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 )
...
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 )
...
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
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
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 )
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 )
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