* test: test failed if use non-cached diff calc
* fix: tree diff calc retreat cache current vv
* fix: better tree cache current vv
---------
Co-authored-by: Zixuan Chen <remch183@outlook.com>
* refactor: add detached editing config and prepare the architecture for editing detached doc
* feat: subscribe for peer id change
* fix: undo after checkout & add tests for detached editing
* test: add fuzzer for detached editing
* feat: expose detached editing configure to wasm
* test: add wasm test for detached editing
* test: add no event test
* fix: should not emit event when exporting gc snapshot
* fix: not emitting events when exporting state only snapshot
* fix: type error
* test: a checkout event err
* fix: tree undo convert moving to creating should use new target tree id
---------
Co-authored-by: Zixuan Chen <remch183@outlook.com>
* feat: jsonpath experimental support
* fix: add support for negative index unionindex and unionkey
* chore: export lorodoc in loro-js and fix a few tests related to map's entries order
* chore: fix type err
- Add ContainerDeleted error variant to LoroError
- Implement is_deleted() method for container handlers
- Check for deleted containers before applying operations
- Add dead_containers_cache to DocState to track deleted containers
- Update apply_diff to optionally clear dead container cache
- Add tests for handling operations on deleted containers
- Implement checkout to reset container deleted cache
- Minor code cleanup and typo fixes
* test: a failed test case
* fix: tree checkout init err
* fix: export from
* chore: add cov
* fix: movable list undo/redo apply delta err
* refactor: refactor by o1-preview 🤯
* refactor: extract arguments
* test: add cov
* fix: use correct method to get was_alive for tree node
* fix: tree event was alive err
---------
Co-authored-by: Leon Zhao <leeeon233@gmail.com>
* test: fuzz gc correctly
* fix: lots of gc snapshot issues
* fix: vv to frontiers
* test: add an arbtest for gc fuzzing tests
* test: fix a few test issues
* fix: apply diff of a dangling container that was deleted before trimmed version
* bk
* feat: encode header
* chore: use columnar 0.3.9
* fix: not need encode last lamport and length
* chore: cargo fix
* fix: print
* bk
* chore: columnar 0.3.10
* feat: do not compress if larger after compressing
* test: add related tests and ensure coverage
---------
Co-authored-by: Zixuan Chen <remch183@outlook.com>
* feat: add old parent in tree diff
* chore: enable ci
* feat: add old_index to tree diff
* fix: new fractional index config
* fix: cargo fix
* fix: add FractionalIndexNotEnabled error
* fix: move config to tree state
* fix: error string
---------
Co-authored-by: Zixuan Chen <remch183@outlook.com>