Skip to content

Releases: liveblocks/liveblocks

3.10.1

13 Nov 18:58

Choose a tag to compare

@liveblocks/lexical

  • Fix a bug where a fresh provider is required by Lexical in order to initialize
    properly by always requieting a new provider in the factory function

3.10.0

04 Nov 12:41

Choose a tag to compare

@liveblocks/client

  • Tweak reconnection logic to not retry on specific 400 level error codes

@liveblocks/node

  • Prevents certain 400 level errors from being reported as a 403

@liveblocks/react-ui

  • Add dropdownItems prop to Comment (commentDropdownItems prop on Thread) to allow customizing comments’ dropdown items in the default components
  • Fix scroll issues in some scenarios where AiChat would be rendered but hidden

@liveblocks/react-tiptap

  • Support for Tiptap v3

3.9.2

30 Oct 11:44

Choose a tag to compare

@liveblocks/node

  • Update type definitions for provider models to support newer Claude variants:
    Opus 4.1, Sonnet 4.5, and Haiku 4.5.

3.9.1

22 Oct 00:42

Choose a tag to compare

@liveblocks/node

  • Update type definitions for provider models to support GPT-5 variants.

3.9.0

16 Oct 19:24

Choose a tag to compare

@liveblocks/react-ui

  • Add support for web search to <AiChat /> component.
  • Add showSources, showRetrievals and showReasoning props to <AiChat />
    component to determine how sources, retrievals and reasoning are displayed
    respectively.
  • Disable AI chat composers when AI service is not available.

@liveblocks/react

  • Add query filter subscribed on the useThreads hook.
  • Add useUrlMetadata hook to get metadata for a given URL.
  • Expose disconnected status in useAiChatStatus to indicate when AI service
    is not available.

@liveblocks/client

  • Add query filter subscribed on the room.getThreads method.

@liveblocks/node

  • Update createAiCopilot and updateAiCopilot to include web search in
    provider options for OpenAI and Anthropic.
  • Remove all schema validation related client methods that should no longer be
    used. Schema validation was sunsetted on May 1st, 2025.

3.8.1

07 Oct 20:32

Choose a tag to compare

@liveblocks/react

  • Add chatId prop to RegisterAiKnowledge to scope knowledge to a specific
    chat, similar to RegisterAiTool. This is the same as using the knowledge
    prop on AiChat.
  • Fix issue where useAiChat() didn't re-render correctly when chat title gets
    updated.

@liveblocks/node

  • Fix issue where tenantId was not being passed to the request when using
    Liveblocks.createRoom().
  • Add comments:write to the list of possible room permissions.

3.8.0

29 Sep 15:01

Choose a tag to compare

@liveblocks/client

  • LiveMap and LiveObject deletions now report which item got deleted in the update notifications. LiveLists already did this.
  • Support numerical operators gt, lt, gte, and lte in room.getThreads metadata query filters.

@liveblocks/react

  • Add new hook useAiChatStatus that offers a convenient way to get the current generation status for an AI chat, indicating whether the chat is idle, currently generating contents, and, if so, what type of content is currently generating.
  • Fixes an issue where useUnreadInboxNotificationsCount wasn't returning the proper count if there were more than a page of unread notifications.
  • Support numerical operators gt, lt, gte, and lte in useThreads metadata query filters.

@liveblocks/react-ui

  • Add responseTimeout property to AiChat to allow customization of the default 30 seconds timeout.
  • The title prop on AiTool now accepts ReactNode, not just strings.
  • Fix a bug where AiChat would not always scroll in the same way when sending new messages.

@liveblocks/node

  • Add new method Liveblocks.prewarmRoom(roomId, options). This method can prewarm a room from your backend, preparing it for connectivity and making the eventual connection from the frontend faster.

3.7.1

11 Sep 21:44

Choose a tag to compare

@liveblocks/react

  • Add query filters roomId and kind on the useUnreadInboxNotificationsCount hook.

3.7.0

11 Sep 15:20

Choose a tag to compare

This release introduces group mentions (e.g. @engineering) across all packages and first-class support for tenants. Learn more about group mentions and tenants in the docs.

@liveblocks/client

  • Add new resolveGroupsInfo resolver to provide information about groups (e.g. name, avatar, etc) similar to resolveUsers.
  • Support returning group mention suggestions in resolveMentionSuggestions.
  • Support group mentions in stringifyCommentBody, it now accepts a resolveGroupsInfo option that passes the results to mentions as group.
  • Add query filters roomId and kind on the getInboxNotifications method.

@liveblocks/react

  • Add useGroupInfo hook to use resolveGroupsInfo in React, same as useUser for resolveUsers.
  • Add query filters roomId and kind on the useInboxNotifications hook.

@liveblocks/react-ui

  • Support group mentions in default components (mentions suggestions dropdowns, Thread, Composer, InboxNotification, etc).

@liveblocks/react-lexical, @liveblocks/react-tiptap, and @liveblocks/node-lexical

  • Support group mentions in text editors and comments-related components.

@liveblocks/node-lexical and @liveblocks/node-prosemirror

  • Support group mentions in text editors.

@liveblocks/node

  • Add methods to manage groups on Liveblocks (e.g. createGroup, getUserGroups).
  • Add tenantId parameters to methods that need it when using tenants.
  • Mark getThreadParticipants as deprecated, use thread subscriptions or getMentionsFromCommentBody instead.
  • Support group mentions in stringifyCommentBody, it now accepts a resolveGroupsInfo option that passes the results to mentions as group.

@liveblocks/emails

  • Support group mentions in email notifications helpers. These functions now accept a resolveGroupsInfo option that passes the results to mentions as group.

3.6.2

10 Sep 14:50

Choose a tag to compare

@liveblocks/node

  • Rename budgetToken to budgetTokens in AnthropicProviderOptions.