loro/crates/loro-internal/tests
Zixuan Chen ac51ceb2f9
Some checks failed
Release WASM / Release (push) Has been cancelled
Test All / build (push) Has been cancelled
feat: add exportJsonInIdSpan and make peer compression optional (#602)
This change will make the internal operations more accessible to the application code.

* feat: add exportJsonInIdSpan and make peer compression optional

- Introduced `export_json_updates_without_peer_compression` method to allow exporting JSON updates without compressing peer IDs, making it easier for application code to process.
- Updated existing `export_json_updates` method to accept a `with_peer_compression` parameter, defaulting to true.
- Refactored related code in various files to accommodate the new functionality, ensuring backward compatibility.

* fix: slice err & add tests

* chore: changeset
2025-01-05 01:25:15 +08:00
..
autocommit.rs refactor: Loro import function should return LoroEncodeError (#487) 2024-10-02 11:11:08 +08:00
fugue.rs Feat-rust-api (#193) 2023-11-28 16:22:43 +08:00
richtext.md refactor: use rich text style config (#246) 2024-01-17 22:55:46 +08:00
richtext.rs refactor: use rich text style config (#246) 2024-01-17 22:55:46 +08:00
test.rs feat: add exportJsonInIdSpan and make peer compression optional (#602) 2025-01-05 01:25:15 +08:00
tree.rs fix: move child in current parent 2024-12-27 09:47:11 +08:00