v0.19.11 @liveblocks/nodeWebhookHandlernow handlesRoomCreatedEventandRoomDeletedEvent
v0.19.10 @liveblocks/client- Allow
createClientthrottleoption to go as low as 16ms.
- Allow
v0.19.9 @liveblocks/client- Adds a
WebhookHandlerclassnew WebhookHandler(secret).verifyRequest({ rawBody, headers })can be used to verify event requests from Liveblock's webhook functionality. It also provides fully typedWebhookEvents.- Check out our Webhooks guide for more details
- Adds a
v0.19.8 - Fixes a bug where history didn't reliably undo
LiveObjectkey set changes if any pending local changes existed on that key. - Fixes a bug where changes performed inside
room.batchwere incorrectly ordered inside the history resulting in unexpected undo behavior in some cases. - Fixes a bug where under some circumstances the Liveblocks client could get stuck in a "synchronizing" state indefinitely
- Expose
JsonArrayandJsonScalartypes publicly
- Fixes a bug where history didn't reliably undo
v0.19.7 Fix nested storage event handling issue.
v0.19.6 Support authentication with cookies.
v0.19.5 Export the
StorageStatustype (introduced with 0.19.3).v0.19.4 Fix CORS issue.
v0.19.3 In @liveblocks/client:
Room.getStorageStatus
Get the storage status.
not-loaded: Initial state when entering the room.loading: Once the storage has been requested via room.getStorage().synchronizing: When some local updates have not been acknowledged by Liveblocks servers.synchronized: Storage is in sync with Liveblocks servers.
Room.subscribe("storage-status", status => )
Subscribe to storage status changes.
Returns an unsubscribe function.
Room.reconnect
Close the room connection and try to reconnect.
Internal changes
- Add support for the upcoming Liveblocks browser extension
v0.19.2 Fixes some internal type definitions.