Skip to content

0.13.0

Compare
Choose a tag to compare
@GuillaumeSalles GuillaumeSalles released this 13 Dec 13:58
· 1852 commits to main since this release

Batching and new subscription system

See release notes of https://github.com/liveblocks/liveblocks/releases/tag/v0.13.0-beta.1

Bug fix

Fix an issue when no modification is made during a batch.

Old behavior:

root.set("x", 0);
root.set("x", 1);
room.batch(() => { }); // Add an entry to the undo/redo stack even if no modification is made.
room.undo();
// root.get("x") === 1

New behavior:

root.set("x", 0);
root.set("x", 1);
room.batch(() => { });
room.undo();
// root.get("x") === 0