v1.3.2 @liveblocks/client- The client will disconnect with an error if your
/api/liveblocks-authbackend returns reused/cached tokens. It’s important that auth tokens are always freshly generated, and never get cached or reused. (The client itself will cache and reuse tokens already, so implementing additional caching in your backend isn’t needed, and could even cause reconnection issues.)
- The client will disconnect with an error if your
v1.3.1 @liveblocks/client- Actually include the new Clear History API.
@liveblocks/react- Fix missing dependency declaration.
v1.3.0 This release marks the initial release of Liveblocks Comments (private beta).
@liveblocks/client- New history API:
room.history.clear()allows you to explicitly clear the history, which resets the ability to undo beyond the current state. - Removed long deprecated methods:
others.count→ Useothers.lengthinsteadothers.toArray()→ Useothersinstead (it’s already an array)
- Deprecated the
Others<P, U>type → Usereadonly User<P, U>[]instead.
@liveblocks/react- Add support for Comments.
UserMeta["info"]can no longer be a scalar value.
@liveblocks/react-comments- Initial release.
@liveblocks/node- Add Comments helpers to Client.
- Add Comments webhook events.
- New history API:
v1.2.4 @liveblocks/node- Fixes a bug where sending an empty (or non-string) user ID with
.identifyUserwould confusingly get reported as an HTTP 503.
- Fixes a bug where sending an empty (or non-string) user ID with
v1.2.3 @liveblocks/client- Improve configuration error messages to be more user friendly.
- Fix bug where entering a new room could potentially initialize the undo stack incorrectly.
create-liveblocks-app- Fix Suspense option when specifying a framework.
- Add helpful comments by default.
v1.2.2 @liveblocks/node- Add Yjs document change event (
YDocUpdatedEvent) toWebhookHandler. - Allow
Headerobject to be passed toheadersinWebhookHandler.verifyRequest()
- Add Yjs document change event (
v1.2.1 @liveblocks/node- Fix session.allow to support path up to 128 characters to meet room id length requirement.
v1.2.0 @liveblocks/*- Support the new and improved Liveblocks authorization.
- Change client logic to stop retrying if room is full. Instead, the client will
now disconnect. To retry, call
room.reconnect()explicitly.
@liveblocks/node- Add new APIs for authorization. See our migration guide for tips on how to adopt the new style of authorizing your Liveblocks clients.
v1.1.8 - Fix a small TypeScript issue introduced in 1.1.7.
v1.1.7 @liveblocks/client- When initializing the client with a
custom auth callback,
you can now return
{ error: "forbidden", reason: ... }as the response, which the client will treat as a sign to stop retrying. The client will then disconnect from the room, instead of remaining in"connecting"status indefinitely.
@liveblocks/react- Fix a bug with
useSelf()where it would not correctly re-render after entering an empty room. It’s now consistent again withuseMyPresence().
DevTools
- Fix a bug in the Liveblocks DevTools panel where the "me" view would incorrectly stay empty after entering an empty room.
- When initializing the client with a
custom auth callback,
you can now return