release v1.3.0

New

  • UndoManager's onPush now can access the change event.
  • add getShallowValue for each container.

LoroDoc

  • toJsonWithReplacer(replacer: (k, v)=>Value): Convert the document to a JSON value with a custom replacer function.
  • revertTo(frontiers: Frontiers): Revert the document to the given frontiers.
  • findIdSpansBetween(from: Frontiers, to: Frontiers): Find the op id spans that between the from version and the to version.
  • exportJsonInIdSpan(idSpan: IdSpan): Export the readable [Change]s in the given [IdSpan].

Fix