@liveblocks/core
Advanced tools
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
happenChangelog
v1.10.3
@liveblocks/react-comments
bn
) and Hindi (hi
).showRoomName
prop on InboxNotification.Thread
wasn’t
applied to notifications about mentions.@liveblocks/react
useEditThreadMetadata
would result in a
brief flash of the old metadata after the metadata was removed optimistically.Changelog
v1.10.2
@liveblocks/client
.clone()
immediately after creating a new LiveObject
could throw an errorChangelog
v1.10.1
@liveblocks/client
@liveblocks/react-comments
InboxNotification
.@liveblocks/react
useThreads
, useRoomNotificationSettings
, and
useInboxNotifications
during initial fetching.Changelog
v1.10.0
This release introduces Notifications (and unread indicators) for Comments.
create-liveblocks-app
createLiveblocksContext
and Notifications to --init
.createRoomContext
to createClient
and add
resolveRoomsInfo
to the list of resolvers.@liveblocks/client
createClient
: resolveUsers
, resolveMentionSuggestions
(both were previously defined on createRoomContext
from
@liveblocks/react
), and the new resolveRoomsInfo
.@liveblocks/react
LiveblocksContext
accessible with createLiveblocksContext
,
similarly to createRoomContext
. This context is meant to live at the root
since it handles things outside of rooms, like notifications. It contains
LiveblocksProvider
, useUser
, useRoomInfo
, useInboxNotifications
,
useUnreadInboxNotificationsCount
, useMarkInboxNotificationAsRead
, and
useMarkAllInboxNotificationsAsRead
.createRoomContext
: useMarkThreadAsRead
,
useThreadSubscription
, useRoomInfo
, useRoomNotificationSettings
, and
useUpdateRoomNotificationSettings
.createLiveblocksContext
and
createRoomContext
: useUser
, and useRoomInfo
.@liveblocks/react-comments
InboxNotification
and InboxNotificationList
.Thread
component.@user@email.com
is now a valid mention and
will trigger resolveMentionSuggestions
with "user@email.com"
)@liveblocks/node
getInboxNotification
, getRoomNotificationSettings
,
updateRoomNotificationSettings
, and deleteRoomNotificationSettings
methods)NotificationEvent
.Changelog
v1.9.8
@liveblocks/client
@liveblocks/react
useOthersListener
hook.useErrorListener
hook.@liveblocks/yjs