New
- You can get the version of Loro by
LORO_VERSION
setNextCommitOrigin(origin: string)
: Set the origin of the next commit.setNextCommitTimestamp(timestamp: number)
: Set the timestamp of the next commit.setNextCommitOptions(options: CommitOption)
: Set the options of the next commit.clearNextCommitOptions()
: Clear the options of the next commit.configDefaultTextStyle(style: TextStyle)
: Configures the default text style for the document.getUncommittedOpsAsJson()
: Get the pending operations from the current transaction in JSON format
Fix
- fix: memory leak issue #647 (opens in a new tab)
- fix: mark err on detached LoroText #659 (opens in a new tab)
- fix: detached loro text issues #665 (opens in a new tab)
- fix: entity index when the tree is empty #670 (opens in a new tab)