github liveblocks/liveblocks v3.23.0
3.23.0

latest releases: v3.23.0-exp4, v3.23.0-exp3, python-v3.23.0...
7 hours ago

This release introduces LiveFile: a new data structure to store files such as
images and videos in a room's Storage tree.

@liveblocks/client

  • Add room.uploadFile() to upload a file and return a LiveFile.
  • Add room.getFileUrl() to get access to a LiveFile.

@liveblocks/react

  • Add useUploadFile() to upload a file and return a LiveFile.
  • Add useFileUrl() to get access to a LiveFile.

@liveblocks/node

  • Add uploadFile() to upload a file and return a LiveFile.
  • Add getFileUrl() to get access to a LiveFile.
  • Add uploadAttachment() to upload comment attachments, combined with
    attachmentIds params in createThread(), createComment(), and
    editComment().

Python SDK

  • Add methods to upload Storage files for LiveFile, retrieve their download
    URLs, and handle multipart uploads.
  • Add methods to upload comment attachments, including multipart uploads.

Don't miss a new liveblocks release

NewReleases is sending notifications on new releases.