@liveblocks/yjs
Advanced tools
Changelog
v1.4.3
@liveblocks/react
useOthers()
that could lead to the warning "The result of
getServerSnapshot should be cached to avoid an infinite loop"@liveblocks/react-comments
Changelog
v1.4.2
@liveblocks/client
Changelog
v1.4.0
@liveblocks/yjs
@liveblocks/client
user
property to indicate the user
that sent the event:
room.subscribe("event", ({ event, user }) => {
// ^^^^ New!
});
@liveblocks/react
user
property to indicate the user
that sent the event:
useEventListener(({ event, user }) => {
// ^^^^ New!
});
useThreads
now returns an object in its
Suspense version. (const threads = useThreads()
becomes
const { threads } = useThreads()
)@liveblocks/react-comments
Comment
’s indentBody
and Thread
’s
indentCommentBody
were renamed to indentContent
and indentCommentContent
respectively. Thread
’s onResolveChange
was renamed to onResolvedChange
.Composer
.@liveblocks/node
@liveblocks/node
in
Edge runtimes.Changelog
v1.3.6
@liveblocks/client
unstable_fallbackToHTTP
client option when using any auth token type
(previously it only worked when using single-room tokens, which we no longer
recommend since 1.2)Changelog
v1.3.5
@liveblocks/react
useList()
, useMap()
, and useObject()
as deprecated in
JSDoc comments (we stopped recommending them since the release of 0.18)@liveblocks/react-comments
renderMention
,
renderLink
, etc) by a single components
prop. (e.g.
components={{ Mention, Link }}
)Composer.Suggestions
.