v1.9.8 @liveblocks/client- Fix race condition in client that could leave zombie WebSocket connections open indefinitely in a small edge case. (thanks for reporting, @dev-badace)
@liveblocks/react- Fix type definitions of
useOthersListenerhook. - Fix type definitions of
useErrorListenerhook.
@liveblocks/yjs- Emit update events from awareness.
- Fix several awareness bugs.
v1.9.7 @liveblocks/node- Expose new
nextCursorfield in Get Rooms API responses, to make pagination easier to work with - Update TypeScript types for some responses
create-liveblocks-app- Adds a fallback for passing data from Safari to the console.
- Expose new
v1.9.6 @liveblocks/react- Fix certain Next.js sites not building correctly due to improper
useSyncExternalStoreimport
- Fix certain Next.js sites not building correctly due to improper
v1.9.5 @liveblocks/react-comments- Fix mention suggestions not appearing.
v1.9.4 @liveblocks/react- Fix polling on
useThreadshook.
- Fix polling on
v1.9.3 @liveblocks/react- Fix a bug that prevented comments from being used across multiple rooms.
@liveblocks/node- Fix
getRooms()not throwingLiveblocksErrorwhen invalid response was received.
v1.9.2 @liveblocks/react-comments- Add
portalContainerprop toCommentsConfigto customize where floating elements (e.g. tooltips, dropdowns, etc) are portaled into.
- Add
v1.9.1 @liveblocks/node- Fixes the signature and behavior of the
Liveblocks.sendYjsBinaryUpdate()API. It now takes a Yjs encoded update (Uint8Array) directly.
- Fixes the signature and behavior of the
v1.9.0 @liveblocks/node- Add the Comments write REST APIs as fully typed methods. (includes
createThread,editThreadMetadata,createComment,editComment,deleteComment,addCommentReaction, andremoveCommentReactionmethods) - Fix the return type of
getActiveUsersto match the data returned from the endpoint.
@liveblocks/react- Add
queryoption touseThreadsto filter threads based on their metadata.
@liveblocks/react-comments- Add support for exit animations to
ComposerSuggestions.
- Add the Comments write REST APIs as fully typed methods. (includes
v1.8.2 @liveblocks/react- Improve Comments revalidation when losing network or staying in the background.
- Improve error handling of Comments mutations. (e.g. thread creation, comment creation, etc.)
@liveblocks/client- Export the
CommentBodyutilities added to@liveblocks/nodein v1.8.0. - Harmonize exports with
@liveblocks/node. (addedIUserInfoandPlainLsonObject)
@liveblocks/node- Harmonize exports with
@liveblocks/client. (addedCommentBody,CommentBodyBlockElement,CommentBodyElement,CommentBodyInlineElement,CommentBodyLink,CommentBodyMention,CommentBodyParagraph,CommentBodyText,JsonArray,JsonScalar,Lson,LsonObject, andUser)