We’ve moved all webhooks to our new delivery engine, added webhook message retention settings, new notification and room APIs, and three new examples: a support inbox, a social media calendar, and a language tutoring app.
Last month, we
mentioned we were building our own webhook delivery engine, rather than relying
on a third-party service. As of mid-November, all webhooks have been delivered
by this new engine—you shouldn’t notice any difference, and you don’t need to
change any code.
The new engine gives us more control and insight into webhook delivery, which
will help us build better webhook features going forward.
When creating or editing an endpoint in the dashboard, you can now choose how
long its messages are kept, depending on your plan. Retained messages can be
inspected, resent, or recovered from the dashboard.
The appId field in the userEntered, userLeft, storageUpdated,
ydocUpdated, and roomCreated webhook payloads is deprecated, and we’ll stop
sending it starting January 1st, 2027. It holds the same value as projectId,
so if your webhook handler reads data.appId, switch to data.projectId.
You can now mark an inbox notification as read from your back end with
markInboxNotificationAsRead
in @liveblocks/node. This sets readAt to the current server time without
removing any activities.
useInboxNotifications
now returns a reload function, which syncs the current user’s inbox
notifications immediately. It’s available after the initial load succeeds, and
is throttled to once every five seconds.
This example shows how to build a shared customer support inbox with
Sync and
Resend Inboxes.
Customer emails arrive in realtime, and agents reply, leave internal notes with
@-mentions, and assign, prioritize, and tag conversations together.
Each conversation is a feed, with its status,
priority, assignee, and tags kept in the feed’s metadata, updating in realtime.
Live avatars show who is viewing or typing in each conversation.
This example shows how to build a collaborative social media calendar using
Sync and Vercel’s UI SDK. Plan
posts on a shared calendar, drag them between days, and write each one together
in a realtime composer.
Calendar state is placed into Storage, and each
post’s body is a Tiptap document backed by
LiveText. Posts support
comments, and photos and videos are uploaded as
LiveFile attachments.
This example shows how to build an online language tutoring app powered by
Sync. Tutors and students join a lesson room, where they
can read and edit PDFs, documents, and whiteboards together, and talk in a chat
alongside them.
Text documents use Tiptap with Comments, PDFs and
whiteboards are tldraw canvases synced with
Storage, and the chat is stored in
Feeds. Mention the @AI Assistant in the chat to
ask it to edit documents or draw on whiteboards. Its Presence is set from the
server, so it shows up in the avatar stack, as a caret in text documents, and as
a cursor on whiteboards.
Improved reconnection behavior on unstable networks in @liveblocks/client. A
connection that drops shortly after opening now backs off as expected, instead
of being retried almost immediately, over and over.
Added a random delay (up to 20% longer) to reconnection attempts in
@liveblocks/client, so that many clients losing their connection at the same
time don’t all reconnect at the exact same moment.
Hardened webhook signature verification in WebhookHandler.verifyRequest() in
@liveblocks/node.
Documented the Presence side effects of backgroundKeepAliveTimeout in
@liveblocks/client and @liveblocks/react.
Improved custom inbox notifications’ types, activities can now be accessed
on any inbox notification without having to narrow it first.
Fixed inbox notifications remaining visible after room access is revoked or a
room is deleted in @liveblocks/react.
Plain JSON arrays returned by .toJSON(), useStorage() selectors, and
getStorageDocument(roomId, "json") are now readonly, which may surface
TypeScript errors where your code mutates them.
“Recover failed messages” is now “Resend failed messages”, and “Test endpoint”
is now “Send test message” in the webhooks dashboard.
Resend and recover actions are now disabled for disabled webhook endpoints.
Events that happen while an endpoint is disabled are never delivered, so
enable the endpoint first, then resend its failed messages.
Users that have changed back to the Free plan can now view all previous
invoices in the dashboard.
Fixed usage chart date labels in the dashboard to use UTC.
Restructured pricing docs into new Plans,
Billing, and FAQs pages.
Our AI get started prompt now looks for a similar use case and example before
setting up Liveblocks.