Changelog

Week 39

Week 39
WEEK39

v3.24.2

@liveblocks/client, @liveblocks/react, and @liveblocks/node

  • Fix edge cases in return types of .toJSON(), useStorage() selectors, and getStorageDocument(roomId, "json"):
    • a LiveObject whose properties are all optional no longer loses its keys when nested inside another Live structure.
    • a value typed as Record<string, T> no longer loses T.
    • an object carrying both a string index signature and named keys no longer loses the named keys.
    • a LiveObject converts to the same type whether you reach it directly or through a parent.

@liveblocks/chat-sdk-adapter

  • Allow apiKey and webhookSecret to be resolved per request, and add custom webhookVerifier support 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.

Contributors

Contributors include:nviebensabicctnicholas

3 authors