Releases · liveblocks/liveblocks
3.3.4@liveblocks/client
useSendAiMessage
first and then immediately opening the<AiChat />
afterwards.@liveblocks/react-tiptap
AnchoredThreads
is@liveblocks/react-lexical
.@liveblocks/react-ui
Composer
uploading attachments on drop when showAttachments
is set to false
.@liveblocks/react-ui
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.onComposerSubmit
callback to AiChat
triggered when a new message is sent. It can also be used to customize message submission by calling useSendAiMessage
yourself.AiChat
's composer have been renamed:
AI_CHAT_COMPOSER_SEND
→ AI_COMPOSER_PLACEHOLDER
.lb-ai-chat-composer-form
→ .lb-ai-composer-form
AiChat
no longer leaks that knowledge to other instances of AiChat
that are currently mounted on screen.@liveblocks/react
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" }
.@liveblocks/react-tiptap
and @liveblocks/react-lexical
FloatingComposer
via the components={{ Composer }}
prop.@liveblocks/react-lexical
ATTACH_THREAD_COMMAND
command to manually create a thread attached to the current selection.@liveblocks/react-ui
AiChat
: better spacing and support for arbitrary3.
instead of 1.
)@liveblocks/react
useSyncStatus
returning incorrect synchronization status for Y.js@liveblocks/yjs
LiveblocksYjsProvider.getStatus()
returning incorrect synchronization@liveblocks/react-ui
AiChat
's scroll behavior when sending new messages: the chat will now scroll new messages to the top and leave enough space for responses.AiChat
’s components
prop to customize the rendering of Markdown content.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.@liveblocks/react
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.@liveblocks/node
tenantId
to identifyUser
method as an optional parameter.@liveblocks/react-ui
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.@liveblocks/react-ui
AiChat
component not scrolling instantly to the bottom on render when@liveblocks/react-ui
and @liveblocks/emails
@liveblocks/client
LiveObject.detectLargeObjects
, which can beLiveObject.detectLargeObjects = true
(default isLiveObject.set()
orLiveObject.update()
will throw as soon as you add a value that would makerender
defineAiTool()
. Previously, these errors would only be@liveblocks/client
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.@liveblocks/react
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.@liveblocks/react-ui
AiChat
are now automatically collapsed when the reasoning is done.collapsible
prop to AiTool
to control whether its content can be collapsed/expanded.InboxNotification.Inspector
component to help debugging custom inbox notifications.@liveblocks/redux
@liveblocks/react-lexical
z-index
of collaboration cursors, and make them inherit their font family instead of always using Arial.lb-lexical-cursors
class to the collaboration cursors’ container.@liveblocks/node-lexical
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4