ChangelogWeek 28
Week 28
v3.22.0
@liveblocks/react
This release adds version history support for Storage: a version now snapshots both the room's Storage and Yjs documents (previously Yjs only).
- Creating a version now also snapshots Storage, not just Yjs, see docs.
useHistoryVersions()lists the room's versions. Each has avh_xxxid, see docs.useHistoryVersionStorageData("vh_xxx")returns that version's Storage as a read-onlyLiveObjectso you can visualize or diff it manually, see docs.useRestoreToStorageVersion("vh_xxx")restores the room's Storage to that version, as a single undoable change, see docs.useDeleteHistoryVersion()returnsdeleteHistoryVersion("vh_xxx")to permanently delete a version, see docs.
@liveblocks/node and Python SDK
- Add methods for version history to list room versions, create a version snapshot, and delete a version.
Examples
- New example: AI Slideshow Generator.
Documentation
- New section on rendering custom components inside threads.
- Updated all pages in the pricing section, increasing clarity.