Releases: liveblocks/liveblocks
Releases · liveblocks/liveblocks
3.10.1
3.10.0
@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
dropdownItemsprop toComment(commentDropdownItemsprop onThread) to allow customizing comments’ dropdown items in the default components - Fix scroll issues in some scenarios where
AiChatwould be rendered but hidden
@liveblocks/react-tiptap
- Support for Tiptap v3
3.9.2
@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
@liveblocks/node
- Update type definitions for provider models to support GPT-5 variants.
3.9.0
@liveblocks/react-ui
- Add support for web search to
<AiChat />component. - Add
showSources,showRetrievalsandshowReasoningprops 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
subscribedon theuseThreadshook. - Add
useUrlMetadatahook to get metadata for a given URL. - Expose
disconnectedstatus inuseAiChatStatusto indicate when AI service
is not available.
@liveblocks/client
- Add query filter
subscribedon theroom.getThreadsmethod.
@liveblocks/node
- Update
createAiCopilotandupdateAiCopilotto 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
@liveblocks/react
- Add
chatIdprop toRegisterAiKnowledgeto scope knowledge to a specific
chat, similar toRegisterAiTool. This is the same as using theknowledge
prop onAiChat. - Fix issue where
useAiChat()didn't re-render correctly when chat title gets
updated.
@liveblocks/node
- Fix issue where
tenantIdwas not being passed to the request when using
Liveblocks.createRoom(). - Add
comments:writeto the list of possible room permissions.
3.8.0
@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, andlteinroom.getThreadsmetadata query filters.
@liveblocks/react
- Add new hook
useAiChatStatusthat 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
useUnreadInboxNotificationsCountwasn't returning the proper count if there were more than a page of unread notifications. - Support numerical operators
gt,lt,gte, andlteinuseThreadsmetadata query filters.
@liveblocks/react-ui
- Add
responseTimeoutproperty toAiChatto allow customization of the default 30 seconds timeout. - The
titleprop onAiToolnow acceptsReactNode, not just strings. - Fix a bug where
AiChatwould 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
@liveblocks/react
- Add query filters
roomIdandkindon theuseUnreadInboxNotificationsCounthook.
3.7.0
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
resolveGroupsInforesolver to provide information about groups (e.g.name,avatar, etc) similar toresolveUsers. - Support returning group mention suggestions in
resolveMentionSuggestions. - Support group mentions in
stringifyCommentBody, it now accepts aresolveGroupsInfooption that passes the results to mentions asgroup. - Add query filters
roomIdandkindon thegetInboxNotificationsmethod.
@liveblocks/react
- Add
useGroupInfohook to useresolveGroupsInfoin React, same asuseUserforresolveUsers. - Add query filters
roomIdandkindon theuseInboxNotificationshook.
@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
tenantIdparameters to methods that need it when using tenants. - Mark
getThreadParticipantsas deprecated, use thread subscriptions orgetMentionsFromCommentBodyinstead. - Support group mentions in
stringifyCommentBody, it now accepts aresolveGroupsInfooption that passes the results to mentions asgroup.
@liveblocks/emails
- Support group mentions in email notifications helpers. These functions now accept a
resolveGroupsInfooption that passes the results to mentions asgroup.
3.6.2
@liveblocks/node
- Rename
budgetTokentobudgetTokensinAnthropicProviderOptions.