ChangelogWeek 18
Week 18
v2.24.1
@liveblocks/yjs
- Fix for occasional desync issue.
v2.24.0
We are introducing thread subscriptions to add more granularity to thread notifications, allowing users to subscribe to threads without participating or unsubscribing from specific ones.
We are also using this opportunity to rename some of the concepts around notifications and notification settings to improve clarity. None of these changes are breaking but you can learn more about them, their rationale, and how to automatically apply them with a codemod in our Upgrade Guide for 2.24.
@liveblocks/react-ui
- Add "Subscribe to thread" and "Unsubscribe from thread" actions to
Thread
and threadInboxNotification
out of the box.
@liveblocks/react
- Add
useSubscribeToThread
anduseUnsubscribeFromThread
hooks. - Add
subscribe
andunsubscribe
methods to the existinguseThreadSubscription
hook. - Add support for
textMentions
in room subscription settings. - Rename
useRoomNotificationSettings
anduseUpdateRoomNotificationSettings
touseRoomSubscriptionSettings
anduseUpdateRoomSubscriptionSettings
.
@liveblocks/node
- Add
subscribeToThread
,unsubscribeFromThread
,getThreadSubscriptions
andgetUserRoomSubscriptionSettings
methods. - Add support for
textMentions
in room subscription settings. - Rename
getRoomNotificationSettings
,updateRoomNotificationSettings
, anddeleteRoomNotificationSettings
togetRoomSubscriptionSettings
,updateRoomSubscriptionSettings
, anddeleteRoomSubscriptionSettings
.
@liveblocks/client
- Add
Room.subscribeToThread
andRoom.unsubscribeFromThread
methods. - Methods which return threads and their associated inbox notifications now also return the thread’s associated subscriptions.
- Add support for
textMentions
in room subscription settings. - Rename
Room.getNotificationSettings
andRoom.updateNotificationSettings
toRoom.getSubscriptionSettings
andRoom.updateSubscriptionSettings
.
MCP server
- New MCP server has been created for Liveblocks.
- Create and modify rooms, threads, comments, notifications, more.
- Read realtime Storage and Yjs values.
- Broadcast custom events to connected clients.
- Mark threads and notifications as read/unread.
Documentation
- New page detailing how to use the Liveblocks MCP server.
Website
- New trust center has been created, and links added to our website.