ChangelogWeek 39
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
useComposerto support attachments in custom components.
@liveblocks/react
- Add
useAttachmentUrlhook to get presigned URLs for attachments.
@liveblocks/client
- Add
prepareAttachmentanduploadAttachmentmethods toRoomto create attachments. - Add
getAttachmentUrlmethod toRoomto 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.