loro-dev / loro

Reimagine state management with CRDTs. Make your app collaborative effortlessly.
https://loro.dev
MIT License
4.14k stars 77 forks source link

feat: add fork_at functionality to create a document at a target version #469

Closed zxch3n closed 1 month ago

zxch3n commented 1 month ago

This PR introduces the fork_at feature to the LoroDoc system, enabling the creation of a new document instance that reflects the state of the original document at a specified version (Frontiers). It serves as a primitive for building higher-level version control systems.