@liveblocks/client
Advanced tools
Changelog
2.8.2
@liveblocks/client
Changelog
2.8.1
@liveblocks/react-ui
onComposerSubmit
on Thread
to react to the inner composer of a
thread.Changelog
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
Composer.AttachmentsDropArea
: Receives files via drag-and-dropComposer.AttachFiles
: Opens a file pickerFileSize
: Displays a formatted file sizeuseComposer
to support attachments in custom
components.@liveblocks/react
useAttachmentUrl
hook to get presigned URLs for attachments.@liveblocks/client
prepareAttachment
and uploadAttachment
methods to Room
to create
attachments.getAttachmentUrl
method to Room
to get presigned URLs for attachments.Changelog
2.7.2
@liveblocks/react
Changelog
2.7.1
@liveblocks/react-lexical
AnchoredThreads
and FloatingThreads
components.Changelog
2.7.0
@liveblocks/client
@liveblocks/react
query
argument to useUserThreads_experimental
query
criteria could over-select threads
in useThreads
This release adds some new hooks for Version History in text documents, which is now available in private beta. If you’re interested in joining the private beta, please contact us.
useHistoryVersion
hook to retrieve version history (in
@liveblocks/react
)HistoryVersionSummaryList
and HistoryVersionSummary
components to help
display version history (in @liveblocks/react-ui
)HistoryVersionPreview
component to display and restore a version (in
@liveblocks/react-lexical
)