@liveblocks/client
Advanced tools
Changelog
v1.12.0
@liveblocks/react
useInboxNotificationThread
hook to createLiveblocksContext
, which
can be used to retrieve threads within thread notifications for more
flexibility.startsWith
operator to useThreads
when filtering based on
metadata.@liveblocks/react-comments
InboxNotification
component
via the kinds
prop and the InboxNotification.Custom
component.--lb-destructive
,
--lb-destructive-foreground
, and --lb-destructive-contrast
)@liveblocks/node
triggerInboxNotification
method that lets you trigger custom
notification kinds.getRooms
method. This works via
query.roomId
, metadata
is deprecated and is now query.metadata
.getRooms
and
getThreads
methods.getRooms
and getThreads
methods, which supports exact matches and the startsWith
operator.Changelog
v1.11.3
@liveblocks/client
RangeError: Maximum call stack size exceeded
in
applications that produce many operations@liveblocks/node
updatedAt
property to YDocUpdatedEvent
type.
(@alexlande)Changelog
v1.11.2
create-liveblocks-app
Changelog
v1.11.1
@liveblocks/react-comments
@liveblocks/node
process
is undefined" issue in Vite builds. This issue was already
fixed for @liveblocks/client
, but not for @liveblocks/node
yet.Changelog
v1.11.0
@liveblocks/node
updateRoomId
method that lets you update the room ID of the specified
room.guid
parameter to sendYjsBinaryUpdate
and
getYjsDocumentAsBinaryUpdate
to point to a Yjs subdocument with the
specified guid.@liveblocks/react
scrollOnLoad
option to useThreads
: enabled by default, this option
controls whether to scroll to a comment on load based on the URL hash.useUser
and useRoomInfo
no longer support returning nothing. Returning
undefined
will now be treated as an error.useUser
and useRoomInfo
returned an extra data
superfluous
property.createLiveblocksContext
would conflict
with the provided Client
.@liveblocks/react-comments
InboxNotification
with a single action for now: marking as
read.Comment
/Thread
.Comment
background color when it’s linked to or being edited.Changelog
v1.10.4
process is not defined
could
happen