ChangelogWeek 15
Week 15
v3.18.0
For full upgrade instructions, see the 3.18 upgrade guide.
@liveblocks/client
- Breaking:
useStoragenow returns plain objects forLiveMapvalues instead ofMapinstances. Legacy APIs have been removed:.toImmutable(),.toObject(),.toArray(). - New
.toJSON()on all Live structures, returning a cached JSON-compatible snapshot.JSON.stringify(root)now just works. - New
LiveObject.from(obj)to create a LiveObject from plain JSON, recursively converting nested objects/arrays to Live structures. - New
.reconcile(obj)to efficiently reconcile a LiveObject tree to match a JSON snapshot, only mutating what changed. initialStorageacceptsLiveObject.from()result directly.
@liveblocks/react-flow/node
- New
mutateFlow()API for reading and mutating React Flow data from a Node.js backend. Install vianpm i @liveblocks/react-flow, import from@liveblocks/react-flow/node.
@liveblocks/react-ui
- Add standalone
Avatarcomponent to complementAvatarStackfor more fine-grained customization. - Add
variantprop toAvatarStackto support outlined avatars.
@liveblocks/zustand and @liveblocks/redux
- Fix: Initial storage seeding no longer creates an undo frame.
- Fix: Presence updates are now batched with storage updates.
Liveblocks dev server (v1.4.0)
- Add support for
client.mutateStorage()(from@liveblocks/node)
Website
- New blog post: AI agents are becoming native users of software.
- New blog post: Introducing Feeds and APIs for Agent Workflows.
- New blog post: Multiplayer SDK for React Flow: Realtime collaboration between humans and agents.
- New blog post: Chat SDK adapter for Liveblocks.
- New blog post: Python SDK for Liveblocks.
- New blog post: Agent skills for Liveblocks.
Documentation
- Mention missing
updatedAtfield inupdateFeedMessagereference.