@liveblocks/yjs
Advanced tools
Changelog
v1.4.8
create-liveblocks-app
--init
command.@liveblocks/client
CommentBody
-related types.@liveblocks/react-comments
.lb-root
instead of :root
to improve cascading tokens
(overriding --lb-accent
on body
for example, didn't create the expected
results), and to work within shadow DOMs.Changelog
v1.4.7
@liveblocks/react
userIds
type in ResolveUsersArgs
.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.