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 thefrom
version and theto
version.exportJsonInIdSpan(idSpan: IdSpan)
: Export the readable [Change
]s in the given [IdSpan
].
Fix
- fix: prevent merging remote changes based on local
changeMergeInterval
config #643 (opens in a new tab) - fix: should commit before travel_change_ancestors #599 (opens in a new tab)
- fix: panic when detach then attach #592 (opens in a new tab)
- fix: move child in current parent #589 (opens in a new tab)
- fix: panic when returned non-boolean value from text.iter(f) #578 (opens in a new tab)