Skip to content

liveblocks

v3.21.0 Breaking

This release includes 1 breaking change for platform teams planning a safe upgrade.

✓ No known CVEs patched
Read the diff → Tool health → What is this tool? →

✓ No known CVEs patched in this version

Topics

ai-agents ai-copilot collaboration commenting-system comments crdt
+10 more
liveblocks multiplayer notifications-systems presence react real-time toolkit websockets yjs yjs-provider

Affected surfaces

rbac

Summary

AI summary

Updates @liveblocks/client, @liveblocks/react, and All packages across a mixed release.

Full changelog

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.

Breaking Changes

  • Remove `type` and `kind` fields from `HistoryVersion` type in @liveblocks/client

Weekly OSS security release digest.

The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.

No spam, unsubscribe anytime.

Share this release

Track liveblocks

Get notified when new releases ship.

Sign up free

About liveblocks

Realtime infrastructure for multiplayer apps and agents

All releases →

Related context

Beta — feedback welcome: [email protected]