Changelog
Week 39
2.8.0
We are introducing attachments to allow users to add files to their comments, for more information about this change please read our Upgrade Guide for 2.8.
@liveblocks/react-ui
- Add out-of-the-box support for attachments in the default components.
- Add new primitives to support attachments in custom components:
Composer.AttachmentsDropArea
: Receives files via drag-and-dropComposer.AttachFiles
: Opens a file pickerFileSize
: Displays a formatted file size
- Add values and methods to
useComposer
to support attachments in custom components.
@liveblocks/react
- Add
useAttachmentUrl
hook to get presigned URLs for attachments.
@liveblocks/client
- Add
prepareAttachment
anduploadAttachment
methods toRoom
to create attachments. - Add
getAttachmentUrl
method toRoom
to get presigned URLs for attachments.
Website
- New blog post: Next.js Template Week recap.
- Bug fix on the pricing page MAU slider which didn't apply the MAU value set to the price of the products.