v1.10.1 @liveblocks/client- Fix bug where the client’s backoff delay would not be respected correctly in a small edge case.
@liveblocks/react-comments- Fix date localization in
InboxNotification. - Add vendor prefixes to more CSS properties within the default styles.
@liveblocks/react- Added error retrying to
useThreads,useRoomNotificationSettings, anduseInboxNotificationsduring initial fetching.
v1.10.0 This release introduces Notifications (and unread indicators) for Comments.
create-liveblocks-app- Add
createLiveblocksContextand Notifications to--init. - Move resolver options from
createRoomContexttocreateClientand addresolveRoomsInfoto the list of resolvers.
@liveblocks/client- Add options to
createClient:resolveUsers,resolveMentionSuggestions(both were previously defined oncreateRoomContextfrom@liveblocks/react), and the newresolveRoomsInfo.
@liveblocks/react- Add new
LiveblocksContextaccessible withcreateLiveblocksContext, similarly tocreateRoomContext. This context is meant to live at the root since it handles things outside of rooms, like notifications. It containsLiveblocksProvider,useUser,useRoomInfo,useInboxNotifications,useUnreadInboxNotificationsCount,useMarkInboxNotificationAsRead, anduseMarkAllInboxNotificationsAsRead. - Add new hooks to
createRoomContext:useMarkThreadAsRead,useThreadSubscription,useRoomInfo,useRoomNotificationSettings, anduseUpdateRoomNotificationSettings. - Make some hooks usable interchangeably between
createLiveblocksContextandcreateRoomContext:useUser, anduseRoomInfo.
@liveblocks/react-comments- Add new default components:
InboxNotificationandInboxNotificationList. - Add unread indicators to the default
Threadcomponent. - Support "@" in mentions. (e.g.
@user@email.comis now a valid mention and will triggerresolveMentionSuggestionswith"user@email.com")
@liveblocks/node- Add the Notifications REST APIs as fully typed methods. (includes
getInboxNotification,getRoomNotificationSettings,updateRoomNotificationSettings, anddeleteRoomNotificationSettingsmethods) - Add notification webhook event:
NotificationEvent.
- Add
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