@liveblocks/node
Advanced tools
Changelog
v2.17.0
@liveblocks/client
largeMessageStrategy
to allow specifying
the preferred strategy for dealing with messages that are too large to send
over WebSockets. There now is a choice between:
default
Don’t send anything, but log the error to the console.split
Split the large message up into smaller chunks (at the cost of
sacrificing atomicity). Thanks @adam-subframe for the contribution!experimental-fallback-to-http
Send the message over HTTP instead of
WebSocket.unstable_fallbackToHTTP
experimental flag (please set
largeMessageStrategy="experimental-fallback-to-http"
instead).@liveblocks/react
<LiveblocksProvider largeMessageStrategy="..." />
prop to
LiveblocksProvider. See above for possible options.@liveblocks/react-ui
Composer
is unmounted during its onComposerSubmit
callback.<Icon.* />
.@liveblocks/react-tiptap
This release adds components and utilities to add an AI toolbar to your text editor, available in private beta.
ai
option to useLiveblocksExtension
to enable (and configure) it.<AiToolbar />
component. (with <AiToolbar.Suggestion />
,
<AiToolbar.SuggestionsSeparator />
, etc)Toolbar
and FloatingToolbar
when the ai
option
is enabled.askAi
Tiptap command to manually open the toolbar, it can also be
invoked with a prompt to directly start the request when opening the toolbar.
(e.g. editor.commands.askAi("Explain this text")
)Changelog
v2.16.2
@liveblocks/react
@liveblocks/zustand
set()
is used
(thanks @hans-lizihan)