We've added version history and a new data type for uploading files to Liveblocks Storage, public & private comment threads, and a new AI Slideshow Generator example.
Liveblocks Storage now supports version history, enabling users to browse
previous snapshots of a room’s data, preview earlier states, and restore any
version when needed. You can easily create a version history dialog box in your
application, for example in this flowchart.
Versions can be created automatically via a setting on the dashboard, or
manually on the server with
createVersionHistorySnapshot()—each
snapshot includes timestamps and contributor information.
const{ data }=await liveblocks.createVersionHistorySnapshot("my-room-id"); // { id: "vh_d75sF3..." }console.log(data);
We’ve released LiveFile, a
new data structure for storing files in a room’s Storage tree. Users can upload
files directly to their collaborative document, no third-party upload service
required, and everyone in the room will see them appear live.
You can now control who can see and reply to comment threads, enabling
internal-only notes and private review workflows. Comment threads now have a
visibility property—each thread is public by default, and can be made private
when created.
Inside the example, chat messages are stored in
feeds, and update in
realtime for all users. Feeds APIs allow you to stream in answers, create new
chats, and list all existing chats within the UI.
Each slide is stored as HTML inside
Yjs, and a collaborative
CodeMirror editor is used to edit the
HTML code. Drag-and-drop edits modify the HTML code behind each slide.
The comment pins use our
default components and
hooks for commenting. Each
thread holds x/y coordinates in thread metadata, which are used to position the
comment pin.
Added a skill that can create examples, including images and code.
Added uploadAttachment() to @liveblocks/node to upload comment
attachments, combined with attachmentIds params in createThread(),
createComment(), and editComment().
Added methods to upload comment attachments in the Python SDK, including
multipart uploads.
Added a button to download a room’s Liveblocks Storage as JSON from the
dashboard’s room detail view.
Added links to examples at the top of relevant get started guides, and links
to guides in overview pages.
Added more info on comments metadata throughout the docs.
Added version history methods to @liveblocks/node and the Python SDK to list
room versions, create a version snapshot, and delete a version.
Added useDeleteHistoryVersion() to permanently delete a room version.