diff --git a/.changeset/metal-fishes-tap.md b/.changeset/metal-fishes-tap.md new file mode 100644 index 00000000..5b10235c --- /dev/null +++ b/.changeset/metal-fishes-tap.md @@ -0,0 +1,7 @@ +--- +"loro-crdt": patch +--- + +Define the behavior of `doc.fork()` when the doc is detached + +It will fork at the current state_frontiers, which is equivalent to calling `doc.fork_at(&doc.state_frontiers())`