Changelog

Week 27

Week 27
WEEK27

v3.21.0

All packages

  • Add support for public and private threads. Threads now have a visibility property that is "public" by default but can be set to "private" when created. Permissions can be used to decide which threads a user has access to, and threads can also be queried by their visibility to create filtered views.
  • Add scoped comments permissions such as comments:public:write and comments:private:none.

@liveblocks/client

  • Breaking: Remove type and kind fields from HistoryVersion type. The backend no longer returns these.
  • Add visibility to createThread.
  • Support querying by visibility in getThreads.

@liveblocks/react

  • Add visibility to useCreateThread.
  • Support querying by visibility in useThreads.
  • Add useHistoryVersionYjsData() hook to retrieve raw Yjs binary data for a given version. Deprecate useHistoryVersionData() in its favor.

@liveblocks/node

  • Add visibility to createThread.
  • Support querying by visibility in getThreads.

@liveblocks/react-ui

  • Add a visibility prop to Composer.
  • Prevent Composer from collapsing after focusing and blurring unless it was explicitly meant to support a collapsed state.

Documentation

Examples

Website

Contributors

Contributors include:ctnicholasofoucherotmarcbouchenoirenvie

4 authors