@liveblocks/react-ui
Advanced tools
Changelog
v3.2.1
@liveblocks/react-ui
AiChat
: better spacing and support for arbitrary
starting numbers in ordered lists. (e.g. 3.
instead of 1.
)@liveblocks/react
useSyncStatus
returning incorrect synchronization status for Y.js
provider. We now compare the hash of local and remote snapshot to check for
synchronization differences between local and remote Y.js document.@liveblocks/yjs
LiveblocksYjsProvider.getStatus()
returning incorrect synchronization
status for Y.js provider.Changelog
v3.2.0
@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.Changelog
v3.1.4
@liveblocks/react-ui
Changelog
v3.1.3
@liveblocks/react-ui
AiChat
component not scrolling instantly to the bottom on render when
messages are already loaded.Changelog
v3.1.2
@liveblocks/react-ui
and @liveblocks/emails
Changelog
v3.1.1
@liveblocks/client
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.
Changelog
v3.1.0
@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