release v1.2.0

New

  • Add isDeleted() method to all container types (Text, Map, List, Tree, etc.)

LoroDoc

  • changeCount(): Get the number of changes in the oplog.
  • opCount(): Get the number of ops in the oplog.

VersionVector

  • setEnd(id: ID): Set the exclusive ending point. target id will NOT be included by self.
  • setLast(id: ID): Set the inclusive ending point. target id will be included.
  • remove(peer: PeerID): Remove the specific peer id.
  • length(): Get the number of peers in the VersionVector.

Change

  • Return ImportStatus in the importUpdateBatch method.
  • Fractional index is enabled by default now.

Fix