loro/.changeset/popular-ghosts-travel.md
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

92 B

loro-crdt
minor

feat: add exportJsonInIdSpan and make peer compression optional