v1.10.4 - Fix bundling issue in Vite projects, where
process is not definedcould happen
- Fix bundling issue in Vite projects, where
v1.10.3 @liveblocks/react-comments- Add support for Emoji v15.1 in emoji picker, along two additional locales:
Bengali (
bn) and Hindi (hi). - Fix bug where the
showRoomNameprop onInboxNotification.Threadwasn’t applied to notifications about mentions.
@liveblocks/react- Fix bug where removing metadata via
useEditThreadMetadatawould result in a brief flash of the old metadata after the metadata was removed optimistically.
- Add support for Emoji v15.1 in emoji picker, along two additional locales:
Bengali (
v1.10.2 @liveblocks/client- Fix bug where calling
.clone()immediately after creating a newLiveObjectcould throw an error
- Fix bug where calling
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