Changelog

Week 3

Week 3
WEEK3

v3.13.2

@liveblocks/node

  • Add a new alwaysUseKnowledge option when creating or updating copilots. When this option is enabled, the copilot retrieves and uses the uploaded knowledge sources on each user query. When disabled, the copilot will retrieve the uploaded knowledge sources only when the user query relates to the knowledge prompt set on the copilot.

v3.13.1

@liveblocks/client

  • Fix issue where storage subscriptions wouldn't fire after concurrent move and set operations, causing stale LiveList state in UI.

v3.13.0

This release adds support for comment metadata, allowing you to attach custom metadata to individual comments in the same way as thread metadata.

All packages

  • Support typing comment metadata globally via the Liveblocks interface.
  • Improve CommentBody types.
  • Internal refactorings to prepare for upcoming protocol updates.

@liveblocks/client

  • Add new parameters to createThread, createComment, and editComment to attach and update comment metadata.
  • Add editCommentMetadata method to update only a commentʼs metadata.

@liveblocks/react

  • Add new parameters to useCreateThread, useCreateComment, and useEditComment to attach and update comment metadata.
  • Add useEditCommentMetadata hook to update only a commentʼs metadata.

@liveblocks/react-ui

  • Add commentMetadata prop to Composer to attach and update comment metadata.

@liveblocks/react-lexical and @liveblocks/react-tiptap

  • Add commentMetadata prop to FloatingComposer to attach and update comment metadata.

@liveblocks/react-tiptap

  • Fix Toolbar not reflecting the editorʼs current state.

@liveblocks/node

  • Add new parameters to createThread, createComment, and editComment to attach and update comment metadata.
  • Add editCommentMetadata method to update only a commentʼs metadata.
  • Add commentMetadataUpdated webhook event.

Contributors

Contributors include:nimeshnayajumarcbouchenoirenvie

3 authors