Week 33 v3.3.4
-
Fix race condition where AI tools were not always executing. This could happen when using
useSendAiMessagefirst and then immediately opening the<AiChat />afterwards. -
Scroll thread annotations into view when a thread in
AnchoredThreadsis selected, similarly to@liveblocks/react-lexical.
v3.3.1
- Fix
Composeruploading attachments on drop whenshowAttachmentsis set tofalse.
All versions
- Fix attachment names showing URL-encoded characters. (e.g.
a%20file.txtinstead ofa file.txt)
Infrastructure
- Fixed a bug that caused unreliable storage updates under high concurrency.
- Fixed an issue that could cause LLM responses to appear to "hang" if the token limit got exceeded during the response generation. If this now happens, the response will indicate a clear error to the user.
Dashboard
- New knowledge prompt option when configuring AI copilots, allowing you to customize when back-end knowledge is fetched.
Documentation
- More info on styling AI chat components.
- Disambiguate semantics for
LiveList.delete().
-
Week 32 v3.3.0
-
Add
maxVisibleCommentsprop toThreadto control the maximum number of comments to show. When comments are hidden, a "Show more replies" button is shown to allow users to expand the thread. -
Add
onComposerSubmitcallback toAiChattriggered when a new message is sent. It can also be used to customize message submission by callinguseSendAiMessageyourself. -
Overrides and CSS classes for
AiChat's composer have been renamed:- Overrides:
AI_CHAT_COMPOSER_SEND→AI_COMPOSER_PLACEHOLDER - CSS classes:
.lb-ai-chat-composer-form→.lb-ai-composer-form
- Overrides:
-
Fix: knowledge passed as a prop to
AiChatno longer leaks that knowledge to other instances ofAiChatthat are currently mounted on screen. -
Add
queryoption touseAiChatsto filter the current user’s AI chats by metadata. Supports exact matches for string values, "contains all" for string arrays, and filtering by absence usingnull(e.g.{ metadata: { archived: null } }). -
useSendAiMessagenow accepts passing the chat ID and/or options to the function rather than the hook. This can be useful in dynamic scenarios where the chat ID might not be known when calling the hook for example. -
useCreateAiChatnow accepts a chat ID as a string instead of{ id: "chat-id" }. -
Allow using custom composers in
FloatingComposervia thecomponents={{ Composer }}prop. -
Add
ATTACH_THREAD_COMMANDcommand to manually create a thread attached to the current selection.
Dashboard
- Support SAML Single Sign-On for enterprise customers.
- Allow editing first and last name in personal settings.
-
Week 31 v3.2.1
-
Improve Markdown lists in
AiChat: better spacing and support for arbitrary starting numbers in ordered lists. (e.g.3.instead of1.) -
Fix
useSyncStatusreturning incorrect synchronization status for Yjs provider. We now compare the hash of local and remote snapshot to check for synchronization differences between local and remote Yjs document. -
Fix
LiveblocksYjsProvider.getStatus()returning incorrect synchronization status for Yjs provider.
Dashboard
- Add MAU breakdown to the historical usage table on the “Billing & usage” page (MAU used / Non-billed MAU).
- Support OpenAI compatible AI models in AI Copilots.
- Support Gemini 2.5 Pro and Gemini 2.5 Flash Thinking models in AI Copilots and remove support for the corresponding preview models.
Doocumentation
-
Week 30 v3.2.0
-
Improve
AiChat's scroll behavior when sending new messages: the chat will now scroll new messages to the top and leave enough space for responses. -
Expose Markdown components in
AiChat’scomponentsprop to customize the rendering of Markdown content. -
Add
blurOnSubmitprop toComposer(also available on theComposer.Formprimitive and asblurComposerOnSubmitonThread) to control whether a composer should lose focus after being submitted. -
useErrorListenernow receives"LARGE_MESSAGE_ERROR"errors when thelargeMessageStrategyoption isn’t configured and a message couldn’t be sent because it was too large for WebSocket. -
Add
tenantIdtoidentifyUsermethod as an optional parameter.
Dashboard
- Fix issue with custom nodes causing an error in Tiptap/BlockNote documents views.
-
Week 29 v3.1.4
- Fix copilot id not being passed to 'set-tool-call-result' command that is dispatched when a tool call is responded to. Previously, we were using the default copilot to generate messages from the tool call result.
v3.1.3
- Fix
AiChatcomponent not scrolling instantly to the bottom on render when messages are already loaded.
Dashboard
- Added the ability to use website crawls and sitemaps as knowledge sources for your AI copilot.
Website
- New blog post: What’s new in Liveblocks: June 2025.
Week 28 v3.1.2
- Improve URL sanitization in comments.
v3.1.1
- Adds experimental setting
LiveObject.detectLargeObjects, which can be enabled globally usingLiveObject.detectLargeObjects = true(default is false). With this setting enabled, calls toLiveObject.set()orLiveObject.update()will throw as soon as you add a value that would make the total size of the LiveObject exceed the platform limit of 128 kB. The benefit is that you get an early error instead of a silent failure, but the downside is that this adds significant runtime overhead if your application makes many LiveObject mutations. - Fix: also display errors in production builds when they happen in
rendermethods defined withdefineAiTool(). Previously, these errors would only be shown during development. - Fix an issue with the render component of tool calls not being displayed correctly when the tool call signal was read before it was registered.
Examples
- New example: AI Support Chat.
Week 27 v3.1.0
-
defineAiTool()()now takes an optionalenabledproperty. When set tofalse, the tool will not be made available to the AI copilot for new/future chat messages, but still allow existing tool invocations to be rendered that are part of the historic chat record. -
RegisterAiToolnow also takes an optionalenabledprop. This is a convenience prop that can be used to override the tool’senabledstatus directly in React. -
Reasoning parts in
AiChatare now automatically collapsed when the reasoning is done. -
Add
collapsibleprop toAiToolto control whether its content can be collapsed/expanded. -
Add
InboxNotification.Inspectorcomponent to help debugging custom inbox notifications. -
Add support for Redux v5.
-
Fix default
z-indexof collaboration cursors, and make them inherit their font family instead of always using Arial. -
Add
lb-lexical-cursorsclass to the collaboration cursors’ container. -
Improve mentions’ serialization.
-
Improve mentions’ serialization.
-
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.