• Week 32
    WEEK32

    v3.3.0

    • Add maxVisibleComments prop to Thread to 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 onComposerSubmit callback to AiChat triggered when a new message is sent. It can also be used to customize message submission by calling useSendAiMessage yourself.

    • Overrides and CSS classes for AiChat's composer have been renamed:

      • Overrides: AI_CHAT_COMPOSER_SENDAI_COMPOSER_PLACEHOLDER
      • CSS classes: .lb-ai-chat-composer-form.lb-ai-composer-form
    • Fix: knowledge passed as a prop to AiChat no longer leaks that knowledge to other instances of AiChat that are currently mounted on screen.

    • Add query option to useAiChats to filter the current user’s AI chats by metadata. Supports exact matches for string values, "contains all" for string arrays, and filtering by absence using null (e.g. { metadata: { archived: null } }).

    • useSendAiMessage now 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.

    • useCreateAiChat now accepts a chat ID as a string instead of { id: "chat-id" }.

    • Allow using custom composers in FloatingComposer via the components={{ Composer }} prop.

    • Add ATTACH_THREAD_COMMAND command 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.

    Contributors

    Contributors include:ofoucherotsugardariuspierrelevaillantmarcbouchenoirenimeshnayajunvie

    6 authors

  • Week 31
    WEEK31

    v3.2.1

    • Improve Markdown lists in AiChat: better spacing and support for arbitrary starting numbers in ordered lists. (e.g. 3. instead of 1.)

    • Fix useSyncStatus returning 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

    Contributors

    Contributors include:pierrelevaillantnimeshnayajumarcbouchenoiresugardariusctnicholasstevenfabre

    6 authors

  • Week 30
    WEEK30

    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’s components prop to customize the rendering of Markdown content.

    • Add blurOnSubmit prop to Composer (also available on the Composer.Form primitive and as blurComposerOnSubmit on Thread) to control whether a composer should lose focus after being submitted.

    • useErrorListener now receives "LARGE_MESSAGE_ERROR" errors when the largeMessageStrategy option isn’t configured and a message couldn’t be sent because it was too large for WebSocket.

    • Add tenantId to identifyUser method as an optional parameter.

    Dashboard

    • Fix issue with custom nodes causing an error in Tiptap/BlockNote documents views.

    Contributors

    Contributors include:marcbouchenoirejrownyflowflorentctnicholas

    4 authors

  • Week 29
    WEEK29

    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 AiChat component 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

    Contributors

    Contributors include:nimeshnayajuctnicholas

    2 authors

  • Week 28
    WEEK28

    v3.1.2

    • Improve URL sanitization in comments.

    v3.1.1

    • Adds experimental setting LiveObject.detectLargeObjects, which can be enabled globally using LiveObject.detectLargeObjects = true (default is false). With this setting enabled, calls to LiveObject.set() or LiveObject.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 render methods defined with defineAiTool(). 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

    Contributors

    Contributors include:ctnicholasnimeshnayajunviemarcbouchenoire

    4 authors

  • Week 27
    WEEK27

    v3.1.0

    • defineAiTool()() now takes an optional enabled property. When set to false, 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.

    • RegisterAiTool now also takes an optional enabled prop. This is a convenience prop that can be used to override the tool’s enabled status directly in React.

    • Reasoning parts in AiChat are now automatically collapsed when the reasoning is done.

    • Add collapsible prop to AiTool to control whether its content can be collapsed/expanded.

    • Add InboxNotification.Inspector component to help debugging custom inbox notifications.

    • Add support for Redux v5.

    • Fix default z-index of collaboration cursors, and make them inherit their font family instead of always using Arial.

    • Add lb-lexical-cursors class to the collaboration cursors’ container.

    • Improve mentions’ serialization.

    • Improve mentions’ serialization.

    Contributors

    Contributors include:nviemarcbouchenoiresugardarius

    3 authors

  • Week 26
    WEEK26

    Dashboard

    • Fix caching issue when editing notification settings.

    Website

    Contributors

    Contributors include:pierrelevaillantstevenfabresugardarius

    3 authors

  • Week 25
    WEEK25

    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_ERROR to UPDATE_NOTIFICATION_SETTINGS_ERROR when using useNotificationSettings or useUpdateNotificationSettings.

    • Introduce pre-built components for AI Copilots: AiChat, AiTool, etc.

    • The onMentionClick prop on Thread and Comment now receives a MentionData object instead of a userId string.

    • The Mention component on the Comment.Body and Composer.Editor primitives now receives a mention prop instead of a userId one.

    • The MentionSuggestions component on the Composer.Editor primitive now receives a mentions prop instead of a userIds one, and the selectedUserId prop has been renamed to selectedMentionId.

    • Rename LiveblocksUIConfig to LiveblocksUiConfig for consistency with other Liveblocks APIs.

    • Remove deprecated htmlBody/reactBody properties from prepareThreadNotificationEmailAsHtml/prepareThreadNotificationEmailAsReact, use body instead.

    • Remove htmlContent/reactContent properties from prepareTextMentionNotificationEmailAsHtml/prepareTextMentionNotificationEmailAsReact, use content instead.

    • The prepareTextMentionNotificationEmailAsReact and prepareTextMentionNotificationEmailAsHtml functions’ returned data changed slightly:

      • The id property is now named textMentionId, it refers to the mention’s Text Mention ID, not the user ID used for the mention
      • The id property now refers to the mention’s ID, as in the user ID used for the mention
    • The element prop received by the Mention component in prepareTextMentionNotificationEmailAsReact now contains an id property instead of userId, and a new kind property to indicate the mention’s kind.

    • The getMentionedIdsFromCommentBody utility has been replaced by getMentionsFromCommentBody.

    Dashboard

    • Introduce an AI Copilots view to manage copilots and their knowledge.

    Examples

    Website

    Contributors

    Contributors include:adigauctnicholasflowflorentjrownymarcbouchenoirenimeshnayajunvieofoucherotpierrelevaillantstevenfabresugardarius

    11 authors

  • Week 22
    WEEK22
    • Fix an issue with subpath imports (e.g. @liveblocks/react/suspense) and CommonJS which could happen with certain bundlers.

    Contributors

    Contributors include:marcbouchenoire

    1 authors

  • Week 19
    WEEK19
    • Disable or hide actions in Thread and Comment components for users without permission to perform them, such as adding reactions or (un)resolving threads.

    Contributors

    Contributors include:marcbouchenoire

    1 authors

We use cookies to collect data to improve your experience on our site. Read our Privacy Policy to learn more.