Zum Inhalt springen

Liveblocks Release Notes

7 Einträge aus 1 Quelle. Zuletzt aktualisiert:

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Liveblocks

Liveblocks 3.24.3: LiveText-Konvergenz nach Reconnect korrigiert

In @liveblocks/client wurde die Konvergenz von LiveText nach einem Reconnect mit ausstehenden Änderungen (u. a. verlorene Bestätigungen, wiederholte Reconnects, gepufferte Änderungen) korrigiert, sodass Wiederherstellungs-Updates nun die Editor-Integrationen erreichen.

@liveblocks/client

  • Fix LiveText reconnect convergence with pending edits, including lost acknowledgements, repeated reconnects, and queued edits. Recovery updates now reach editor integrations instead of being filtered as local echoes.

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Liveblocks

Liveblocks 3.24.2: Korrekturen bei Rückgabetypen, Chat-SDK-Adapter erweitert

Version 3.24.2 korrigiert Sonderfälle bei den Rückgabetypen von .toJSON(), useStorage()-Selektoren und getStorageDocument(roomId, "json") und erlaubt im @liveblocks/chat-sdk-adapter die Auflösung von apiKey und webhookSecret pro Anfrage sowie einen eigenen webhookVerifier.

@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.

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Liveblocks

Liveblocks 3.24.1: neuer Hook useMutableStorage()

@liveblocks/react bietet mit useMutableStorage() einen neuen Hook für direkten Zugriff auf die veränderbare Storage-Wurzel und behebt, dass der Status "gelöst/ungelöst" von Threads unter bestimmten Bedingungen zurückgesetzt wurde.

@liveblocks/react

  • Add new hook useMutableStorage() to get direct access to the mutable Storage root. See docs.
  • Fix thread resolved/unresolved status being reverted under some conditions. (Thanks @VihaanAgarwal for the contribution!)

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Liveblocks

Liveblocks 3.24.0: LiveText (Beta) und neue Editor-Pakete

Version 3.24.0 führt LiveText (Beta) für kollaborative Textbearbeitung mit optionaler Inline-Formatierung ein, ergänzt eine source-Angabe bei Storage-Updates für Deep-Subscriber, bringt neue Pakete für CodeMirror, Lexical und ProseMirror und behebt useIsEditorReady() in @liveblocks/react-tiptap.

This release introduces LiveText (beta), a collaborative rich-text data structure for plain text with optional inline formatting.

@liveblocks/client

  • Storage updates delivered to deep subscribers now carry a source field, saying whether the change was made by this client ({ origin: "local", via: "edit" | "undo" | "redo" }) or by another one ({ origin: "remote" }), see docs.
  • Add LiveText for collaborative text editing with concurrent inserts, deletes, and formatting changes.

@liveblocks/codemirror, @liveblocks/lexical, and @liveblocks/prosemirror

  • Introduce packages for integrating CodeMirror, Lexical, and ProseMirror editors with Liveblocks Storage and LiveText.

@liveblocks/react-tiptap

  • Fix useIsEditorReady() so it correctly reports when the Tiptap editor is ready. Thanks @danilowoz for the fix.

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Liveblocks

Liveblocks 3.23.1: Versionsverlauf mit Versionen ohne Autoren

Die Versionsverlauf-Komponenten in @liveblocks/react-ui kommen besser mit Versionen ohne Autoren zurecht, etwa bei reinen Server-Änderungen, und die Overrides HISTORY_VERSION_SUMMARY_AUTHORS_LIST sowie HISTORY_VERSION_PREVIEW_AUTHORS_LIST wurden entsprechend angepasst.

@liveblocks/react-ui

  • Improve version history components for versions without authors, which can occur with server-only changes. Add HISTORY_VERSION_SUMMARY_AUTHORS_LIST and update HISTORY_VERSION_PREVIEW_AUTHORS_LIST overrides to reflect this.

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Liveblocks

Liveblocks 3.23.0: LiveFile für Dateien im Storage

Version 3.23.0 führt mit LiveFile eine neue Datenstruktur zum Speichern von Dateien wie Bildern und Videos im Storage eines Rooms ein, inklusive Upload- und URL-Funktionen in Client, React, Node und Python SDK sowie Upload von Kommentaranhängen.

This release introduces LiveFile: a new data structure to store files such as images and videos in a room's Storage tree.

@liveblocks/client

  • Add room.uploadFile() to upload a file and return a LiveFile.
  • Add room.getFileUrl() to get access to a LiveFile.

@liveblocks/react

  • Add useUploadFile() to upload a file and return a LiveFile.
  • Add useFileUrl() to get access to a LiveFile.

@liveblocks/node

  • Add uploadFile() to upload a file and return a LiveFile.
  • Add getFileUrl() to get access to a LiveFile.
  • Add uploadAttachment() to upload comment attachments, combined with attachmentIds params in createThread(), createComment(), and editComment().

Python SDK

  • Add methods to upload Storage files for LiveFile, retrieve their download URLs, and handle multipart uploads.
  • Add methods to upload comment attachments, including multipart uploads.

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Liveblocks

Liveblocks 3.22.0: Versionsverlauf für Storage

Version 3.22.0 bringt Versionsverlauf für Storage, sodass eine Version nun Storage und Yjs-Dokumente sichert, mit neuen React-Hooks zum Auflisten, Ansehen, Wiederherstellen und Löschen von Versionen sowie passenden Methoden in @liveblocks/node und im Python SDK.

@liveblocks/react

This release adds version history support for Storage: a version now snapshots both the room's Storage and Yjs documents (previously Yjs only).

  • Creating a version now also snapshots Storage, not just Yjs, see docs.
  • useHistoryVersions() lists the room's versions. Each has a vh_xxx id, see docs.
  • useHistoryVersionStorageData("vh_xxx") returns that version's Storage as a read-only LiveObject so you can visualize or diff it manually, see docs.
  • useRestoreToStorageVersion("vh_xxx") restores the room's Storage to that version, as a single undoable change, see docs.
  • useDeleteHistoryVersion() returns deleteHistoryVersion("vh_xxx") to permanently delete a version, see docs.

@liveblocks/node and Python SDK

  • Add methods for version history to list room versions, create a version snapshot, and delete a version.

Originalquelle(öffnet in neuem Tab)Problem melden