@liveblocks/yjs
Advanced tools
Changelog
v1.4.6
@liveblocks/react
useStatus
return value on SSR responses.resolveUser
option in createRoomContext
is now
called resolveUsers
and it receives a list of user IDs (via the userIds
property, replacing userId
) instead of a single one. Instead of returning
user info of a single user ID, this function will now expect a list of users'
info matching the provided list of user IDs.ResolveUserOptions
and
ResolveMentionSuggestionsOptions
types were renamed to ResolveUsersArgs
and ResolveMentionSuggestionsArgs
respectively.resolveUsers
and resolveMentionSuggestions
now accept synchronous
functions.resolveUsers
now also provides the current room ID.editThreadMetadata
now correctly allows null
to be set on a property.
Doing so deletes existing metadata properties.@liveblocks/react-comments
ComposerSubmitComment
type from root too, in addition to
/primitives
.onThreadDelete
to Thread
.metadata
to Composer
to attach custom metadata to new threads.ThreadMetadata
type on Thread
and
Composer
.Comment
’s onEdit
and onDelete
were renamed to
onEditComment
and onDeleteComment
respectively.Changelog
v1.4.5
@liveblocks/react
createThread
not creating valid comment.@liveblocks/node
Changelog
v1.4.4
@liveblocks/react
removeReaction
not removing reactions which led to reactions displaying
a count of 0.@liveblocks/react-comments
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