@liveblocks/client
Advanced tools
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