* test: test failed if use non-cached diff calc
* fix: tree diff calc retreat cache current vv
* feat(wasm): commit message & get pending ops length
* bk
* chore: add tree one doc fuzz
* fix: fix the problem and added a few checks
* chore: rm debugging code
* fix: encode snapshot when detached
---------
Co-authored-by: leeeon233 <leeeon233@gmail.com>
* 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>