ChangelogWeek 39
Week 39
v3.24.2
@liveblocks/client, @liveblocks/react, and @liveblocks/node
- Fix edge cases in return types of
.toJSON(),useStorage()selectors, andgetStorageDocument(roomId, "json"):- a
LiveObjectwhose properties are all optional no longer loses its keys when nested inside another Live structure. - a value typed as
Record<string, T>no longer losesT. - an object carrying both a string index signature and named keys no longer loses the named keys.
- a
LiveObjectconverts to the same type whether you reach it directly or through a parent.
- a
@liveblocks/chat-sdk-adapter
- Allow
apiKeyandwebhookSecretto be resolved per request, and add customwebhookVerifiersupport for rotated credentials and webhook-forwarding infrastructure such as Vercel Connect.
Documentation
- Info on disconnecting users on the fly in the share dialog use case page.