Changelog

Week 40

Week 40
WEEK40

v3.8.0

@liveblocks/client

  • LiveMap and LiveObject deletions now report which item got deleted in the update notifications. LiveLists already did this.
  • Support numerical operators gt, lt, gte, and lte in room.getThreads metadata query filters.

@liveblocks/react

  • Add new hook useAiChatStatus that offers a convenient way to get the current generation status for an AI chat, indicating whether the chat is idle, currently generating contents, and, if so, what type of content is currently generating.
  • Fixes an issue where useUnreadInboxNotificationsCount wasn't returning the proper count if there were more than a page of unread notifications.
  • Support numerical operators gt, lt, gte, and lte in useThreads metadata query filters.

@liveblocks/react-ui

  • Add responseTimeout property to AiChat to allow customization of the default 30 seconds timeout.
  • The title prop on AiTool now accepts ReactNode, not just strings.
  • Fix a bug where AiChat would not always scroll in the same way when sending new messages.

@liveblocks/node

  • Add new method Liveblocks.prewarmRoom(roomId, options). This method can prewarm a room from your backend, preparing it for connectivity and making the eventual connection from the frontend faster.

Website

Contributors

Contributors include:ofoucherotnviejrownymarcbouchenoirectnicholasnimeshnayaju

6 authors