Week 26 Week 25 v3.0.0
Liveblocks 3.0 is our third major release, focusing on our newest product, AI Copilots. We’ve used this as an opportunity to tidy up some of our existing APIs, ensuring consistency throughout our offering.
For full upgrade instructions and codemods, see the 3.0 upgrade guide.
-
TypeScript 5.0 is now the minimum supported version.
-
Remove deprecated APIs, see the deprecated section in the upgrade guide to learn more.
-
Introduce hooks and APIs for AI Copilots:
useAiChats,useAiChat,useDeleteAiChat,useSendAiMessage,RegisterAiTool,RegisterAiKnowledge, etc. -
Rename
UPDATE_USER_NOTIFICATION_SETTINGS_ERRORtoUPDATE_NOTIFICATION_SETTINGS_ERRORwhen usinguseNotificationSettingsoruseUpdateNotificationSettings. -
Introduce pre-built components for AI Copilots:
AiChat,AiTool, etc. -
The
onMentionClickprop onThreadandCommentnow receives aMentionDataobject instead of auserIdstring. -
The
Mentioncomponent on theComment.BodyandComposer.Editorprimitives now receives amentionprop instead of auserIdone. -
The
MentionSuggestionscomponent on theComposer.Editorprimitive now receives amentionsprop instead of auserIdsone, and theselectedUserIdprop has been renamed toselectedMentionId. -
Rename
LiveblocksUIConfigtoLiveblocksUiConfigfor consistency with other Liveblocks APIs. -
Remove deprecated
htmlBody/reactBodyproperties fromprepareThreadNotificationEmailAsHtml/prepareThreadNotificationEmailAsReact, usebodyinstead. -
Remove
htmlContent/reactContentproperties fromprepareTextMentionNotificationEmailAsHtml/prepareTextMentionNotificationEmailAsReact, usecontentinstead. -
The
prepareTextMentionNotificationEmailAsReactandprepareTextMentionNotificationEmailAsHtmlfunctions’ returned data changed slightly:- The
idproperty is now namedtextMentionId, it refers to the mention’s Text Mention ID, not the user ID used for the mention - The
idproperty now refers to the mention’s ID, as in the user ID used for the mention
- The
-
The
elementprop received by theMentioncomponent inprepareTextMentionNotificationEmailAsReactnow contains anidproperty instead ofuserId, and a newkindproperty to indicate the mention’s kind. -
The
getMentionedIdsFromCommentBodyutility has been replaced bygetMentionsFromCommentBody.
Dashboard
- Introduce an AI Copilots view to manage copilots and their knowledge.
Examples
- New example: AI Popup Chat.
- New example: AI Chats.
- New example: AI Reports Dashboard.
Website
-
Week 22 - Fix an issue with subpath imports (e.g.
@liveblocks/react/suspense) and CommonJS which could happen with certain bundlers.
- Fix an issue with subpath imports (e.g.
Week 19 - Disable or hide actions in
ThreadandCommentcomponents for users without permission to perform them, such as adding reactions or (un)resolving threads.
- Disable or hide actions in
Week 18 v2.24.1
- 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.
-
Add "Subscribe to thread" and "Unsubscribe from thread" actions to
Threadand threadInboxNotificationout of the box. -
Add
useSubscribeToThreadanduseUnsubscribeFromThreadhooks. -
Add
subscribeandunsubscribemethods to the existinguseThreadSubscriptionhook. -
Add support for
textMentionsin room subscription settings. -
Rename
useRoomNotificationSettingsanduseUpdateRoomNotificationSettingstouseRoomSubscriptionSettingsanduseUpdateRoomSubscriptionSettings. -
Add
subscribeToThread,unsubscribeFromThread,getThreadSubscriptionsandgetUserRoomSubscriptionSettingsmethods. -
Add support for
textMentionsin room subscription settings. -
Rename
getRoomNotificationSettings,updateRoomNotificationSettings, anddeleteRoomNotificationSettingstogetRoomSubscriptionSettings,updateRoomSubscriptionSettings, anddeleteRoomSubscriptionSettings. -
Add
Room.subscribeToThreadandRoom.unsubscribeFromThreadmethods. -
Methods which return threads and their associated inbox notifications now also return the thread’s associated subscriptions.
-
Add support for
textMentionsin room subscription settings. -
Rename
Room.getNotificationSettingsandRoom.updateNotificationSettingstoRoom.getSubscriptionSettingsandRoom.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.
Week 17 v2.23.2
-
Add
closeAiTiptap command to manually close the AI toolbar. -
Fix
AiToolbarfocus behavior in Safari. -
Fix
FloatingToolbarfocus behavior in Safari. -
Fix
FloatingToolbarfocus behavior in Safari.
v2.23.1
-
Fix potential runtime error in browsers that do not support
Symbol.disposeyet. -
Fix a bug in
.mutateStorage()and.massMutateStorage()where mutating storage could potentially corrupt the storage tree.
v2.23.0
-
Expose new property
triggeredAtfor notification webhook events. -
The
prepareThreadNotificationEmailAsHtmlandprepareThreadNotificationEmailAsReactfunctions are now avoiding duplicated comments between two emails data. -
Improve event propagation from
Composerand the emoji pickers inComment/Thread. -
Fix crash when unmounting. Thank you @nperez0111!
-
Fix
withLiveblocksEditorOptionsnot passing all options to BlockNote. Thank you @chadnorvell!
Documentation
- New AI Copilots features page, highlighting all upcoming features.
- Mention first day free policy.
- Small updates to docs homepage
Dashboard
- Refined billing and usage settings page, now displaying billed and non-billed users for monthly active users (MAUs) metric.
Website
- New blog post: Add Notion-style collaborative text editing to your app with Liveblocks BlockNote.
- New blog post: Introducing fairer billing with first day free.
- New blog post: Rethinking product strategy in the age of AI with Melissa Perri.
- New blog post: What’s new in Liveblocks: March 2025.
- New blog post: How Artefect reinvented collaborative workspaces for technical teams.
-
Week 14 v2.22.3
-
The
InboxNotificationcomponent now usesresolveRoomsInfofortextMentionnotifications to make them link to the mentions’ room automatically ifhrefisn’t set. -
Fix names capitalization in lists. (e.g. the list of who reacted in reactions’ tooltips)
-
Add
emojibaseUrladvanced option onLiveblocksUIConfigto allow choosing where Emojibase’s data used by the Liveblocks emoji picker is fetched from: another CDN, self-hosted files, etc. -
Fix: Update dependencies resolution.
-
Fix: Avoid
<AnchoredThreads />threads rendering if the editor's view isnull.
-
Week 13 v2.22.2
- Optimize
.getOrCreateRoom()to only make a single round-trip to the server. - Optimize
.upsertRoom()to only make a single round-trip to the server. - Also expose
LiveObject,LiveMap, andLiveListin@liveblocks/node.
v2.22.1
-
Fix report text editor function's call. Now we report correctly
blocknoteas text editor type. -
Internal refactoring.
-
Fix: improve stack traces of REST API errors to include the original error location.
Dashboard
- BlockNote editors are now supported in a room's Text Editor view.
Documentation
- Improve guide on how to modify Liveblocks Storage from the server.
- Fix BlockNote code snippets and add info about it in the email package.
Examples
- Improve notification settings in the Next.js Starter Kit.
- Update notifications settings example to use the latest APIs.
- Optimize
Week 12 v2.22.0
-
Added pagination support to
.getInboxNotifications(). See docs. -
New method
.getOrCreate()which combines.getRoom()and.createRoom(). See docs. -
New method
.upsertRoom()which combines.updateRoom()and.createRoom(). See docs. -
New method
.iterRooms()which is like.getRooms()except pagination happens automatically. See docs. -
New method
.iterInboxNotifications()which is like.getInboxNotifications()except pagination happens automatically. See docs. -
New method
.mutateStorage()which can be used to make changes to Storage from your backend. See docs. -
New method
.massMutateStorage()which can be used to make changes to Storage for multiple rooms simultaneously. See docs. -
Updated method
.deleteRoom()to no longer throw when the room already does not exist. See docs. -
Add new icons to
<Icon.* />. -
Implement a new core logic for thread notification event.
-
Mark
htmlBodyfromprepareThreadNotificationEmailAsHtmlandreactBodyfromprepareThreadNotificationEmailAsReactas deprecated. Usebodyproperty instead.
v2.21.0
-
New package to support using BlockNote with Liveblock’s comments, mentions, and realtime collaboration out of the box.
-
Fix
markThreadAsResolvedandmarkThreadAsUnresolvedmethods not passing user ID correctly to the corresponding backend endpoints. -
Improve emoji picker’s performance, bundle size, and add a preview of the currently selected emoji.
- This is the result of us moving the emoji picker to its own package and improving it in the process. You can also combine this package with the primitives to build your own reaction picker for example.
-
Improve and fix pasting HTML into the composer.
REST API
- The Delete Room endpoint will no longer return a 404 when a room already did not exist before.
Examples
- Updated Comments primitives example to use Frimousse.
- Updated BlockNote example to use our new package.
Documentation
- Mention our latest package, Frimousse.
- Detail building a primitive emoji picker and emoji reactions.
- API reference for all new Node.js methods.
- API reference for
@liveblocks/react-blocknoite. - Updated get started guides for BlockNote.
- New BlockNote overview page.
- Updated guide on modifying Storage from the server.
Website
- New blog post: We’ve open-sourced our customizable React emoji picker.
-
Week 11 Documentation
- Fixed a bug in the interactive React tutorial and updated all demos to use Vite instead of Create React App.
- Improved guide on How to modify Liveblocks Storage from the server.
- Add more info about text editor data being permanently stored.
Website
- New blog post: How to build notifications that encourage collaboration.
- New blog post: What’s new in Liveblocks: February 2025.